public class Activity
extends java.lang.Object
implements java.io.Serializable
A scaling Activity is a long-running process that represents a change to your AutoScalingGroup, such as changing the size of the group. It can also be a process to replace an instance, or a process to perform any other long-running operations supported by the API.
| コンストラクタと説明 |
|---|
Activity() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActivityId()
Specifies the ID of the activity.
|
java.lang.String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
java.lang.String |
getCause()
Contains the reason the activity was begun.
|
java.lang.String |
getDescription()
Contains a friendly, more verbose description of the scaling activity.
|
java.lang.String |
getDetails()
Contains details of the scaling activity.
|
java.util.Date |
getEndTime()
Provides the end time of this activity.
|
java.lang.Integer |
getProgress()
Specifies a value between 0 and 100 that indicates the progress of the
activity.
|
java.util.Date |
getStartTime()
Provides the start time of this activity.
|
java.lang.String |
getStatusCode()
Contains the current status of the activity.
|
java.lang.String |
getStatusMessage()
Contains a friendly, more verbose description of the activity status.
|
int |
hashCode() |
void |
setActivityId(java.lang.String activityId)
Specifies the ID of the activity.
|
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setCause(java.lang.String cause)
Contains the reason the activity was begun.
|
void |
setDescription(java.lang.String description)
Contains a friendly, more verbose description of the scaling activity.
|
void |
setDetails(java.lang.String details)
Contains details of the scaling activity.
|
void |
setEndTime(java.util.Date endTime)
Provides the end time of this activity.
|
void |
setProgress(java.lang.Integer progress)
Specifies a value between 0 and 100 that indicates the progress of the
activity.
|
void |
setStartTime(java.util.Date startTime)
Provides the start time of this activity.
|
void |
setStatusCode(ScalingActivityStatusCode statusCode)
Contains the current status of the activity.
|
void |
setStatusCode(java.lang.String statusCode)
Contains the current status of the activity.
|
void |
setStatusMessage(java.lang.String statusMessage)
Contains a friendly, more verbose description of the activity status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Activity |
withActivityId(java.lang.String activityId)
Specifies the ID of the activity.
|
Activity |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
|
Activity |
withCause(java.lang.String cause)
Contains the reason the activity was begun.
|
Activity |
withDescription(java.lang.String description)
Contains a friendly, more verbose description of the scaling activity.
|
Activity |
withDetails(java.lang.String details)
Contains details of the scaling activity.
|
Activity |
withEndTime(java.util.Date endTime)
Provides the end time of this activity.
|
Activity |
withProgress(java.lang.Integer progress)
Specifies a value between 0 and 100 that indicates the progress of the
activity.
|
Activity |
withStartTime(java.util.Date startTime)
Provides the start time of this activity.
|
Activity |
withStatusCode(ScalingActivityStatusCode statusCode)
Contains the current status of the activity.
|
Activity |
withStatusCode(java.lang.String statusCode)
Contains the current status of the activity.
|
Activity |
withStatusMessage(java.lang.String statusMessage)
Contains a friendly, more verbose description of the activity status.
|
public java.lang.String getActivityId()
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
public void setActivityId(java.lang.String activityId)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
activityId - Specifies the ID of the activity.public Activity withActivityId(java.lang.String activityId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
activityId - Specifies the ID of the activity.public java.lang.String getAutoScalingGroupName()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName - The name of the Auto Scaling group.public Activity withAutoScalingGroupName(java.lang.String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName - The name of the Auto Scaling group.public java.lang.String getDescription()
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
public void setDescription(java.lang.String description)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
description - Contains a friendly, more verbose description of the scaling activity.public Activity withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
description - Contains a friendly, more verbose description of the scaling activity.public java.lang.String getCause()
Constraints:
Length: 1 - 1023
Pattern: [ --�𐀀-\r\n\t]*
public void setCause(java.lang.String cause)
Constraints:
Length: 1 - 1023
Pattern: [ --�𐀀-\r\n\t]*
cause - Contains the reason the activity was begun.public Activity withCause(java.lang.String cause)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1023
Pattern: [ --�𐀀-\r\n\t]*
cause - Contains the reason the activity was begun.public java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
startTime - Provides the start time of this activity.public Activity withStartTime(java.util.Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime - Provides the start time of this activity.public java.util.Date getEndTime()
public void setEndTime(java.util.Date endTime)
endTime - Provides the end time of this activity.public Activity withEndTime(java.util.Date endTime)
Returns a reference to this object so that method calls can be chained together.
endTime - Provides the end time of this activity.public java.lang.String getStatusCode()
Constraints:
Allowed Values: WaitingForSpotInstanceRequestId, WaitingForSpotInstanceId, WaitingForInstanceId, PreInService, InProgress, Successful, Failed, Cancelled
ScalingActivityStatusCodepublic void setStatusCode(java.lang.String statusCode)
Constraints:
Allowed Values: WaitingForSpotInstanceRequestId, WaitingForSpotInstanceId, WaitingForInstanceId, PreInService, InProgress, Successful, Failed, Cancelled
statusCode - Contains the current status of the activity.ScalingActivityStatusCodepublic Activity withStatusCode(java.lang.String statusCode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: WaitingForSpotInstanceRequestId, WaitingForSpotInstanceId, WaitingForInstanceId, PreInService, InProgress, Successful, Failed, Cancelled
statusCode - Contains the current status of the activity.ScalingActivityStatusCodepublic void setStatusCode(ScalingActivityStatusCode statusCode)
Constraints:
Allowed Values: WaitingForSpotInstanceRequestId, WaitingForSpotInstanceId, WaitingForInstanceId, PreInService, InProgress, Successful, Failed, Cancelled
statusCode - Contains the current status of the activity.ScalingActivityStatusCodepublic Activity withStatusCode(ScalingActivityStatusCode statusCode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: WaitingForSpotInstanceRequestId, WaitingForSpotInstanceId, WaitingForInstanceId, PreInService, InProgress, Successful, Failed, Cancelled
statusCode - Contains the current status of the activity.ScalingActivityStatusCodepublic java.lang.String getStatusMessage()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setStatusMessage(java.lang.String statusMessage)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
statusMessage - Contains a friendly, more verbose description of the activity status.public Activity withStatusMessage(java.lang.String statusMessage)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
statusMessage - Contains a friendly, more verbose description of the activity status.public java.lang.Integer getProgress()
public void setProgress(java.lang.Integer progress)
progress - Specifies a value between 0 and 100 that indicates the progress of the
activity.public Activity withProgress(java.lang.Integer progress)
Returns a reference to this object so that method calls can be chained together.
progress - Specifies a value between 0 and 100 that indicates the progress of the
activity.public java.lang.String getDetails()
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
public void setDetails(java.lang.String details)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
details - Contains details of the scaling activity.public Activity withDetails(java.lang.String details)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
details - Contains details of the scaling activity.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