* The list of container instances. *
*/ private com.amazonaws.internal.SdkInternalList* Any failures associated with the call. *
*/ private com.amazonaws.internal.SdkInternalList* The list of container instances. *
* * @return The list of container instances. */ public java.util.List* The list of container instances. *
* * @param containerInstances * The list of container instances. */ public void setContainerInstances(java.util.Collection* The list of container instances. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setContainerInstances(java.util.Collection)} or {@link #withContainerInstances(java.util.Collection)} if * you want to override the existing values. *
* * @param containerInstances * The list of container instances. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateContainerInstancesStateResult withContainerInstances(ContainerInstance... containerInstances) { if (this.containerInstances == null) { setContainerInstances(new com.amazonaws.internal.SdkInternalList* The list of container instances. *
* * @param containerInstances * The list of container instances. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateContainerInstancesStateResult withContainerInstances(java.util.Collection* Any failures associated with the call. *
* * @return Any failures associated with the call. */ public java.util.List* Any failures associated with the call. *
* * @param failures * Any failures associated with the call. */ public void setFailures(java.util.Collection* Any failures associated with the call. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setFailures(java.util.Collection)} or {@link #withFailures(java.util.Collection)} if you want to override * the existing values. *
* * @param failures * Any failures associated with the call. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateContainerInstancesStateResult withFailures(Failure... failures) { if (this.failures == null) { setFailures(new com.amazonaws.internal.SdkInternalList* Any failures associated with the call. *
* * @param failures * Any failures associated with the call. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateContainerInstancesStateResult withFailures(java.util.Collection