public static class AutoScalingPolicySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AutoScalingPolicySummary |
build() |
AutoScalingPolicySummary.Builder |
copy(AutoScalingPolicySummary model) |
AutoScalingPolicySummary.Builder |
displayName(String displayName)
A user-friendly name.
|
AutoScalingPolicySummary.Builder |
id(String id)
The ID of the autoscaling policy that is assigned after creation.
|
AutoScalingPolicySummary.Builder |
isEnabled(Boolean isEnabled)
Whether the autoscaling policy is enabled.
|
AutoScalingPolicySummary.Builder |
policyType(String policyType)
The type of autoscaling policy.
|
public AutoScalingPolicySummary.Builder id(String id)
The ID of the autoscaling policy that is assigned after creation.
id
- the value to setpublic AutoScalingPolicySummary.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic AutoScalingPolicySummary.Builder policyType(String policyType)
The type of autoscaling policy.
policyType
- the value to setpublic AutoScalingPolicySummary.Builder isEnabled(Boolean isEnabled)
Whether the autoscaling policy is enabled.
isEnabled
- the value to setpublic AutoScalingPolicySummary build()
public AutoScalingPolicySummary.Builder copy(AutoScalingPolicySummary model)
Copyright © 2016–2024. All rights reserved.