public UpdateOriginEndpointResult withContainerType(ContainerType containerType) {
        this.containerType = containerType.toString();
        return this;
    }
<p>
The type of container attached to this origin endpoint.
</p>

@param containerType
       The type of container attached to this origin endpoint.
@return Returns a reference to this object so that method calls can be chained together.
@see ContainerType
aws-java-sdk-mediapackagev2/src/main/java/com/amazonaws/services/mediapackagev2/model/UpdateOriginEndpointResult.java