Class AutoscalingPolicyName.Builder (4.42.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
Type Description
AutoscalingPolicyName

getAutoscalingPolicy()

public String getAutoscalingPolicy()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setAutoscalingPolicy(String autoscalingPolicy)

public AutoscalingPolicyName.Builder setAutoscalingPolicy(String autoscalingPolicy)
Parameter
Name Description
autoscalingPolicy String
Returns
Type Description
AutoscalingPolicyName.Builder

setLocation(String location)

public AutoscalingPolicyName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
AutoscalingPolicyName.Builder

setProject(String project)

public AutoscalingPolicyName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
AutoscalingPolicyName.Builder