@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, in UTC.
|
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.
|
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,
"2021-06-01T00:00:00Z" ). |
Date |
getTime()
This property is no longer used.
|
String |
getTimeZone()
Specifies the time zone for a cron expression.
|
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, in UTC.
|
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.
|
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,
"2021-06-01T00:00:00Z" ). |
void |
setTime(Date time)
This property is no longer used.
|
void |
setTimeZone(String timeZone)
Specifies the time zone for a cron expression.
|
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, in UTC.
|
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.
|
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,
"2021-06-01T00:00:00Z" ). |
PutScheduledUpdateGroupActionRequest |
withTime(Date time)
This property is no longer used.
|
PutScheduledUpdateGroupActionRequest |
withTimeZone(String timeZone)
Specifies the time zone for a cron expression.
|
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 property is no longer used.
time
- This property is no longer used.public Date getTime()
This property is no longer used.
public PutScheduledUpdateGroupActionRequest withTime(Date time)
This property is no longer used.
time
- This property 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, "2021-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.
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, "2021-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.
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, "2021-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.
"2021-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.
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, "2021-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.
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, "2021-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.
public void setEndTime(Date endTime)
The date and time for the recurring schedule to end, in UTC. For example, "2021-06-01T00:00:00Z"
.
endTime
- The date and time for the recurring schedule to end, in UTC. For example,
"2021-06-01T00:00:00Z"
.public Date getEndTime()
The date and time for the recurring schedule to end, in UTC. For example, "2021-06-01T00:00:00Z"
.
"2021-06-01T00:00:00Z"
.public PutScheduledUpdateGroupActionRequest withEndTime(Date endTime)
The date and time for the recurring schedule to end, in UTC. For example, "2021-06-01T00:00:00Z"
.
endTime
- The date and time for the recurring schedule to end, in UTC. For example,
"2021-06-01T00:00:00Z"
.public void setRecurrence(String recurrence)
The recurring schedule for this action. 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.
Cron expressions use Universal Coordinated Time (UTC) by default.
recurrence
- The recurring schedule for this action. 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.
Cron expressions use Universal Coordinated Time (UTC) by default.
public String getRecurrence()
The recurring schedule for this action. 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.
Cron expressions use Universal Coordinated Time (UTC) by default.
"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.
Cron expressions use Universal Coordinated Time (UTC) by default.
public PutScheduledUpdateGroupActionRequest withRecurrence(String recurrence)
The recurring schedule for this action. 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.
Cron expressions use Universal Coordinated Time (UTC) by default.
recurrence
- The recurring schedule for this action. 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.
Cron expressions use Universal Coordinated Time (UTC) by default.
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.
You must specify at least one of the following properties: MaxSize
, MinSize
, or
DesiredCapacity
.
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.
You must specify at least one of the following properties: MaxSize
, MinSize
, or
DesiredCapacity
.
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.
You must specify at least one of the following properties: MaxSize
, MinSize
, or
DesiredCapacity
.
You must specify at least one of the following properties: MaxSize
, MinSize
, or
DesiredCapacity
.
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.
You must specify at least one of the following properties: MaxSize
, MinSize
, or
DesiredCapacity
.
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.
You must specify at least one of the following properties: MaxSize
, MinSize
, or
DesiredCapacity
.
public void setTimeZone(String timeZone)
Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.
Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database (such as
Etc/GMT+9
or Pacific/Tahiti
). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
timeZone
- Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.
Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database
(such as Etc/GMT+9
or Pacific/Tahiti
). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
public String getTimeZone()
Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.
Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database (such as
Etc/GMT+9
or Pacific/Tahiti
). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database
(such as Etc/GMT+9
or Pacific/Tahiti
). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
public PutScheduledUpdateGroupActionRequest withTimeZone(String timeZone)
Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.
Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database (such as
Etc/GMT+9
or Pacific/Tahiti
). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
timeZone
- Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.
Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database
(such as Etc/GMT+9
or Pacific/Tahiti
). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
public String toString()
toString
in class Object
Object.toString()
public PutScheduledUpdateGroupActionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()