public UpdateOriginEndpointResult withCmafPackage(CmafPackage cmafPackage) {
        setCmafPackage(cmafPackage);
        return this;
    }
@param cmafPackage
@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/UpdateOriginEndpointResult.java