|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.PutScheduledUpdateGroupActionRequest
public class PutScheduledUpdateGroupActionRequest
Container for the parameters to the PutScheduledUpdateGroupAction operation
.
Creates a scheduled scaling action for a Auto Scaling group. If you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.
AmazonAutoScaling.putScheduledUpdateGroupAction(PutScheduledUpdateGroupActionRequest)
Constructor Summary | |
---|---|
PutScheduledUpdateGroupActionRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAutoScalingGroupName()
The name or ARN of the Auto Scaling Group. |
Integer |
getDesiredCapacity()
The number of Amazon 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 new 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. |
Date |
getTime()
The time for this action to start. |
int |
hashCode()
|
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name or ARN of the Auto Scaling Group. |
void |
setDesiredCapacity(Integer desiredCapacity)
The number of Amazon 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 new 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. |
void |
setTime(Date time)
The time for this action to start. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
PutScheduledUpdateGroupActionRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name or ARN of the Auto Scaling Group. |
PutScheduledUpdateGroupActionRequest |
withDesiredCapacity(Integer desiredCapacity)
The number of Amazon 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 new 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. |
PutScheduledUpdateGroupActionRequest |
withTime(Date time)
The time for this action to start. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PutScheduledUpdateGroupActionRequest()
Method Detail |
---|
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name or ARN of the Auto Scaling Group.public PutScheduledUpdateGroupActionRequest withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name or ARN of the Auto Scaling Group.
public String getScheduledActionName()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setScheduledActionName(String scheduledActionName)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
scheduledActionName
- The name of this scaling action.public PutScheduledUpdateGroupActionRequest withScheduledActionName(String scheduledActionName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
scheduledActionName
- The name of this scaling action.
public Date getTime()
Time
can be specified
instead of StartTime
, or vice versa. If Time
is specified together with StartTime
, their values should
be identical. Otherwise, PutScheduledUpdateGroupAction
will return an error.
Time
can be specified
instead of StartTime
, or vice versa. If Time
is specified together with StartTime
, their values should
be identical. Otherwise, PutScheduledUpdateGroupAction
will return an error.public void setTime(Date time)
Time
can be specified
instead of StartTime
, or vice versa. If Time
is specified together with StartTime
, their values should
be identical. Otherwise, PutScheduledUpdateGroupAction
will return an error.
time
- The time for this action to start. Time
can be specified
instead of StartTime
, or vice versa. If Time
is specified together with StartTime
, their values should
be identical. Otherwise, PutScheduledUpdateGroupAction
will return an error.public PutScheduledUpdateGroupActionRequest withTime(Date time)
Time
can be specified
instead of StartTime
, or vice versa. If Time
is specified together with StartTime
, their values should
be identical. Otherwise, PutScheduledUpdateGroupAction
will return an error.
Returns a reference to this object so that method calls can be chained together.
time
- The time for this action to start. Time
can be specified
instead of StartTime
, or vice versa. If Time
is specified together with StartTime
, their values should
be identical. Otherwise, PutScheduledUpdateGroupAction
will return an error.
public Date getStartTime()
public void setStartTime(Date startTime)
startTime
- The time for this action to start.public PutScheduledUpdateGroupActionRequest withStartTime(Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime
- The time for this action to start.
public Date getEndTime()
public void setEndTime(Date endTime)
endTime
- The time for this action to end.public PutScheduledUpdateGroupActionRequest withEndTime(Date endTime)
Returns a reference to this object so that method calls can be chained together.
endTime
- The time for this action to end.
public String getRecurrence()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setRecurrence(String recurrence)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
recurrence
- The time when recurring future actions will start. Start time is
specified by the user following the Unix Cron syntax format. For
information about Cron syntax, go to Wikipedia, The Free
Encyclopedia.public PutScheduledUpdateGroupActionRequest withRecurrence(String recurrence)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
recurrence
- The time when recurring future actions will start. Start time is
specified by the user following the Unix Cron syntax format. For
information about Cron syntax, go to Wikipedia, The Free
Encyclopedia.
public Integer getMinSize()
public void setMinSize(Integer minSize)
minSize
- The minimum size for the new Auto Scaling group.public PutScheduledUpdateGroupActionRequest withMinSize(Integer minSize)
Returns a reference to this object so that method calls can be chained together.
minSize
- The minimum size for the new Auto Scaling group.
public Integer getMaxSize()
public void setMaxSize(Integer maxSize)
maxSize
- The maximum size for the Auto Scaling group.public PutScheduledUpdateGroupActionRequest withMaxSize(Integer maxSize)
Returns a reference to this object so that method calls can be chained together.
maxSize
- The maximum size for the Auto Scaling group.
public Integer getDesiredCapacity()
public void setDesiredCapacity(Integer desiredCapacity)
desiredCapacity
- The number of Amazon EC2 instances that should be running in the
group.public PutScheduledUpdateGroupActionRequest withDesiredCapacity(Integer desiredCapacity)
Returns a reference to this object so that method calls can be chained together.
desiredCapacity
- The number of Amazon EC2 instances that should be running in the
group.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |