CopyableBuilder<DescribePoliciesRequest.Builder,DescribePoliciesRequest>
, SdkBuilder<DescribePoliciesRequest.Builder,DescribePoliciesRequest>
public static interface DescribePoliciesRequest.Builder extends CopyableBuilder<DescribePoliciesRequest.Builder,DescribePoliciesRequest>
Modifier and Type | Method | Description |
---|---|---|
DescribePoliciesRequest.Builder |
autoScalingGroupName(String autoScalingGroupName) |
The name of the group.
|
DescribePoliciesRequest.Builder |
maxRecords(Integer maxRecords) |
The maximum number of items to be returned with each call.
|
DescribePoliciesRequest.Builder |
nextToken(String nextToken) |
The token for the next set of items to return.
|
DescribePoliciesRequest.Builder |
policyNames(String... policyNames) |
One or more policy names or policy ARNs to be described.
|
DescribePoliciesRequest.Builder |
policyNames(Collection<String> policyNames) |
One or more policy names or policy ARNs to be described.
|
DescribePoliciesRequest.Builder |
policyTypes(String... policyTypes) |
One or more policy types.
|
DescribePoliciesRequest.Builder |
policyTypes(Collection<String> policyTypes) |
One or more policy types.
|
copy
apply, build
DescribePoliciesRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.DescribePoliciesRequest.Builder policyNames(Collection<String> policyNames)
One or more policy names or policy ARNs to be described. If you omit this parameter, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.
policyNames
- One or more policy names or policy ARNs to be described. If you omit this parameter, all policy names
are described. If an group name is provided, the results are limited to that group. This list is
limited to 50 items. If you specify an unknown policy name, it is ignored with no error.DescribePoliciesRequest.Builder policyNames(String... policyNames)
One or more policy names or policy ARNs to be described. If you omit this parameter, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.
NOTE: This method appends the values to the existing list (if any). Use
#setPolicyNames(java.util.Collection)
or #withPolicyNames(java.util.Collection)
if you want
to override the existing values.
policyNames
- One or more policy names or policy ARNs to be described. If you omit this parameter, all policy names
are described. If an group name is provided, the results are limited to that group. This list is
limited to 50 items. If you specify an unknown policy name, it is ignored with no error.DescribePoliciesRequest.Builder policyTypes(Collection<String> policyTypes)
One or more policy types. Valid values are SimpleScaling
and StepScaling
.
policyTypes
- One or more policy types. Valid values are SimpleScaling
and StepScaling
.DescribePoliciesRequest.Builder policyTypes(String... policyTypes)
One or more policy types. Valid values are SimpleScaling
and StepScaling
.
NOTE: This method appends the values to the existing list (if any). Use
#setPolicyTypes(java.util.Collection)
or #withPolicyTypes(java.util.Collection)
if you want
to override the existing values.
policyTypes
- One or more policy types. Valid values are SimpleScaling
and StepScaling
.DescribePoliciesRequest.Builder nextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)DescribePoliciesRequest.Builder maxRecords(Integer maxRecords)
The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.
maxRecords
- The maximum number of items to be returned with each call. The default value is 50 and the maximum
value is 100.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.