* An array of objects that describe deployments for a container service. *
*/ private java.util.List* An array of objects that describe deployments for a container service. *
* * @return An array of objects that describe deployments for a container service. */ public java.util.List* An array of objects that describe deployments for a container service. *
* * @param deployments * An array of objects that describe deployments for a container service. */ public void setDeployments(java.util.Collection* An array of objects that describe deployments for a container service. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDeployments(java.util.Collection)} or {@link #withDeployments(java.util.Collection)} if you want to * override the existing values. *
* * @param deployments * An array of objects that describe deployments for a container service. * @return Returns a reference to this object so that method calls can be chained together. */ public GetContainerServiceDeploymentsResult withDeployments(ContainerServiceDeployment... deployments) { if (this.deployments == null) { setDeployments(new java.util.ArrayList* An array of objects that describe deployments for a container service. *
* * @param deployments * An array of objects that describe deployments for a container service. * @return Returns a reference to this object so that method calls can be chained together. */ public GetContainerServiceDeploymentsResult withDeployments(java.util.Collection