@Generated(value="by gapic-generator-java") public class LinkName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
LinkName.BillingAccountLocationBucketLinkBuilder
Builder for
billingAccounts/{billing_account}/locations/{location}/buckets/{bucket}/links/{link}.
|
static class |
LinkName.Builder
Builder for projects/{project}/locations/{location}/buckets/{bucket}/links/{link}.
|
static class |
LinkName.FolderLocationBucketLinkBuilder
Builder for folders/{folder}/locations/{location}/buckets/{bucket}/links/{link}.
|
static class |
LinkName.OrganizationLocationBucketLinkBuilder
Builder for organizations/{organization}/locations/{location}/buckets/{bucket}/links/{link}.
|
Modifier | Constructor and Description |
---|---|
protected |
LinkName()
Deprecated.
|
@Deprecated protected LinkName()
public String getProject()
public String getLocation()
public String getBucket()
public String getLink()
public String getOrganization()
public String getFolder()
public String getBillingAccount()
public static LinkName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static LinkName.Builder newProjectLocationBucketLinkBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static LinkName.OrganizationLocationBucketLinkBuilder newOrganizationLocationBucketLinkBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static LinkName.FolderLocationBucketLinkBuilder newFolderLocationBucketLinkBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static LinkName.BillingAccountLocationBucketLinkBuilder newBillingAccountLocationBucketLinkBuilder()
public LinkName.Builder toBuilder()
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static LinkName ofProjectLocationBucketLinkName(String project, String location, String bucket, String link)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static LinkName ofOrganizationLocationBucketLinkName(String organization, String location, String bucket, String link)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static LinkName ofFolderLocationBucketLinkName(String folder, String location, String bucket, String link)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static LinkName ofBillingAccountLocationBucketLinkName(String billingAccount, String location, String bucket, String link)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationBucketLinkName(String project, String location, String bucket, String link)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationLocationBucketLinkName(String organization, String location, String bucket, String link)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatFolderLocationBucketLinkName(String folder, String location, String bucket, String link)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountLocationBucketLinkName(String billingAccount, String location, String bucket, String link)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2023 Google LLC. All rights reserved.