Interface BatchPutScheduledUpdateGroupActionRequest.Builder
- All Superinterfaces:
AutoScalingRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<BatchPutScheduledUpdateGroupActionRequest.Builder,,BatchPutScheduledUpdateGroupActionRequest> SdkBuilder<BatchPutScheduledUpdateGroupActionRequest.Builder,,BatchPutScheduledUpdateGroupActionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchPutScheduledUpdateGroupActionRequest
public static interface BatchPutScheduledUpdateGroupActionRequest.Builder
extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<BatchPutScheduledUpdateGroupActionRequest.Builder,BatchPutScheduledUpdateGroupActionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingGroupName(String autoScalingGroupName) The name of the Auto Scaling group.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scheduledUpdateGroupActions(Collection<ScheduledUpdateGroupActionRequest> scheduledUpdateGroupActions) One or more scheduled actions.scheduledUpdateGroupActions(Consumer<ScheduledUpdateGroupActionRequest.Builder>... scheduledUpdateGroupActions) One or more scheduled actions.scheduledUpdateGroupActions(ScheduledUpdateGroupActionRequest... scheduledUpdateGroupActions) One or more scheduled actions.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, 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.
-
scheduledUpdateGroupActions
BatchPutScheduledUpdateGroupActionRequest.Builder scheduledUpdateGroupActions(Collection<ScheduledUpdateGroupActionRequest> scheduledUpdateGroupActions) One or more scheduled actions. The maximum number allowed is 50.
- Parameters:
scheduledUpdateGroupActions- One or more scheduled actions. The maximum number allowed is 50.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledUpdateGroupActions
BatchPutScheduledUpdateGroupActionRequest.Builder scheduledUpdateGroupActions(ScheduledUpdateGroupActionRequest... scheduledUpdateGroupActions) One or more scheduled actions. The maximum number allowed is 50.
- Parameters:
scheduledUpdateGroupActions- One or more scheduled actions. The maximum number allowed is 50.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledUpdateGroupActions
BatchPutScheduledUpdateGroupActionRequest.Builder scheduledUpdateGroupActions(Consumer<ScheduledUpdateGroupActionRequest.Builder>... scheduledUpdateGroupActions) One or more scheduled actions. The maximum number allowed is 50.
This is a convenience method that creates an instance of theScheduledUpdateGroupActionRequest.Builderavoiding the need to create one manually viaScheduledUpdateGroupActionRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduledUpdateGroupActions(List<ScheduledUpdateGroupActionRequest>).- Parameters:
scheduledUpdateGroupActions- a consumer that will call methods onScheduledUpdateGroupActionRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchPutScheduledUpdateGroupActionRequest.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
BatchPutScheduledUpdateGroupActionRequest.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.
-