public static interface PutScheduledUpdateGroupActionRequest.Builder extends AutoScalingRequest.Builder, CopyableBuilder<PutScheduledUpdateGroupActionRequest.Builder,PutScheduledUpdateGroupActionRequest>
Modifier and Type | Method and Description |
---|---|
PutScheduledUpdateGroupActionRequest.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
|
PutScheduledUpdateGroupActionRequest.Builder |
desiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the group.
|
PutScheduledUpdateGroupActionRequest.Builder |
endTime(Instant endTime)
The time for the recurring schedule to end.
|
PutScheduledUpdateGroupActionRequest.Builder |
maxSize(Integer maxSize)
The maximum size for the Auto Scaling group.
|
PutScheduledUpdateGroupActionRequest.Builder |
minSize(Integer minSize)
The minimum size for the Auto Scaling group.
|
PutScheduledUpdateGroupActionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutScheduledUpdateGroupActionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
PutScheduledUpdateGroupActionRequest.Builder |
recurrence(String recurrence)
The recurring schedule for this action, in Unix cron syntax format.
|
PutScheduledUpdateGroupActionRequest.Builder |
scheduledActionName(String scheduledActionName)
The name of this scaling action.
|
PutScheduledUpdateGroupActionRequest.Builder |
startTime(Instant startTime)
The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example,
2014-06-01T00:00:00Z ). |
PutScheduledUpdateGroupActionRequest.Builder |
time(Instant time)
This parameter is deprecated.
|
build
overrideConfiguration
copy
applyMutation, build
PutScheduledUpdateGroupActionRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
autoScalingGroupName
- The name or Amazon Resource Name (ARN) of the Auto Scaling group.PutScheduledUpdateGroupActionRequest.Builder scheduledActionName(String scheduledActionName)
The name of this scaling action.
scheduledActionName
- The name of this scaling action.PutScheduledUpdateGroupActionRequest.Builder time(Instant time)
This parameter is deprecated.
time
- This parameter is deprecated.PutScheduledUpdateGroupActionRequest.Builder startTime(Instant startTime)
The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example,
2014-06-01T00:00:00Z
).
If you specify Recurrence
and StartTime
, Auto Scaling performs the action at this
time, and then performs the action based on the specified recurrence.
If you try to schedule your action in the past, Auto Scaling returns an error message.
startTime
- The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example,
2014-06-01T00:00:00Z
).
If you specify Recurrence
and StartTime
, Auto Scaling performs the action at
this time, and then performs the action based on the specified recurrence.
If you try to schedule your action in the past, Auto Scaling returns an error message.
PutScheduledUpdateGroupActionRequest.Builder endTime(Instant endTime)
The time for the recurring schedule to end. Auto Scaling does not perform the action after this time.
endTime
- The time for the recurring schedule to end. Auto Scaling does not perform the action after this time.PutScheduledUpdateGroupActionRequest.Builder recurrence(String recurrence)
The recurring schedule for this action, in Unix cron syntax format. For more information, see Cron in Wikipedia.
recurrence
- The recurring schedule for this action, in Unix cron syntax format. For more information, see Cron in Wikipedia.PutScheduledUpdateGroupActionRequest.Builder minSize(Integer minSize)
The minimum size for the Auto Scaling group.
minSize
- The minimum size for the Auto Scaling group.PutScheduledUpdateGroupActionRequest.Builder maxSize(Integer maxSize)
The maximum size for the Auto Scaling group.
maxSize
- The maximum size for the Auto Scaling group.PutScheduledUpdateGroupActionRequest.Builder desiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the group.
desiredCapacity
- The number of EC2 instances that should be running in the group.PutScheduledUpdateGroupActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutScheduledUpdateGroupActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.