public class LinkName implements ResourceName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String project, String location, String bucket, String link)
Returns |
Type |
Description |
String |
|
public static String formatBillingAccountLocationBucketLinkName(String billingAccount, String location, String bucket, String link)
Returns |
Type |
Description |
String |
|
public static String formatFolderLocationBucketLinkName(String folder, String location, String bucket, String link)
Returns |
Type |
Description |
String |
|
public static String formatOrganizationLocationBucketLinkName(String organization, String location, String bucket, String link)
Returns |
Type |
Description |
String |
|
public static String formatProjectLocationBucketLinkName(String project, String location, String bucket, String link)
Returns |
Type |
Description |
String |
|
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter |
Name |
Description |
formattedString |
String
|
newBillingAccountLocationBucketLinkBuilder()
public static LinkName.BillingAccountLocationBucketLinkBuilder newBillingAccountLocationBucketLinkBuilder()
newBuilder()
public static LinkName.Builder newBuilder()
newFolderLocationBucketLinkBuilder()
public static LinkName.FolderLocationBucketLinkBuilder newFolderLocationBucketLinkBuilder()
newOrganizationLocationBucketLinkBuilder()
public static LinkName.OrganizationLocationBucketLinkBuilder newOrganizationLocationBucketLinkBuilder()
newProjectLocationBucketLinkBuilder()
public static LinkName.Builder newProjectLocationBucketLinkBuilder()
of(String project, String location, String bucket, String link)
public static LinkName of(String project, String location, String bucket, String link)
ofBillingAccountLocationBucketLinkName(String billingAccount, String location, String bucket, String link)
public static LinkName ofBillingAccountLocationBucketLinkName(String billingAccount, String location, String bucket, String link)
ofFolderLocationBucketLinkName(String folder, String location, String bucket, String link)
public static LinkName ofFolderLocationBucketLinkName(String folder, String location, String bucket, String link)
ofOrganizationLocationBucketLinkName(String organization, String location, String bucket, String link)
public static LinkName ofOrganizationLocationBucketLinkName(String organization, String location, String bucket, String link)
ofProjectLocationBucketLinkName(String project, String location, String bucket, String link)
public static LinkName ofProjectLocationBucketLinkName(String project, String location, String bucket, String link)
parse(String formattedString)
public static LinkName parse(String formattedString)
Parameter |
Name |
Description |
formattedString |
String
|
parseList(List<String> formattedStrings)
public static List<LinkName> parseList(List<String> formattedStrings)
Parameter |
Name |
Description |
formattedStrings |
List<String>
|
toStringList(List<LinkName> values)
public static List<String> toStringList(List<LinkName> values)
Constructors
LinkName() (deprecated)
Methods
equals(Object o)
public boolean equals(Object o)
Parameter |
Name |
Description |
o |
Object
|
Overrides
getBillingAccount()
public String getBillingAccount()
Returns |
Type |
Description |
String |
|
getBucket()
public String getBucket()
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()
getFolder()
public String getFolder()
Returns |
Type |
Description |
String |
|
getLink()
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()
Returns |
Type |
Description |
int |
|
Overrides
toBuilder()
public LinkName.Builder toBuilder()
toString()
Returns |
Type |
Description |
String |
|
Overrides