Class PutScheduledUpdateGroupActionRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.autoscaling.model.PutScheduledUpdateGroupActionRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class PutScheduledUpdateGroupActionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PutScheduledUpdateGroupActionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutScheduledUpdateGroupActionRequest
clone()
Creates a shallow clone of this request.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 this action 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 time when recurring future actions will start.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 this action 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 time when recurring future actions will start.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 this action 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 time when recurring future actions will start.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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setAutoScalingGroupName
public void setAutoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
- Parameters:
autoScalingGroupName
- The name or Amazon Resource Name (ARN) of the Auto Scaling group.
-
getAutoScalingGroupName
public String getAutoScalingGroupName()
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
- Returns:
- The name or Amazon Resource Name (ARN) of the Auto Scaling group.
-
withAutoScalingGroupName
public PutScheduledUpdateGroupActionRequest withAutoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
- Parameters:
autoScalingGroupName
- The name or Amazon Resource Name (ARN) of the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setScheduledActionName
public void setScheduledActionName(String scheduledActionName)
The name of this scaling action.
- Parameters:
scheduledActionName
- The name of this scaling action.
-
getScheduledActionName
public String getScheduledActionName()
The name of this scaling action.
- Returns:
- The name of this scaling action.
-
withScheduledActionName
public PutScheduledUpdateGroupActionRequest withScheduledActionName(String scheduledActionName)
The name of this scaling action.
- Parameters:
scheduledActionName
- The name of this scaling action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTime
public void setTime(Date time)
This parameter is deprecated.
- Parameters:
time
- This parameter is deprecated.
-
getTime
public Date getTime()
This parameter is deprecated.
- Returns:
- This parameter is deprecated.
-
withTime
public PutScheduledUpdateGroupActionRequest withTime(Date time)
This parameter is deprecated.
- Parameters:
time
- This parameter is deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartTime
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 try to schedule your action in the past, Auto Scaling returns an error message.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action starts and stops.- Parameters:
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 try to schedule your action in the past, Auto Scaling returns an error message.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action starts and stops.
-
getStartTime
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 try to schedule your action in the past, Auto Scaling returns an error message.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action starts and stops.- Returns:
- 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 try to schedule your action in the past, Auto Scaling returns an error message.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action starts and stops.
-
withStartTime
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 try to schedule your action in the past, Auto Scaling returns an error message.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action starts and stops.- Parameters:
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 try to schedule your action in the past, Auto Scaling returns an error message.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action starts and stops.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndTime
public void setEndTime(Date endTime)
The time for this action to end.
- Parameters:
endTime
- The time for this action to end.
-
getEndTime
public Date getEndTime()
The time for this action to end.
- Returns:
- The time for this action to end.
-
withEndTime
public PutScheduledUpdateGroupActionRequest withEndTime(Date endTime)
The time for this action to end.
- Parameters:
endTime
- The time for this action to end.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRecurrence
public void setRecurrence(String recurrence)
The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For more information, see Cron in Wikipedia.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action will start and stop.- Parameters:
recurrence
- The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For more information, see Cron in Wikipedia.When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action will start and stop.
-
getRecurrence
public String getRecurrence()
The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For more information, see Cron in Wikipedia.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action will start and stop.- Returns:
- The time when recurring future actions will start. Start time is
specified by the user following the Unix cron syntax format. For
more information, see Cron in
Wikipedia.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action will start and stop.
-
withRecurrence
public PutScheduledUpdateGroupActionRequest withRecurrence(String recurrence)
The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For more information, see Cron in Wikipedia.
When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action will start and stop.- Parameters:
recurrence
- The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For more information, see Cron in Wikipedia.When
StartTime
andEndTime
are specified withRecurrence
, they form the boundaries of when the recurring action will start and stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMinSize
public void setMinSize(Integer minSize)
The minimum size for the Auto Scaling group.
- Parameters:
minSize
- The minimum size for the Auto Scaling group.
-
getMinSize
public Integer getMinSize()
The minimum size for the Auto Scaling group.
- Returns:
- The minimum size for the Auto Scaling group.
-
withMinSize
public PutScheduledUpdateGroupActionRequest withMinSize(Integer minSize)
The minimum size for the Auto Scaling group.
- Parameters:
minSize
- The minimum size for the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxSize
public void setMaxSize(Integer maxSize)
The maximum size for the Auto Scaling group.
- Parameters:
maxSize
- The maximum size for the Auto Scaling group.
-
getMaxSize
public Integer getMaxSize()
The maximum size for the Auto Scaling group.
- Returns:
- The maximum size for the Auto Scaling group.
-
withMaxSize
public PutScheduledUpdateGroupActionRequest withMaxSize(Integer maxSize)
The maximum size for the Auto Scaling group.
- Parameters:
maxSize
- The maximum size for the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDesiredCapacity
public void setDesiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the group.
- Parameters:
desiredCapacity
- The number of EC2 instances that should be running in the group.
-
getDesiredCapacity
public Integer getDesiredCapacity()
The number of EC2 instances that should be running in the group.
- Returns:
- The number of EC2 instances that should be running in the group.
-
withDesiredCapacity
public PutScheduledUpdateGroupActionRequest withDesiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the group.
- Parameters:
desiredCapacity
- The number of EC2 instances that should be running in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PutScheduledUpdateGroupActionRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-