public void setOriginEndpoints(java.util.Collection<OriginEndpoint> originEndpoints) {
        if (originEndpoints == null) {
            this.originEndpoints = null;
            return;
        }

        this.originEndpoints = new java.util.ArrayList<OriginEndpoint>(originEndpoints);
    }
A list of OriginEndpoint records.

@param originEndpoints
       A list of OriginEndpoint records.
aws-java-sdk-mediapackage/src/main/java/com/amazonaws/services/mediapackage/model/ListOriginEndpointsResult.java