Class AutoscalingPolicyName (4.2.0)

public class AutoscalingPolicyName implements ResourceName

Inheritance

Object > AutoscalingPolicyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String autoscalingPolicy)

public static String format(String project, String location, String autoscalingPolicy)
Parameters
NameDescription
projectString
locationString
autoscalingPolicyString
Returns
TypeDescription
String

formatProjectLocationAutoscalingPolicyName(String project, String location, String autoscalingPolicy)

public static String formatProjectLocationAutoscalingPolicyName(String project, String location, String autoscalingPolicy)
Parameters
NameDescription
projectString
locationString
autoscalingPolicyString
Returns
TypeDescription
String

formatProjectRegionAutoscalingPolicyName(String project, String region, String autoscalingPolicy)

public static String formatProjectRegionAutoscalingPolicyName(String project, String region, String autoscalingPolicy)
Parameters
NameDescription
projectString
regionString
autoscalingPolicyString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newProjectLocationAutoscalingPolicyBuilder()

public static AutoscalingPolicyName.Builder newProjectLocationAutoscalingPolicyBuilder()
Returns
TypeDescription
AutoscalingPolicyName.Builder

newProjectRegionAutoscalingPolicyBuilder()

public static AutoscalingPolicyName.ProjectRegionAutoscalingPolicyBuilder newProjectRegionAutoscalingPolicyBuilder()
Returns
TypeDescription
AutoscalingPolicyName.ProjectRegionAutoscalingPolicyBuilder

of(String project, String location, String autoscalingPolicy)

public static AutoscalingPolicyName of(String project, String location, String autoscalingPolicy)
Parameters
NameDescription
projectString
locationString
autoscalingPolicyString
Returns
TypeDescription
AutoscalingPolicyName

ofProjectLocationAutoscalingPolicyName(String project, String location, String autoscalingPolicy)

public static AutoscalingPolicyName ofProjectLocationAutoscalingPolicyName(String project, String location, String autoscalingPolicy)
Parameters
NameDescription
projectString
locationString
autoscalingPolicyString
Returns
TypeDescription
AutoscalingPolicyName

ofProjectRegionAutoscalingPolicyName(String project, String region, String autoscalingPolicy)

public static AutoscalingPolicyName ofProjectRegionAutoscalingPolicyName(String project, String region, String autoscalingPolicy)
Parameters
NameDescription
projectString
regionString
autoscalingPolicyString
Returns
TypeDescription
AutoscalingPolicyName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AutoscalingPolicyName> values)

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

Constructors

AutoscalingPolicyName()

protected AutoscalingPolicyName()

Methods

equals(Object o)

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

getAutoscalingPolicy()

public String getAutoscalingPolicy()
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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getRegion()

public String getRegion()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides