public UpdateOriginEndpointResult withOriginEndpointName(String originEndpointName) {
        setOriginEndpointName(originEndpointName);
        return this;
    }
<p>
The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and
must be unique for your account in the AWS Region and channel.
</p>

@param originEndpointName
       The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint,
       and and must be unique for your account in the AWS Region and channel.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediapackagev2/src/main/java/com/amazonaws/services/mediapackagev2/model/UpdateOriginEndpointResult.java