* The activities related to detaching the instances from the Auto Scaling group. *
*/ private com.amazonaws.internal.SdkInternalList* The activities related to detaching the instances from the Auto Scaling group. *
* * @return The activities related to detaching the instances from the Auto Scaling group. */ public java.util.List* The activities related to detaching the instances from the Auto Scaling group. *
* * @param activities * The activities related to detaching the instances from the Auto Scaling group. */ public void setActivities(java.util.Collection* 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 * {@link #setActivities(java.util.Collection)} or {@link #withActivities(java.util.Collection)} if you want to * override the existing values. *
* * @param activities * The activities related to detaching the instances from the Auto Scaling group. * @return Returns a reference to this object so that method calls can be chained together. */ public DetachInstancesResult withActivities(Activity... activities) { if (this.activities == null) { setActivities(new com.amazonaws.internal.SdkInternalList* The activities related to detaching the instances from the Auto Scaling group. *
* * @param activities * The activities related to detaching the instances from the Auto Scaling group. * @return Returns a reference to this object so that method calls can be chained together. */ public DetachInstancesResult withActivities(java.util.Collection