Interface DescribePoliciesRequest.Builder
-
- All Superinterfaces:
AutoScalingRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribePoliciesRequest.Builder,DescribePoliciesRequest>
,SdkBuilder<DescribePoliciesRequest.Builder,DescribePoliciesRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- DescribePoliciesRequest
public static interface DescribePoliciesRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<DescribePoliciesRequest.Builder,DescribePoliciesRequest>
-
-
Method Summary
-
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 Detail
-
autoScalingGroupName
DescribePoliciesRequest.Builder autoScalingGroupName(String 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
DescribePoliciesRequest.Builder policyNames(Collection<String> 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
DescribePoliciesRequest.Builder policyNames(String... 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
DescribePoliciesRequest.Builder policyTypes(Collection<String> 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
DescribePoliciesRequest.Builder policyTypes(String... 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
DescribePoliciesRequest.Builder nextToken(String 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
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 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DescribePoliciesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-