public static interface CreateContainerRequest.Builder extends MediaStoreRequest.Builder, SdkPojo, CopyableBuilder<CreateContainerRequest.Builder,CreateContainerRequest>
Modifier and Type | Method and Description |
---|---|
CreateContainerRequest.Builder |
containerName(String containerName)
The name for the container.
|
CreateContainerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateContainerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateContainerRequest.Builder |
tags(Collection<Tag> tags)
An array of key:value pairs that you define.
|
CreateContainerRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An array of key:value pairs that you define.
|
CreateContainerRequest.Builder |
tags(Tag... tags)
An array of key:value pairs that you define.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateContainerRequest.Builder containerName(String containerName)
The name for the container. The name must be from 1 to 255 characters. Container names must be unique to your
AWS account within a specific region. As an example, you could create a container named movies
in every region, as long as you don’t have an existing container with that name.
containerName
- The name for the container. The name must be from 1 to 255 characters. Container names must be unique
to your AWS account within a specific region. As an example, you could create a container named
movies
in every region, as long as you don’t have an existing container with that name.CreateContainerRequest.Builder tags(Collection<Tag> tags)
An array of key:value pairs that you define. These values can be anything that you want. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in MediaStore.
tags
- An array of key:value pairs that you define. These values can be anything that you want. Typically,
the tag key represents a category (such as "environment") and the tag value represents a specific
value within that category (such as "test," "development," or "production"). You can add up to 50 tags
to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in
MediaStore.CreateContainerRequest.Builder tags(Tag... tags)
An array of key:value pairs that you define. These values can be anything that you want. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in MediaStore.
tags
- An array of key:value pairs that you define. These values can be anything that you want. Typically,
the tag key represents a category (such as "environment") and the tag value represents a specific
value within that category (such as "test," "development," or "production"). You can add up to 50 tags
to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in
MediaStore.CreateContainerRequest.Builder tags(Consumer<Tag.Builder>... tags)
An array of key:value pairs that you define. These values can be anything that you want. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in MediaStore.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateContainerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateContainerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.