public ListStageDevicesResult withDeviceDeploymentSummaries(DeviceDeploymentSummary... deviceDeploymentSummaries) {
        if (this.deviceDeploymentSummaries == null) {
            setDeviceDeploymentSummaries(new java.util.ArrayList<DeviceDeploymentSummary>(deviceDeploymentSummaries.length));
        }
        for (DeviceDeploymentSummary ele : deviceDeploymentSummaries) {
            this.deviceDeploymentSummaries.add(ele);
        }
        return this;
    }
<p>
List of summaries of devices allocated to the stage.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDeviceDeploymentSummaries(java.util.Collection)} or
{@link #withDeviceDeploymentSummaries(java.util.Collection)} if you want to override the existing values.
</p>

@param deviceDeploymentSummaries
       List of summaries of devices allocated to the stage.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListStageDevicesResult.java