|
|||||||
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(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(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(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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Activity()
Method Detail |
---|
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:
Pattern: [ -??-??-?\r\n\t]*
public void setStatusCode(java.lang.String statusCode)
Constraints:
Pattern: [ -??-??-?\r\n\t]*
statusCode
- Contains the current status of the activity.public Activity withStatusCode(java.lang.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 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
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |