@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 or Amazon Resource Name (ARN) of the Auto Scaling group.
|
Integer |
getDesiredCapacity()
The number of EC2 instances that should be running in the group.
|
Date |
getEndTime()
The time for the recurring schedule to end.
|
Integer |
getMaxSize()
The maximum size for the Auto Scaling group.
|
Integer |
getMinSize()
The minimum size for 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 time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example,
2014-06-01T00:00:00Z ). |
Date |
getTime()
This parameter is deprecated.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
|
void |
setDesiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the group.
|
void |
setEndTime(Date endTime)
The time for the recurring schedule to end.
|
void |
setMaxSize(Integer maxSize)
The maximum size for the Auto Scaling group.
|
void |
setMinSize(Integer minSize)
The minimum size for 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 time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example,
2014-06-01T00:00:00Z ). |
void |
setTime(Date time)
This parameter is deprecated.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutScheduledUpdateGroupActionRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
|
PutScheduledUpdateGroupActionRequest |
withDesiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the group.
|
PutScheduledUpdateGroupActionRequest |
withEndTime(Date endTime)
The time for the recurring schedule to end.
|
PutScheduledUpdateGroupActionRequest |
withMaxSize(Integer maxSize)
The maximum size for the Auto Scaling group.
|
PutScheduledUpdateGroupActionRequest |
withMinSize(Integer minSize)
The minimum size for 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 time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example,
2014-06-01T00:00:00Z ). |
PutScheduledUpdateGroupActionRequest |
withTime(Date time)
This parameter is deprecated.
|
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 or Amazon Resource Name (ARN) of the Auto Scaling group.
autoScalingGroupName
- The name or Amazon Resource Name (ARN) of the Auto Scaling group.public String getAutoScalingGroupName()
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
public PutScheduledUpdateGroupActionRequest withAutoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
autoScalingGroupName
- The name or Amazon Resource Name (ARN) 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 deprecated.
time
- This parameter is deprecated.public Date getTime()
This parameter is deprecated.
public PutScheduledUpdateGroupActionRequest withTime(Date time)
This parameter is deprecated.
time
- This parameter is deprecated.public void setStartTime(Date 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
, 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, Auto Scaling returns an error message.
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
, 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, Auto Scaling returns an error message.
public Date getStartTime()
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
, 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, Auto Scaling returns an error message.
2014-06-01T00:00:00Z
).
If you specify Recurrence
and StartTime
, 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, Auto Scaling returns an error message.
public PutScheduledUpdateGroupActionRequest withStartTime(Date 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
, 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, Auto Scaling returns an error message.
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
, 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, Auto Scaling returns an error message.
public void setEndTime(Date endTime)
The time for the recurring schedule to end. Auto Scaling does not perform the action after this time.
endTime
- The time for the recurring schedule to end. Auto Scaling does not perform the action after this time.public Date getEndTime()
The time for the recurring schedule to end. Auto Scaling does not perform the action after this time.
public PutScheduledUpdateGroupActionRequest withEndTime(Date endTime)
The time for the recurring schedule to end. Auto Scaling does not perform the action after this time.
endTime
- The time for the recurring schedule to end. 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. For more information, see Cron in Wikipedia.
recurrence
- The recurring schedule for this action, in Unix cron syntax format. For more information, see Cron in Wikipedia.public String getRecurrence()
The recurring schedule for this action, in Unix cron syntax format. For more information, see Cron in Wikipedia.
public PutScheduledUpdateGroupActionRequest withRecurrence(String recurrence)
The recurring schedule for this action, in Unix cron syntax format. For more information, see Cron in Wikipedia.
recurrence
- The recurring schedule for this action, in Unix cron syntax format. For more information, see Cron in Wikipedia.public void setMinSize(Integer minSize)
The minimum size for the Auto Scaling group.
minSize
- The minimum size for the Auto Scaling group.public Integer getMinSize()
The minimum size for the Auto Scaling group.
public PutScheduledUpdateGroupActionRequest withMinSize(Integer minSize)
The minimum size for the Auto Scaling group.
minSize
- The minimum size for the Auto Scaling group.public void setMaxSize(Integer maxSize)
The maximum size for the Auto Scaling group.
maxSize
- The maximum size for the Auto Scaling group.public Integer getMaxSize()
The maximum size for the Auto Scaling group.
public PutScheduledUpdateGroupActionRequest withMaxSize(Integer maxSize)
The maximum size for the Auto Scaling group.
maxSize
- The maximum size for the Auto Scaling group.public void setDesiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the group.
desiredCapacity
- The number of EC2 instances that should be running in the group.public Integer getDesiredCapacity()
The number of EC2 instances that should be running in the group.
public PutScheduledUpdateGroupActionRequest withDesiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the group.
desiredCapacity
- The number of EC2 instances that should be running in the group.public String toString()
toString
in class Object
Object.toString()
public PutScheduledUpdateGroupActionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.