code: public DeploymentInfo withDeploymentStatusMessages(String... deploymentStatusMessages) {
          if (this.deploymentStatusMessages == null) {
              setDeploymentStatusMessages(new com.amazonaws.internal.SdkInternalList<String>(deploymentStatusMessages.length));
          }
          for (String ele : deploymentStatusMessages) {
              this.deploymentStatusMessages.add(ele);
          }
          return this;
      }
docs: <p>
  Messages that contain information about the status of a deployment.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDeploymentStatusMessages(java.util.Collection)} or
  {@link #withDeploymentStatusMessages(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param deploymentStatusMessages
  Messages that contain information about the status of a deployment.
  @return Returns a reference to this object so that method calls can be chained together.