public void setDeployments(java.util.Collection<DeploymentSummary> deployments) {
        if (deployments == null) {
            this.deployments = null;
            return;
        }

        this.deployments = new java.util.ArrayList<DeploymentSummary>(deployments);
    }
<p>
The list of deployments that is returned.
</p>

@param deployments
       The list of deployments that is returned.
aws-java-sdk-mainframemodernization/src/main/java/com/amazonaws/services/mainframemodernization/model/ListDeploymentsResult.java