@Generated(value="software.amazon.awssdk:codegen") public final class PutScheduledUpdateGroupActionRequest extends AutoScalingRequest implements ToCopyableBuilder<PutScheduledUpdateGroupActionRequest.Builder,PutScheduledUpdateGroupActionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
PutScheduledUpdateGroupActionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
autoScalingGroupName()
The name of the Auto Scaling group.
|
static PutScheduledUpdateGroupActionRequest.Builder |
builder() |
Integer |
desiredCapacity()
The number of EC2 instances that should be running in the group.
|
Instant |
endTime()
The time for the recurring schedule to end.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxSize()
The maximum size for the Auto Scaling group.
|
Integer |
minSize()
The minimum size for the Auto Scaling group.
|
String |
recurrence()
The recurring schedule for this action, in Unix cron syntax format.
|
String |
scheduledActionName()
The name of this scaling action.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutScheduledUpdateGroupActionRequest.Builder> |
serializableBuilderClass() |
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 ). |
Instant |
time()
This parameter is deprecated.
|
PutScheduledUpdateGroupActionRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String autoScalingGroupName()
The name of the Auto Scaling group.
public String scheduledActionName()
The name of this scaling action.
public Instant time()
This parameter is deprecated.
public 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
, Amazon EC2 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, Amazon EC2 Auto Scaling returns an error message.
2014-06-01T00:00:00Z
).
If you specify Recurrence
and StartTime
, Amazon EC2 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, Amazon EC2 Auto Scaling returns an error message.
public Instant endTime()
The time for the recurring schedule to end. Amazon EC2 Auto Scaling does not perform the action after this time.
public String recurrence()
The recurring schedule for this action, in Unix cron syntax format. For more information about this format, see Crontab.
public Integer minSize()
The minimum size for the Auto Scaling group.
public Integer maxSize()
The maximum size for the Auto Scaling group.
public Integer desiredCapacity()
The number of EC2 instances that should be running in the group.
public PutScheduledUpdateGroupActionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutScheduledUpdateGroupActionRequest.Builder,PutScheduledUpdateGroupActionRequest>
toBuilder
in class AutoScalingRequest
public static PutScheduledUpdateGroupActionRequest.Builder builder()
public static Class<? extends PutScheduledUpdateGroupActionRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.