Class DetachInstancesResult
- java.lang.Object
-
- com.amazonaws.services.autoscaling.model.DetachInstancesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DetachInstancesResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DetachInstancesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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; useful for testing and debugging.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.
-
-
-
Method Detail
-
getActivities
public List<Activity> getActivities()
The activities related to detaching the instances from the Auto Scaling group.
- Returns:
- The activities related to detaching the instances from the Auto Scaling group.
-
setActivities
public void setActivities(Collection<Activity> activities)
The activities related to detaching the instances from the Auto Scaling group.
- Parameters:
activities
- The activities related to detaching the instances from the Auto Scaling group.
-
withActivities
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)
orwithActivities(java.util.Collection)
if you want to override the existing values.- Parameters:
activities
- The activities related to detaching the instances from the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withActivities
public DetachInstancesResult withActivities(Collection<Activity> activities)
The activities related to detaching the instances from the Auto Scaling group.
- Parameters:
activities
- The activities related to detaching the instances from the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DetachInstancesResult clone()
-
-