Interface CreateContainerResponse.Builder

    • 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, 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.

        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/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.

        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, 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 method that creates an instance of the Container.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).

        Parameters:
        container - a consumer that will call methods on Container.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        container(Container)