Interface ScheduledUpdateGroupAction.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ScheduledUpdateGroupAction.Builder,ScheduledUpdateGroupAction>
,SdkBuilder<ScheduledUpdateGroupAction.Builder,ScheduledUpdateGroupAction>
,SdkPojo
- Enclosing class:
- ScheduledUpdateGroupAction
public static interface ScheduledUpdateGroupAction.Builder extends SdkPojo, CopyableBuilder<ScheduledUpdateGroupAction.Builder,ScheduledUpdateGroupAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScheduledUpdateGroupAction.Builder
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.ScheduledUpdateGroupAction.Builder
desiredCapacity(Integer desiredCapacity)
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.ScheduledUpdateGroupAction.Builder
endTime(Instant endTime)
The date and time in UTC for the recurring schedule to end.ScheduledUpdateGroupAction.Builder
maxSize(Integer maxSize)
The maximum size of the Auto Scaling group.ScheduledUpdateGroupAction.Builder
minSize(Integer minSize)
The minimum size of the Auto Scaling group.ScheduledUpdateGroupAction.Builder
recurrence(String recurrence)
The recurring schedule for the action, in Unix cron syntax format.ScheduledUpdateGroupAction.Builder
scheduledActionARN(String scheduledActionARN)
The Amazon Resource Name (ARN) of the scheduled action.ScheduledUpdateGroupAction.Builder
scheduledActionName(String scheduledActionName)
The name of the scheduled action.ScheduledUpdateGroupAction.Builder
startTime(Instant startTime)
The date and time in UTC for this action to start.ScheduledUpdateGroupAction.Builder
time(Instant time)
This property is no longer used.ScheduledUpdateGroupAction.Builder
timeZone(String timeZone)
The time zone for the cron expression.-
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
ScheduledUpdateGroupAction.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.
-
scheduledActionName
ScheduledUpdateGroupAction.Builder scheduledActionName(String scheduledActionName)
The name of the scheduled action.
- Parameters:
scheduledActionName
- The name of the scheduled action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledActionARN
ScheduledUpdateGroupAction.Builder scheduledActionARN(String scheduledActionARN)
The Amazon Resource Name (ARN) of the scheduled action.
- Parameters:
scheduledActionARN
- The Amazon Resource Name (ARN) of the scheduled action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
ScheduledUpdateGroupAction.Builder time(Instant time)
This property is no longer used.
- Parameters:
time
- This property is no longer used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
ScheduledUpdateGroupAction.Builder startTime(Instant startTime)
The date and time in UTC for this action to start. For example,
"2019-06-01T00:00:00Z"
.- Parameters:
startTime
- The date and time in UTC for this action to start. For example,"2019-06-01T00:00:00Z"
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
ScheduledUpdateGroupAction.Builder endTime(Instant endTime)
The date and time in UTC for the recurring schedule to end. For example,
"2019-06-01T00:00:00Z"
.- Parameters:
endTime
- The date and time in UTC for the recurring schedule to end. For example,"2019-06-01T00:00:00Z"
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrence
ScheduledUpdateGroupAction.Builder recurrence(String recurrence)
The recurring schedule for the action, in Unix cron syntax format.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action starts and stops.- Parameters:
recurrence
- The recurring schedule for the action, in Unix cron syntax format.When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action starts and stops.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minSize
ScheduledUpdateGroupAction.Builder minSize(Integer minSize)
The minimum size of the Auto Scaling group.
- Parameters:
minSize
- The minimum size of the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxSize
ScheduledUpdateGroupAction.Builder maxSize(Integer maxSize)
The maximum size of the Auto Scaling group.
- Parameters:
maxSize
- The maximum size of the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredCapacity
ScheduledUpdateGroupAction.Builder desiredCapacity(Integer desiredCapacity)
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.
- Parameters:
desiredCapacity
- The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeZone
ScheduledUpdateGroupAction.Builder timeZone(String timeZone)
The time zone for the cron expression.
- Parameters:
timeZone
- The time zone for the cron expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-