@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateContainerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateContainerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateContainerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContainerName()
The name for the container.
|
List<Tag> |
getTags()
An array of key:value pairs that you define.
|
int |
hashCode() |
void |
setContainerName(String containerName)
The name for the container.
|
void |
setTags(Collection<Tag> tags)
An array of key:value pairs that you define.
|
String |
toString()
Returns a string representation of this object.
|
CreateContainerRequest |
withContainerName(String containerName)
The name for the container.
|
CreateContainerRequest |
withTags(Collection<Tag> tags)
An array of key:value pairs that you define.
|
CreateContainerRequest |
withTags(Tag... tags)
An array of key:value pairs that you define.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setContainerName(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.public String getContainerName()
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.
movies
in every region, as long as you don’t have an existing container with that name.public CreateContainerRequest withContainerName(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.public List<Tag> getTags()
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.
public void setTags(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.public CreateContainerRequest withTags(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.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
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.public CreateContainerRequest withTags(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.public String toString()
toString
in class Object
Object.toString()
public CreateContainerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()