@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetachInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DetachInstancesResult() |
Modifier and Type | Method and Description |
---|---|
DetachInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<Activity> |
getActivities()
The activities related to detaching the instances from the Auto Scaling group.
|
int |
hashCode() |
void |
setActivities(Collection<Activity> activities)
The activities related to detaching the instances from the Auto Scaling group.
|
String |
toString()
Returns a string representation of this object.
|
DetachInstancesResult |
withActivities(Activity... activities)
The activities related to detaching the instances from the Auto Scaling group.
|
DetachInstancesResult |
withActivities(Collection<Activity> activities)
The activities related to detaching the instances from the Auto Scaling group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Activity> getActivities()
The activities related to detaching the instances from the Auto Scaling group.
public void setActivities(Collection<Activity> activities)
The activities related to detaching the instances from the Auto Scaling group.
activities
- The activities related to detaching the instances from the Auto Scaling group.public DetachInstancesResult withActivities(Activity... activities)
The activities related to detaching the instances from the Auto Scaling group.
NOTE: This method appends the values to the existing list (if any). Use
setActivities(java.util.Collection)
or withActivities(java.util.Collection)
if you want to
override the existing values.
activities
- The activities related to detaching the instances from the Auto Scaling group.public DetachInstancesResult withActivities(Collection<Activity> activities)
The activities related to detaching the instances from the Auto Scaling group.
activities
- The activities related to detaching the instances from the Auto Scaling group.public String toString()
toString
in class Object
Object.toString()
public DetachInstancesResult clone()