@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutScheduledUpdateGroupActionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutScheduledUpdateGroupActionRequest() |
Modifier and Type | Method and Description |
---|---|
PutScheduledUpdateGroupActionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
Integer |
getDesiredCapacity()
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the
capacity it attempts to maintain.
|
Date |
getEndTime()
The date and time for the recurring schedule to end.
|
Integer |
getMaxSize()
The maximum size of the Auto Scaling group.
|
Integer |
getMinSize()
The minimum size of the Auto Scaling group.
|
String |
getRecurrence()
The recurring schedule for this action, in Unix cron syntax format.
|
String |
getScheduledActionName()
The name of this scaling action.
|
Date |
getStartTime()
The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for
example,
"2019-06-01T00:00:00Z" ). |
Date |
getTime()
This parameter is no longer used.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setDesiredCapacity(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.
|
void |
setEndTime(Date endTime)
The date and time for the recurring schedule to end.
|
void |
setMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.
|
void |
setMinSize(Integer minSize)
The minimum size of the Auto Scaling group.
|
void |
setRecurrence(String recurrence)
The recurring schedule for this action, in Unix cron syntax format.
|
void |
setScheduledActionName(String scheduledActionName)
The name of this scaling action.
|
void |
setStartTime(Date startTime)
The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for
example,
"2019-06-01T00:00:00Z" ). |
void |
setTime(Date time)
This parameter is no longer used.
|
String |
toString()
Returns a string representation of this object.
|
PutScheduledUpdateGroupActionRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
PutScheduledUpdateGroupActionRequest |
withDesiredCapacity(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.
|
PutScheduledUpdateGroupActionRequest |
withEndTime(Date endTime)
The date and time for the recurring schedule to end.
|
PutScheduledUpdateGroupActionRequest |
withMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.
|
PutScheduledUpdateGroupActionRequest |
withMinSize(Integer minSize)
The minimum size of the Auto Scaling group.
|
PutScheduledUpdateGroupActionRequest |
withRecurrence(String recurrence)
The recurring schedule for this action, in Unix cron syntax format.
|
PutScheduledUpdateGroupActionRequest |
withScheduledActionName(String scheduledActionName)
The name of this scaling action.
|
PutScheduledUpdateGroupActionRequest |
withStartTime(Date startTime)
The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for
example,
"2019-06-01T00:00:00Z" ). |
PutScheduledUpdateGroupActionRequest |
withTime(Date time)
This parameter is no longer used.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public PutScheduledUpdateGroupActionRequest()
public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public PutScheduledUpdateGroupActionRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public void setScheduledActionName(String scheduledActionName)
The name of this scaling action.
scheduledActionName
- The name of this scaling action.public String getScheduledActionName()
The name of this scaling action.
public PutScheduledUpdateGroupActionRequest withScheduledActionName(String scheduledActionName)
The name of this scaling action.
scheduledActionName
- The name of this scaling action.public void setTime(Date time)
This parameter is no longer used.
time
- This parameter is no longer used.public Date getTime()
This parameter is no longer used.
public PutScheduledUpdateGroupActionRequest withTime(Date time)
This parameter is no longer used.
time
- This parameter is no longer used.public void setStartTime(Date startTime)
The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for
example, "2019-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.
startTime
- The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes
(for example, "2019-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 Date getStartTime()
The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for
example, "2019-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.
"2019-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 PutScheduledUpdateGroupActionRequest withStartTime(Date startTime)
The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for
example, "2019-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.
startTime
- The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes
(for example, "2019-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 void setEndTime(Date endTime)
The date and time for the recurring schedule to end. Amazon EC2 Auto Scaling does not perform the action after this time.
endTime
- The date and time for the recurring schedule to end. Amazon EC2 Auto Scaling does not perform the action
after this time.public Date getEndTime()
The date and time for the recurring schedule to end. Amazon EC2 Auto Scaling does not perform the action after this time.
public PutScheduledUpdateGroupActionRequest withEndTime(Date endTime)
The date and time for the recurring schedule to end. Amazon EC2 Auto Scaling does not perform the action after this time.
endTime
- The date and time for the recurring schedule to end. Amazon EC2 Auto Scaling does not perform the action
after this time.public void setRecurrence(String recurrence)
The recurring schedule for this action, in Unix cron syntax format. This format consists of five fields separated
by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be in quotes (for
example, "30 0 1 1,6,12 *"
). For more information about this format, see Crontab.
When StartTime
and EndTime
are specified with Recurrence
, they form the
boundaries of when the recurring action starts and stops.
recurrence
- The recurring schedule for this action, in Unix cron syntax format. This format consists of five fields
separated by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be
in quotes (for example, "30 0 1 1,6,12 *"
). For more information about this format, see Crontab.
When StartTime
and EndTime
are specified with Recurrence
, they form
the boundaries of when the recurring action starts and stops.
public String getRecurrence()
The recurring schedule for this action, in Unix cron syntax format. This format consists of five fields separated
by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be in quotes (for
example, "30 0 1 1,6,12 *"
). For more information about this format, see Crontab.
When StartTime
and EndTime
are specified with Recurrence
, they form the
boundaries of when the recurring action starts and stops.
"30 0 1 1,6,12 *"
). For more information about this format, see
Crontab.
When StartTime
and EndTime
are specified with Recurrence
, they
form the boundaries of when the recurring action starts and stops.
public PutScheduledUpdateGroupActionRequest withRecurrence(String recurrence)
The recurring schedule for this action, in Unix cron syntax format. This format consists of five fields separated
by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be in quotes (for
example, "30 0 1 1,6,12 *"
). For more information about this format, see Crontab.
When StartTime
and EndTime
are specified with Recurrence
, they form the
boundaries of when the recurring action starts and stops.
recurrence
- The recurring schedule for this action, in Unix cron syntax format. This format consists of five fields
separated by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be
in quotes (for example, "30 0 1 1,6,12 *"
). For more information about this format, see Crontab.
When StartTime
and EndTime
are specified with Recurrence
, they form
the boundaries of when the recurring action starts and stops.
public void setMinSize(Integer minSize)
The minimum size of the Auto Scaling group.
minSize
- The minimum size of the Auto Scaling group.public Integer getMinSize()
The minimum size of the Auto Scaling group.
public PutScheduledUpdateGroupActionRequest withMinSize(Integer minSize)
The minimum size of the Auto Scaling group.
minSize
- The minimum size of the Auto Scaling group.public void setMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.
maxSize
- The maximum size of the Auto Scaling group.public Integer getMaxSize()
The maximum size of the Auto Scaling group.
public PutScheduledUpdateGroupActionRequest withMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group.
maxSize
- The maximum size of the Auto Scaling group.public void setDesiredCapacity(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. It can scale beyond this capacity if you add more scaling conditions.
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. It can scale beyond this capacity if you add more scaling
conditions.public Integer getDesiredCapacity()
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain. It can scale beyond this capacity if you add more scaling conditions.
public PutScheduledUpdateGroupActionRequest withDesiredCapacity(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. It can scale beyond this capacity if you add more scaling conditions.
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. It can scale beyond this capacity if you add more scaling
conditions.public String toString()
toString
in class Object
Object.toString()
public PutScheduledUpdateGroupActionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()