Interface DescribePoliciesRequest.Builder
- All Superinterfaces:
AutoScalingRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribePoliciesRequest.Builder,
,DescribePoliciesRequest> SdkBuilder<DescribePoliciesRequest.Builder,
,DescribePoliciesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribePoliciesRequest
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingGroupName
(String autoScalingGroupName) The name of the Auto Scaling group.maxRecords
(Integer maxRecords) The maximum number of items to be returned with each call.The token for the next set of items to return.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyNames
(String... policyNames) The names of one or more policies.policyNames
(Collection<String> policyNames) The names of one or more policies.policyTypes
(String... policyTypes) One or more policy types.policyTypes
(Collection<String> policyTypes) One or more policy types.Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
autoScalingGroupName
The name of the Auto Scaling group.
- Parameters:
autoScalingGroupName
- The name of the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyNames
The names of one or more policies. If you omit this property, all policies are described. If a group name is provided, the results are limited to that group. If you specify an unknown policy name, it is ignored with no error.
Array Members: Maximum number of 50 items.
- Parameters:
policyNames
- The names of one or more policies. If you omit this property, all policies are described. If a group name is provided, the results are limited to that group. If you specify an unknown policy name, it is ignored with no error.Array Members: Maximum number of 50 items.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyNames
The names of one or more policies. If you omit this property, all policies are described. If a group name is provided, the results are limited to that group. If you specify an unknown policy name, it is ignored with no error.
Array Members: Maximum number of 50 items.
- Parameters:
policyNames
- The names of one or more policies. If you omit this property, all policies are described. If a group name is provided, the results are limited to that group. If you specify an unknown policy name, it is ignored with no error.Array Members: Maximum number of 50 items.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyTypes
One or more policy types. The valid values are
SimpleScaling
,StepScaling
,TargetTrackingScaling
, andPredictiveScaling
.- Parameters:
policyTypes
- One or more policy types. The valid values areSimpleScaling
,StepScaling
,TargetTrackingScaling
, andPredictiveScaling
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyTypes
One or more policy types. The valid values are
SimpleScaling
,StepScaling
,TargetTrackingScaling
, andPredictiveScaling
.- Parameters:
policyTypes
- One or more policy types. The valid values areSimpleScaling
,StepScaling
,TargetTrackingScaling
, andPredictiveScaling
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxRecords
The maximum number of items to be returned with each call. The default value is
50
and the maximum value is100
.- Parameters:
maxRecords
- The maximum number of items to be returned with each call. The default value is50
and the maximum value is100
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribePoliciesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribePoliciesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-