public ListDeploymentConfigsResult withDeploymentConfigsList(String... deploymentConfigsList) {
        if (this.deploymentConfigsList == null) {
            setDeploymentConfigsList(new com.amazonaws.internal.SdkInternalList<String>(deploymentConfigsList.length));
        }
        for (String ele : deploymentConfigsList) {
            this.deploymentConfigsList.add(ele);
        }
        return this;
    }
<p>
A list of deployment configurations, including built-in configurations such as
<code>CodeDeployDefault.OneAtATime</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDeploymentConfigsList(java.util.Collection)} or
{@link #withDeploymentConfigsList(java.util.Collection)} if you want to override the existing values.
</p>

@param deploymentConfigsList
       A list of deployment configurations, including built-in configurations such as
       <code>CodeDeployDefault.OneAtATime</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/ListDeploymentConfigsResult.java