public CreateContainerResult withContainer(Container container) {
        setContainer(container);
        return this;
    }
<p>
ContainerARN: The Amazon Resource Name (ARN) of the newly created container. The ARN has the following format:
arn:aws:&lt;region&gt;:&lt;account that owns this container&gt;:container/&lt;name of container&gt;. For example:
arn:aws:mediastore:us-west-2:111122223333:container/movies
</p>
<p>
ContainerName: The container name as specified in the request.
</p>
<p>
CreationTime: Unix time stamp.
</p>
<p>
Status: The status of container creation or deletion. The status is one of the following: <code>CREATING</code>,
<code>ACTIVE</code>, or <code>DELETING</code>. While the service is creating the container, the status is
<code>CREATING</code>. When an endpoint is available, the status changes to <code>ACTIVE</code>.
</p>
<p>
The return value does not include the container's endpoint. To make downstream requests, you must obtain this
value by using <a>DescribeContainer</a> or <a>ListContainers</a>.
</p>

@param container
       ContainerARN: The Amazon Resource Name (ARN) of the newly created container. The ARN has the following
       format: arn:aws:&lt;region&gt;:&lt;account that owns this container&gt;:container/&lt;name of
       container&gt;. For example: arn:aws:mediastore:us-west-2:111122223333:container/movies </p>
       <p>
       ContainerName: The container name as specified in the request.
       </p>
       <p>
       CreationTime: Unix time stamp.
       </p>
       <p>
       Status: The status of container creation or deletion. The status is one of the following:
       <code>CREATING</code>, <code>ACTIVE</code>, or <code>DELETING</code>. While the service is creating the
       container, the status is <code>CREATING</code>. When an endpoint is available, the status changes to
       <code>ACTIVE</code>.
       </p>
       <p>
       The return value does not include the container's endpoint. To make downstream requests, you must obtain
       this value by using <a>DescribeContainer</a> or <a>ListContainers</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediastore/src/main/java/com/amazonaws/services/mediastore/model/CreateContainerResult.java