Class GrantName (0.3.0)

public class GrantName implements ResourceName

Inheritance

Object > GrantName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String entitlement, String grant)

public static String format(String project, String location, String entitlement, String grant)
Parameters
Name Description
project String
location String
entitlement String
grant String
Returns
Type Description
String

formatFolderLocationEntitlementGrantName(String folder, String location, String entitlement, String grant)

public static String formatFolderLocationEntitlementGrantName(String folder, String location, String entitlement, String grant)
Parameters
Name Description
folder String
location String
entitlement String
grant String
Returns
Type Description
String

formatOrganizationLocationEntitlementGrantName(String organization, String location, String entitlement, String grant)

public static String formatOrganizationLocationEntitlementGrantName(String organization, String location, String entitlement, String grant)
Parameters
Name Description
organization String
location String
entitlement String
grant String
Returns
Type Description
String

formatProjectLocationEntitlementGrantName(String project, String location, String entitlement, String grant)

public static String formatProjectLocationEntitlementGrantName(String project, String location, String entitlement, String grant)
Parameters
Name Description
project String
location String
entitlement String
grant String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static GrantName.Builder newBuilder()
Returns
Type Description
GrantName.Builder

newFolderLocationEntitlementGrantBuilder()

public static GrantName.FolderLocationEntitlementGrantBuilder newFolderLocationEntitlementGrantBuilder()
Returns
Type Description
GrantName.FolderLocationEntitlementGrantBuilder

newOrganizationLocationEntitlementGrantBuilder()

public static GrantName.OrganizationLocationEntitlementGrantBuilder newOrganizationLocationEntitlementGrantBuilder()
Returns
Type Description
GrantName.OrganizationLocationEntitlementGrantBuilder

newProjectLocationEntitlementGrantBuilder()

public static GrantName.Builder newProjectLocationEntitlementGrantBuilder()
Returns
Type Description
GrantName.Builder

of(String project, String location, String entitlement, String grant)

public static GrantName of(String project, String location, String entitlement, String grant)
Parameters
Name Description
project String
location String
entitlement String
grant String
Returns
Type Description
GrantName

ofFolderLocationEntitlementGrantName(String folder, String location, String entitlement, String grant)

public static GrantName ofFolderLocationEntitlementGrantName(String folder, String location, String entitlement, String grant)
Parameters
Name Description
folder String
location String
entitlement String
grant String
Returns
Type Description
GrantName

ofOrganizationLocationEntitlementGrantName(String organization, String location, String entitlement, String grant)

public static GrantName ofOrganizationLocationEntitlementGrantName(String organization, String location, String entitlement, String grant)
Parameters
Name Description
organization String
location String
entitlement String
grant String
Returns
Type Description
GrantName

ofProjectLocationEntitlementGrantName(String project, String location, String entitlement, String grant)

public static GrantName ofProjectLocationEntitlementGrantName(String project, String location, String entitlement, String grant)
Parameters
Name Description
project String
location String
entitlement String
grant String
Returns
Type Description
GrantName

parse(String formattedString)

public static GrantName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
GrantName

parseList(List<String> formattedStrings)

public static List<GrantName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<GrantName>

toStringList(List<GrantName> values)

public static List<String> toStringList(List<GrantName> values)
Parameter
Name Description
values List<GrantName>
Returns
Type Description
List<String>

Constructors

GrantName() (deprecated)

protected GrantName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getEntitlement()

public String getEntitlement()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getFolder()

public String getFolder()
Returns
Type Description
String

getGrant()

public String getGrant()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getOrganization()

public String getOrganization()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public GrantName.Builder toBuilder()
Returns
Type Description
GrantName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides