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
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
50and the maximum value is100.- Parameters:
maxRecords- The maximum number of items to be returned with each call. The default value is50and 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-