Interface CreateContainerRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateContainerRequest.Builder,CreateContainerRequest>,MediaStoreRequest.Builder,SdkBuilder<CreateContainerRequest.Builder,CreateContainerRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateContainerRequest
public static interface CreateContainerRequest.Builder extends MediaStoreRequest.Builder, SdkPojo, CopyableBuilder<CreateContainerRequest.Builder,CreateContainerRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateContainerRequest.BuildercontainerName(String containerName)The name for the container.CreateContainerRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateContainerRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateContainerRequest.Buildertags(Collection<Tag> tags)An array of key:value pairs that you define.CreateContainerRequest.Buildertags(Consumer<Tag.Builder>... tags)An array of key:value pairs that you define.CreateContainerRequest.Buildertags(Tag... tags)An array of key:value pairs that you define.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mediastore.model.MediaStoreRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
containerName
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
moviesin every region, as long as you don’t have an existing container with that name.- Parameters:
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 namedmoviesin every region, as long as you don’t have an existing container with that name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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 method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateContainerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateContainerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-