public class ApprovalRequestName implements ResourceName
Inheritance
Object >
ApprovalRequestName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String project, String approvalRequest)
Parameters
Returns
public static String formatFolderApprovalRequestName(String folder, String approvalRequest)
Parameters
Returns
public static String formatOrganizationApprovalRequestName(String organization, String approvalRequest)
Parameters
Returns
public static String formatProjectApprovalRequestName(String project, String approvalRequest)
Parameters
Returns
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter
Name | Description |
formattedString | String
|
Returns
newBuilder()
public static ApprovalRequestName.Builder newBuilder()
Returns
newFolderApprovalRequestBuilder()
public static ApprovalRequestName.FolderApprovalRequestBuilder newFolderApprovalRequestBuilder()
Returns
newOrganizationApprovalRequestBuilder()
public static ApprovalRequestName.OrganizationApprovalRequestBuilder newOrganizationApprovalRequestBuilder()
Returns
newProjectApprovalRequestBuilder()
public static ApprovalRequestName.Builder newProjectApprovalRequestBuilder()
Returns
of(String project, String approvalRequest)
public static ApprovalRequestName of(String project, String approvalRequest)
Parameters
Returns
ofFolderApprovalRequestName(String folder, String approvalRequest)
public static ApprovalRequestName ofFolderApprovalRequestName(String folder, String approvalRequest)
Parameters
Returns
ofOrganizationApprovalRequestName(String organization, String approvalRequest)
public static ApprovalRequestName ofOrganizationApprovalRequestName(String organization, String approvalRequest)
Parameters
Returns
ofProjectApprovalRequestName(String project, String approvalRequest)
public static ApprovalRequestName ofProjectApprovalRequestName(String project, String approvalRequest)
Parameters
Returns
parse(String formattedString)
public static ApprovalRequestName parse(String formattedString)
Parameter
Name | Description |
formattedString | String
|
Returns
parseList(List<String> formattedStrings)
public static List<ApprovalRequestName> parseList(List<String> formattedStrings)
Parameter
Returns
toStringList(List<ApprovalRequestName> values)
public static List<String> toStringList(List<ApprovalRequestName> values)
Parameter
Returns
Constructors
ApprovalRequestName()
protected ApprovalRequestName()
Methods
equals(Object o)
public boolean equals(Object o)
Parameter
Returns
Overrides
getApprovalRequest()
public String getApprovalRequest()
Returns
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter
Name | Description |
fieldName | String
|
Returns
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
Returns
getFolder()
public String getFolder()
Returns
getOrganization()
public String getOrganization()
Returns
getProject()
public String getProject()
Returns
hashCode()
Returns
Overrides
toBuilder()
public ApprovalRequestName.Builder toBuilder()
Returns
toString()
Returns
Overrides