Class LinkName (3.20.2)

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
Name Description
project String
location String
bucket String
link String
Returns
Type Description
String

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

public static String formatBillingAccountLocationBucketLinkName(String billingAccount, String location, String bucket, String link)
Parameters
Name Description
billingAccount String
location String
bucket String
link String
Returns
Type Description
String

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

public static String formatFolderLocationBucketLinkName(String folder, String location, String bucket, String link)
Parameters
Name Description
folder String
location String
bucket String
link String
Returns
Type Description
String

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

public static String formatOrganizationLocationBucketLinkName(String organization, String location, String bucket, String link)
Parameters
Name Description
organization String
location String
bucket String
link String
Returns
Type Description
String

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

public static String formatProjectLocationBucketLinkName(String project, String location, String bucket, String link)
Parameters
Name Description
project String
location String
bucket String
link String
Returns
Type Description
String

isParsableFrom(String formattedString)

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

newBillingAccountLocationBucketLinkBuilder()

public static LinkName.BillingAccountLocationBucketLinkBuilder newBillingAccountLocationBucketLinkBuilder()
Returns
Type Description
LinkName.BillingAccountLocationBucketLinkBuilder

newBuilder()

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

newFolderLocationBucketLinkBuilder()

public static LinkName.FolderLocationBucketLinkBuilder newFolderLocationBucketLinkBuilder()
Returns
Type Description
LinkName.FolderLocationBucketLinkBuilder

newOrganizationLocationBucketLinkBuilder()

public static LinkName.OrganizationLocationBucketLinkBuilder newOrganizationLocationBucketLinkBuilder()
Returns
Type Description
LinkName.OrganizationLocationBucketLinkBuilder

newProjectLocationBucketLinkBuilder()

public static LinkName.Builder newProjectLocationBucketLinkBuilder()
Returns
Type Description
LinkName.Builder

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

public static LinkName of(String project, String location, String bucket, String link)
Parameters
Name Description
project String
location String
bucket String
link String
Returns
Type Description
LinkName

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

public static LinkName ofBillingAccountLocationBucketLinkName(String billingAccount, String location, String bucket, String link)
Parameters
Name Description
billingAccount String
location String
bucket String
link String
Returns
Type Description
LinkName

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

public static LinkName ofFolderLocationBucketLinkName(String folder, String location, String bucket, String link)
Parameters
Name Description
folder String
location String
bucket String
link String
Returns
Type Description
LinkName

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

public static LinkName ofOrganizationLocationBucketLinkName(String organization, String location, String bucket, String link)
Parameters
Name Description
organization String
location String
bucket String
link String
Returns
Type Description
LinkName

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

public static LinkName ofProjectLocationBucketLinkName(String project, String location, String bucket, String link)
Parameters
Name Description
project String
location String
bucket String
link String
Returns
Type Description
LinkName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<LinkName> values)

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

Constructors

LinkName() (deprecated)

protected LinkName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
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()
Returns
Type Description
Map<String,String>

getFolder()

public String getFolder()
Returns
Type Description
String
public 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()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides