@Generated(value="by gapic-generator-java") public class AutoscalingPolicyName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
AutoscalingPolicyName.Builder
Builder for projects/{project}/locations/{location}/autoscalingPolicies/{autoscaling_policy}.
|
static class |
AutoscalingPolicyName.ProjectRegionAutoscalingPolicyBuilder
Builder for projects/{project}/regions/{region}/autoscalingPolicies/{autoscaling_policy}.
|
Modifier | Constructor and Description |
---|---|
protected |
AutoscalingPolicyName()
Deprecated.
|
@Deprecated protected AutoscalingPolicyName()
public String getProject()
public String getLocation()
public String getAutoscalingPolicy()
public String getRegion()
public static AutoscalingPolicyName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static AutoscalingPolicyName.Builder newProjectLocationAutoscalingPolicyBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static AutoscalingPolicyName.ProjectRegionAutoscalingPolicyBuilder newProjectRegionAutoscalingPolicyBuilder()
public AutoscalingPolicyName.Builder toBuilder()
public static AutoscalingPolicyName of(String project, String location, String autoscalingPolicy)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static AutoscalingPolicyName ofProjectLocationAutoscalingPolicyName(String project, String location, String autoscalingPolicy)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static AutoscalingPolicyName ofProjectRegionAutoscalingPolicyName(String project, String region, String autoscalingPolicy)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationAutoscalingPolicyName(String project, String location, String autoscalingPolicy)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectRegionAutoscalingPolicyName(String project, String region, String autoscalingPolicy)
public static AutoscalingPolicyName parse(String formattedString)
public static List<AutoscalingPolicyName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<AutoscalingPolicyName> values)
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 © 2022 Google LLC. All rights reserved.