public class DetachInstancesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Activity> |
activities
The activities related to detaching the instances from the Auto Scaling
group.
|
Constructor and Description |
---|
DetachInstancesResult() |
Modifier and Type | Method and Description |
---|---|
DetachInstancesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Activity> |
getActivities()
The activities related to detaching the instances from the Auto Scaling
group.
|
int |
hashCode() |
void |
setActivities(java.util.Collection<Activity> activities)
The activities related to detaching the instances from the Auto Scaling
group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachInstancesResult |
withActivities(Activity... activities)
The activities related to detaching the instances from the Auto Scaling
group.
|
DetachInstancesResult |
withActivities(java.util.Collection<Activity> activities)
The activities related to detaching the instances from the Auto Scaling
group.
|
private SdkInternalList<Activity> activities
The activities related to detaching the instances from the Auto Scaling group.
public java.util.List<Activity> getActivities()
The activities related to detaching the instances from the Auto Scaling group.
public void setActivities(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DetachInstancesResult clone()
clone
in class java.lang.Object