|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.autoscaling.model.Activity
public class Activity
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.
Constructor Summary | |
---|---|
Activity()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getActivityId()
Specifies the ID of the activity. |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group. |
String |
getCause()
Contains the reason the activity was begun. |
String |
getDescription()
Contains a friendly, more verbose description of the scaling activity. |
Date |
getEndTime()
Provides the end time of this activity. |
Integer |
getProgress()
Specifies a value between 0 and 100 that indicates the progress of the activity. |
Date |
getStartTime()
Provides the start time of this activity. |
String |
getStatusCode()
Contains the current status of the activity. |
String |
getStatusMessage()
Contains a friendly, more verbose description of the activity status. |
int |
hashCode()
|
void |
setActivityId(String activityId)
Specifies the ID of the activity. |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group. |
void |
setCause(String cause)
Contains the reason the activity was begun. |
void |
setDescription(String description)
Contains a friendly, more verbose description of the scaling activity. |
void |
setEndTime(Date endTime)
Provides the end time of this activity. |
void |
setProgress(Integer progress)
Specifies a value between 0 and 100 that indicates the progress of the activity. |
void |
setStartTime(Date startTime)
Provides the start time of this activity. |
void |
setStatusCode(String statusCode)
Contains the current status of the activity. |
void |
setStatusMessage(String statusMessage)
Contains a friendly, more verbose description of the activity status. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Activity |
withActivityId(String activityId)
Specifies the ID of the activity. |
Activity |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group. |
Activity |
withCause(String cause)
Contains the reason the activity was begun. |
Activity |
withDescription(String description)
Contains a friendly, more verbose description of the scaling activity. |
Activity |
withEndTime(Date endTime)
Provides the end time of this activity. |
Activity |
withProgress(Integer progress)
Specifies a value between 0 and 100 that indicates the progress of the activity. |
Activity |
withStartTime(Date startTime)
Provides the start time of this activity. |
Activity |
withStatusCode(String statusCode)
Contains the current status of the activity. |
Activity |
withStatusMessage(String statusMessage)
Contains a friendly, more verbose description of the activity status. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Activity()
Method Detail |
---|
public String getActivityId()
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
public void setActivityId(String activityId)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
activityId
- Specifies the ID of the activity.public Activity withActivityId(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 String getAutoScalingGroupName()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group.public Activity withAutoScalingGroupName(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 String getDescription()
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
public void setDescription(String description)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
description
- Contains a friendly, more verbose description of the scaling activity.public Activity withDescription(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 String getCause()
Constraints:
Length: 1 - 1023
Pattern: [ --�𐀀-\r\n\t]*
public void setCause(String cause)
Constraints:
Length: 1 - 1023
Pattern: [ --�𐀀-\r\n\t]*
cause
- Contains the reason the activity was begun.public Activity withCause(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 Date getStartTime()
public void setStartTime(Date startTime)
startTime
- Provides the start time of this activity.public Activity withStartTime(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 Date getEndTime()
public void setEndTime(Date endTime)
endTime
- Provides the end time of this activity.public Activity withEndTime(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 String getStatusCode()
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
public void setStatusCode(String statusCode)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
statusCode
- Contains the current status of the activity.public Activity withStatusCode(String statusCode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
statusCode
- Contains the current status of the activity.
public String getStatusMessage()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setStatusMessage(String statusMessage)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
statusMessage
- Contains a friendly, more verbose description of the activity status.public Activity withStatusMessage(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 Integer getProgress()
public void setProgress(Integer progress)
progress
- Specifies a value between 0 and 100 that indicates the progress of the
activity.public Activity withProgress(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 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 |