Class AutoscalingPolicyName.Builder (4.5.0)

public static class AutoscalingPolicyName.Builder

Builder for projects/{project}/locations/{location}/autoscalingPolicies/{autoscaling_policy}.

Inheritance

java.lang.Object > AutoscalingPolicyName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public AutoscalingPolicyName build()
Returns
TypeDescription
AutoscalingPolicyName

getAutoscalingPolicy()

public String getAutoscalingPolicy()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setAutoscalingPolicy(String autoscalingPolicy)

public AutoscalingPolicyName.Builder setAutoscalingPolicy(String autoscalingPolicy)
Parameter
NameDescription
autoscalingPolicyString
Returns
TypeDescription
AutoscalingPolicyName.Builder

setLocation(String location)

public AutoscalingPolicyName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
AutoscalingPolicyName.Builder

setProject(String project)

public AutoscalingPolicyName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
AutoscalingPolicyName.Builder