public UpdateOriginEndpointResult withArn(String arn) {
        setArn(arn);
        return this;
    }
The Amazon Resource Name (ARN) assigned to the OriginEndpoint.

@param arn
       The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
@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