public static interface CreateContainerResponse.Builder extends MediaStoreResponse.Builder, SdkPojo, CopyableBuilder<CreateContainerResponse.Builder,CreateContainerResponse>
Modifier and Type | Method and Description |
---|---|
default CreateContainerResponse.Builder |
container(Consumer<Container.Builder> container)
ContainerARN: The Amazon Resource Name (ARN) of the newly created container.
|
CreateContainerResponse.Builder |
container(Container container)
ContainerARN: The Amazon Resource Name (ARN) of the newly created container.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateContainerResponse.Builder container(Container container)
ContainerARN: The Amazon Resource Name (ARN) of the newly created container. The ARN has the following format: arn:aws:<region>:<account that owns this container>:container/<name of container>. For example: arn:aws:mediastore:us-west-2:111122223333:container/movies
ContainerName: The container name as specified in the request.
CreationTime: Unix time stamp.
Status: The status of container creation or deletion. The status is one of the following:
CREATING
, ACTIVE
, or DELETING
. While the service is creating the
container, the status is CREATING
. When an endpoint is available, the status changes to
ACTIVE
.
The return value does not include the container's endpoint. To make downstream requests, you must obtain this value by using DescribeContainer or ListContainers.
container
- ContainerARN: The Amazon Resource Name (ARN) of the newly created container. The ARN has the following
format: arn:aws:<region>:<account that owns this container>:container/<name of
container>. For example: arn:aws:mediastore:us-west-2:111122223333:container/movies
ContainerName: The container name as specified in the request.
CreationTime: Unix time stamp.
Status: The status of container creation or deletion. The status is one of the following:
CREATING
, ACTIVE
, or DELETING
. While the service is creating
the container, the status is CREATING
. When an endpoint is available, the status changes
to ACTIVE
.
The return value does not include the container's endpoint. To make downstream requests, you must obtain this value by using DescribeContainer or ListContainers.
default CreateContainerResponse.Builder container(Consumer<Container.Builder> container)
ContainerARN: The Amazon Resource Name (ARN) of the newly created container. The ARN has the following format: arn:aws:<region>:<account that owns this container>:container/<name of container>. For example: arn:aws:mediastore:us-west-2:111122223333:container/movies
ContainerName: The container name as specified in the request.
CreationTime: Unix time stamp.
Status: The status of container creation or deletion. The status is one of the following:
CREATING
, ACTIVE
, or DELETING
. While the service is creating the
container, the status is CREATING
. When an endpoint is available, the status changes to
ACTIVE
.
The return value does not include the container's endpoint. To make downstream requests, you must obtain this value by using DescribeContainer or ListContainers.
This is a convenience that creates an instance of theContainer.Builder
avoiding the need to create
one manually via Container.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to container(Container)
.container
- a consumer that will call methods on Container.Builder
container(Container)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.