public ListOriginEndpointsResult withOriginEndpoints(java.util.Collection<OriginEndpoint> originEndpoints) {
        setOriginEndpoints(originEndpoints);
        return this;
    }
A list of OriginEndpoint records.

@param originEndpoints
       A list of OriginEndpoint records.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediapackage/src/main/java/com/amazonaws/services/mediapackage/model/ListOriginEndpointsResult.java