Class LinkName (3.15.17)

public class LinkName implements ResourceName

Inheritance

Object > LinkName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String bucket, String link)

public static String format(String project, String location, String bucket, String link)
Parameters
NameDescription
projectString
locationString
bucketString
linkString
Returns
TypeDescription
String

formatBillingAccountLocationBucketLinkName(String billingAccount, String location, String bucket, String link)

public static String formatBillingAccountLocationBucketLinkName(String billingAccount, String location, String bucket, String link)
Parameters
NameDescription
billingAccountString
locationString
bucketString
linkString
Returns
TypeDescription
String

formatFolderLocationBucketLinkName(String folder, String location, String bucket, String link)

public static String formatFolderLocationBucketLinkName(String folder, String location, String bucket, String link)
Parameters
NameDescription
folderString
locationString
bucketString
linkString
Returns
TypeDescription
String

formatOrganizationLocationBucketLinkName(String organization, String location, String bucket, String link)

public static String formatOrganizationLocationBucketLinkName(String organization, String location, String bucket, String link)
Parameters
NameDescription
organizationString
locationString
bucketString
linkString
Returns
TypeDescription
String

formatProjectLocationBucketLinkName(String project, String location, String bucket, String link)

public static String formatProjectLocationBucketLinkName(String project, String location, String bucket, String link)
Parameters
NameDescription
projectString
locationString
bucketString
linkString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBillingAccountLocationBucketLinkBuilder()

public static LinkName.BillingAccountLocationBucketLinkBuilder newBillingAccountLocationBucketLinkBuilder()
Returns
TypeDescription
LinkName.BillingAccountLocationBucketLinkBuilder

newBuilder()

public static LinkName.Builder newBuilder()
Returns
TypeDescription
LinkName.Builder

newFolderLocationBucketLinkBuilder()

public static LinkName.FolderLocationBucketLinkBuilder newFolderLocationBucketLinkBuilder()
Returns
TypeDescription
LinkName.FolderLocationBucketLinkBuilder

newOrganizationLocationBucketLinkBuilder()

public static LinkName.OrganizationLocationBucketLinkBuilder newOrganizationLocationBucketLinkBuilder()
Returns
TypeDescription
LinkName.OrganizationLocationBucketLinkBuilder

newProjectLocationBucketLinkBuilder()

public static LinkName.Builder newProjectLocationBucketLinkBuilder()
Returns
TypeDescription
LinkName.Builder

of(String project, String location, String bucket, String link)

public static LinkName of(String project, String location, String bucket, String link)
Parameters
NameDescription
projectString
locationString
bucketString
linkString
Returns
TypeDescription
LinkName

ofBillingAccountLocationBucketLinkName(String billingAccount, String location, String bucket, String link)

public static LinkName ofBillingAccountLocationBucketLinkName(String billingAccount, String location, String bucket, String link)
Parameters
NameDescription
billingAccountString
locationString
bucketString
linkString
Returns
TypeDescription
LinkName

ofFolderLocationBucketLinkName(String folder, String location, String bucket, String link)

public static LinkName ofFolderLocationBucketLinkName(String folder, String location, String bucket, String link)
Parameters
NameDescription
folderString
locationString
bucketString
linkString
Returns
TypeDescription
LinkName

ofOrganizationLocationBucketLinkName(String organization, String location, String bucket, String link)

public static LinkName ofOrganizationLocationBucketLinkName(String organization, String location, String bucket, String link)
Parameters
NameDescription
organizationString
locationString
bucketString
linkString
Returns
TypeDescription
LinkName

ofProjectLocationBucketLinkName(String project, String location, String bucket, String link)

public static LinkName ofProjectLocationBucketLinkName(String project, String location, String bucket, String link)
Parameters
NameDescription
projectString
locationString
bucketString
linkString
Returns
TypeDescription
LinkName

parse(String formattedString)

public static LinkName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
LinkName

parseList(List<String> formattedStrings)

public static List<LinkName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<LinkName>

toStringList(List<LinkName> values)

public static List<String> toStringList(List<LinkName> values)
Parameter
NameDescription
valuesList<LinkName>
Returns
TypeDescription
List<String>

Constructors

LinkName()

protected LinkName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getBillingAccount()

public String getBillingAccount()
Returns
TypeDescription
String

getBucket()

public String getBucket()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getFolder()

public String getFolder()
Returns
TypeDescription
String
public String getLink()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public LinkName.Builder toBuilder()
Returns
TypeDescription
LinkName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides