public class PutScheduledUpdateGroupActionRequest extends AmazonWebServiceRequest implements java.io.Serializable
PutScheduledUpdateGroupAction operation.
Creates a scheduled scaling action for an Auto Scaling group. If you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.
| コンストラクタと説明 |
|---|
PutScheduledUpdateGroupActionRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name or ARN of the Auto Scaling group.
|
java.lang.Integer |
getDesiredCapacity()
The number of Amazon EC2 instances that should be running in the
group.
|
java.util.Date |
getEndTime()
The time for this action to end.
|
java.lang.Integer |
getMaxSize()
The maximum size for the Auto Scaling group.
|
java.lang.Integer |
getMinSize()
The minimum size for the new Auto Scaling group.
|
java.lang.String |
getRecurrence()
The time when recurring future actions will start.
|
java.lang.String |
getScheduledActionName()
The name of this scaling action.
|
java.util.Date |
getStartTime()
The time for this action to start, as in
--start-time
2010-06-01T00:00:00Z. |
java.util.Date |
getTime()
Time is deprecated. |
int |
hashCode() |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or ARN of the Auto Scaling group.
|
void |
setDesiredCapacity(java.lang.Integer desiredCapacity)
The number of Amazon EC2 instances that should be running in the
group.
|
void |
setEndTime(java.util.Date endTime)
The time for this action to end.
|
void |
setMaxSize(java.lang.Integer maxSize)
The maximum size for the Auto Scaling group.
|
void |
setMinSize(java.lang.Integer minSize)
The minimum size for the new Auto Scaling group.
|
void |
setRecurrence(java.lang.String recurrence)
The time when recurring future actions will start.
|
void |
setScheduledActionName(java.lang.String scheduledActionName)
The name of this scaling action.
|
void |
setStartTime(java.util.Date startTime)
The time for this action to start, as in
--start-time
2010-06-01T00:00:00Z. |
void |
setTime(java.util.Date time)
Time is deprecated. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutScheduledUpdateGroupActionRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or ARN of the Auto Scaling group.
|
PutScheduledUpdateGroupActionRequest |
withDesiredCapacity(java.lang.Integer desiredCapacity)
The number of Amazon EC2 instances that should be running in the
group.
|
PutScheduledUpdateGroupActionRequest |
withEndTime(java.util.Date endTime)
The time for this action to end.
|
PutScheduledUpdateGroupActionRequest |
withMaxSize(java.lang.Integer maxSize)
The maximum size for the Auto Scaling group.
|
PutScheduledUpdateGroupActionRequest |
withMinSize(java.lang.Integer minSize)
The minimum size for the new Auto Scaling group.
|
PutScheduledUpdateGroupActionRequest |
withRecurrence(java.lang.String recurrence)
The time when recurring future actions will start.
|
PutScheduledUpdateGroupActionRequest |
withScheduledActionName(java.lang.String scheduledActionName)
The name of this scaling action.
|
PutScheduledUpdateGroupActionRequest |
withStartTime(java.util.Date startTime)
The time for this action to start, as in
--start-time
2010-06-01T00:00:00Z. |
PutScheduledUpdateGroupActionRequest |
withTime(java.util.Date time)
Time is deprecated. |
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName - The name or ARN of the Auto Scaling group.public PutScheduledUpdateGroupActionRequest withAutoScalingGroupName(java.lang.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 java.lang.String getScheduledActionName()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setScheduledActionName(java.lang.String scheduledActionName)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
scheduledActionName - The name of this scaling action.public PutScheduledUpdateGroupActionRequest withScheduledActionName(java.lang.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 java.util.Date getTime()
Time is deprecated. The time for this action to start.
Time is an alias for StartTime and can be
specified instead of StartTime, or vice versa. If both
Time and StartTime are specified, their
values should be identical. Otherwise,
PutScheduledUpdateGroupAction will return an error.
Time is deprecated. The time for this action to start.
Time is an alias for StartTime and can be
specified instead of StartTime, or vice versa. If both
Time and StartTime are specified, their
values should be identical. Otherwise,
PutScheduledUpdateGroupAction will return an error.
public void setTime(java.util.Date time)
Time is deprecated. The time for this action to start.
Time is an alias for StartTime and can be
specified instead of StartTime, or vice versa. If both
Time and StartTime are specified, their
values should be identical. Otherwise,
PutScheduledUpdateGroupAction will return an error.
time - Time is deprecated. The time for this action to start.
Time is an alias for StartTime and can be
specified instead of StartTime, or vice versa. If both
Time and StartTime are specified, their
values should be identical. Otherwise,
PutScheduledUpdateGroupAction will return an error.
public PutScheduledUpdateGroupActionRequest withTime(java.util.Date time)
Time is deprecated. The time for this action to start.
Time is an alias for StartTime and can be
specified instead of StartTime, or vice versa. If both
Time and StartTime are specified, 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 - Time is deprecated. The time for this action to start.
Time is an alias for StartTime and can be
specified instead of StartTime, or vice versa. If both
Time and StartTime are specified, their
values should be identical. Otherwise,
PutScheduledUpdateGroupAction will return an error.
public java.util.Date getStartTime()
--start-time
2010-06-01T00:00:00Z. When StartTime and
EndTime are specified with Recurrence, they
form the boundaries of when the recurring action will start and stop.
--start-time
2010-06-01T00:00:00Z. When StartTime and
EndTime are specified with Recurrence, they
form the boundaries of when the recurring action will start and stop.
public void setStartTime(java.util.Date startTime)
--start-time
2010-06-01T00:00:00Z. When StartTime and
EndTime are specified with Recurrence, they
form the boundaries of when the recurring action will start and stop.
startTime - The time for this action to start, as in --start-time
2010-06-01T00:00:00Z. When StartTime and
EndTime are specified with Recurrence, they
form the boundaries of when the recurring action will start and stop.
public PutScheduledUpdateGroupActionRequest withStartTime(java.util.Date startTime)
--start-time
2010-06-01T00:00:00Z. When StartTime and
EndTime are specified with Recurrence, they
form the boundaries of when the recurring action will start and stop.
Returns a reference to this object so that method calls can be chained together.
startTime - The time for this action to start, as in --start-time
2010-06-01T00:00:00Z. When StartTime and
EndTime are specified with Recurrence, they
form the boundaries of when the recurring action will start and stop.
public java.util.Date getEndTime()
public void setEndTime(java.util.Date endTime)
endTime - The time for this action to end.public PutScheduledUpdateGroupActionRequest withEndTime(java.util.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 java.lang.String getRecurrence()
When StartTime and
EndTime are specified with Recurrence, they
form the boundaries of when the recurring action will start and stop.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
When StartTime and
EndTime are specified with Recurrence, they
form the boundaries of when the recurring action will start and stop.
public void setRecurrence(java.lang.String recurrence)
When StartTime and
EndTime are specified with Recurrence, they
form the boundaries of when the recurring action will start and stop.
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. When StartTime and
EndTime are specified with Recurrence, they
form the boundaries of when the recurring action will start and stop.
public PutScheduledUpdateGroupActionRequest withRecurrence(java.lang.String recurrence)
When StartTime and
EndTime are specified with Recurrence, they
form the boundaries of when the recurring action will start and stop.
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. When StartTime and
EndTime are specified with Recurrence, they
form the boundaries of when the recurring action will start and stop.
public java.lang.Integer getMinSize()
public void setMinSize(java.lang.Integer minSize)
minSize - The minimum size for the new Auto Scaling group.public PutScheduledUpdateGroupActionRequest withMinSize(java.lang.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 java.lang.Integer getMaxSize()
public void setMaxSize(java.lang.Integer maxSize)
maxSize - The maximum size for the Auto Scaling group.public PutScheduledUpdateGroupActionRequest withMaxSize(java.lang.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 java.lang.Integer getDesiredCapacity()
public void setDesiredCapacity(java.lang.Integer desiredCapacity)
desiredCapacity - The number of Amazon EC2 instances that should be running in the
group.public PutScheduledUpdateGroupActionRequest withDesiredCapacity(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object