@Generated(value="software.amazon.awssdk:codegen") public final class ScheduledUpdateGroupAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScheduledUpdateGroupAction.Builder,ScheduledUpdateGroupAction>
Describes a scheduled scaling action.
Modifier and Type | Class and Description |
---|---|
static interface |
ScheduledUpdateGroupAction.Builder |
Modifier and Type | Method and Description |
---|---|
String |
autoScalingGroupName()
The name of the Auto Scaling group.
|
static ScheduledUpdateGroupAction.Builder |
builder() |
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.
|
Instant |
endTime()
The date and time in UTC for the recurring schedule to end.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxSize()
The maximum size of the Auto Scaling group.
|
Integer |
minSize()
The minimum size of the Auto Scaling group.
|
String |
recurrence()
The recurring schedule for the action, in Unix cron syntax format.
|
String |
scheduledActionARN()
The Amazon Resource Name (ARN) of the scheduled action.
|
String |
scheduledActionName()
The name of the scheduled action.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ScheduledUpdateGroupAction.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The date and time in UTC for this action to start.
|
Instant |
time()
This parameter is no longer used.
|
String |
timeZone()
The time zone for the cron expression.
|
ScheduledUpdateGroupAction.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String autoScalingGroupName()
The name of the Auto Scaling group.
public final String scheduledActionName()
The name of the scheduled action.
public final String scheduledActionARN()
The Amazon Resource Name (ARN) of the scheduled action.
public final Instant time()
This parameter is no longer used.
public final Instant startTime()
The date and time in UTC for this action to start. For example, "2019-06-01T00:00:00Z"
.
"2019-06-01T00:00:00Z"
.public final Instant endTime()
The date and time in UTC for the recurring schedule to end. For example, "2019-06-01T00:00:00Z"
.
"2019-06-01T00:00:00Z"
.public final String recurrence()
The recurring schedule for the action, in Unix cron syntax format.
When StartTime
and EndTime
are specified with Recurrence
, they form the
boundaries of when the recurring action starts and stops.
When StartTime
and EndTime
are specified with Recurrence
, they
form the boundaries of when the recurring action starts and stops.
public final Integer minSize()
The minimum size of the Auto Scaling group.
public final Integer maxSize()
The maximum size of the Auto Scaling group.
public final 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.
public final String timeZone()
The time zone for the cron expression.
public ScheduledUpdateGroupAction.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ScheduledUpdateGroupAction.Builder,ScheduledUpdateGroupAction>
public static ScheduledUpdateGroupAction.Builder builder()
public static Class<? extends ScheduledUpdateGroupAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()