public ListGatewayInstancesResult withInstances(java.util.Collection<ListedGatewayInstance> instances) {
        setInstances(instances);
        return this;
    }
A list of instance summaries.

@param instances
       A list of instance summaries.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/ListGatewayInstancesResult.java