code: public DescribeDeploymentsRequest withDeploymentIds(String... deploymentIds) {
          if (this.deploymentIds == null) {
              setDeploymentIds(new com.amazonaws.internal.SdkInternalList<String>(deploymentIds.length));
          }
          for (String ele : deploymentIds) {
              this.deploymentIds.add(ele);
          }
          return this;
      }
docs: <p>
  An array of deployment IDs to be described. If you include this parameter, the command returns a description of
  the specified deployments. Otherwise, it returns a description of every deployment.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDeploymentIds(java.util.Collection)} or {@link #withDeploymentIds(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param deploymentIds
  An array of deployment IDs to be described. If you include this parameter, the command returns a
  description of the specified deployments. Otherwise, it returns a description of every deployment.
  @return Returns a reference to this object so that method calls can be chained together.