public void setInstances(java.util.Collection<ListedGatewayInstance> instances) {
        if (instances == null) {
            this.instances = null;
            return;
        }

        this.instances = new java.util.ArrayList<ListedGatewayInstance>(instances);
    }
A list of instance summaries.

@param instances
       A list of instance summaries.
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/ListGatewayInstancesResult.java