Interface CreateContainerResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateContainerResponse.Builder,CreateContainerResponse>,MediaStoreResponse.Builder,SdkBuilder<CreateContainerResponse.Builder,CreateContainerResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateContainerResponse
public static interface CreateContainerResponse.Builder extends MediaStoreResponse.Builder, SdkPojo, CopyableBuilder<CreateContainerResponse.Builder,CreateContainerResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateContainerResponse.Buildercontainer(Consumer<Container.Builder> container)ContainerARN: The Amazon Resource Name (ARN) of the newly created container.CreateContainerResponse.Buildercontainer(Container container)ContainerARN: The Amazon Resource Name (ARN) of the newly created container.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mediastore.model.MediaStoreResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
container
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, orDELETING. While the service is creating the container, the status isCREATING. When an endpoint is available, the status changes toACTIVE.The return value does not include the container's endpoint. To make downstream requests, you must obtain this value by using DescribeContainer or ListContainers.
- Parameters:
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/moviesContainerName: 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, orDELETING. While the service is creating the container, the status isCREATING. When an endpoint is available, the status changes toACTIVE.The return value does not include the container's endpoint. To make downstream requests, you must obtain this value by using DescribeContainer or ListContainers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
container
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, orDELETING. While the service is creating the container, the status isCREATING. When an endpoint is available, the status changes toACTIVE.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 method that creates an instance of theContainer.Builderavoiding the need to create one manually viaContainer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainer(Container).- Parameters:
container- a consumer that will call methods onContainer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
container(Container)
-
-