@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Container extends Object implements Serializable, Cloneable, StructuredPojo
This section describes operations that you can perform on an AWS Elemental MediaStore container.
Constructor and Description |
---|
Container() |
Modifier and Type | Method and Description |
---|---|
Container |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The Amazon Resource Name (ARN) of the container.
|
Date |
getCreationTime()
Unix timestamp.
|
String |
getEndpoint()
The DNS endpoint of the container.
|
String |
getName()
The name of the container.
|
String |
getStatus()
The status of container creation or deletion.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setARN(String aRN)
The Amazon Resource Name (ARN) of the container.
|
void |
setCreationTime(Date creationTime)
Unix timestamp.
|
void |
setEndpoint(String endpoint)
The DNS endpoint of the container.
|
void |
setName(String name)
The name of the container.
|
void |
setStatus(String status)
The status of container creation or deletion.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Container |
withARN(String aRN)
The Amazon Resource Name (ARN) of the container.
|
Container |
withCreationTime(Date creationTime)
Unix timestamp.
|
Container |
withEndpoint(String endpoint)
The DNS endpoint of the container.
|
Container |
withName(String name)
The name of the container.
|
Container |
withStatus(ContainerStatus status)
The status of container creation or deletion.
|
Container |
withStatus(String status)
The status of container creation or deletion.
|
public void setEndpoint(String endpoint)
The DNS endpoint of the container. Use from 1 to 255 characters. Use this endpoint to identify this container when sending requests to the data plane.
endpoint
- The DNS endpoint of the container. Use from 1 to 255 characters. Use this endpoint to identify this
container when sending requests to the data plane.public String getEndpoint()
The DNS endpoint of the container. Use from 1 to 255 characters. Use this endpoint to identify this container when sending requests to the data plane.
public Container withEndpoint(String endpoint)
The DNS endpoint of the container. Use from 1 to 255 characters. Use this endpoint to identify this container when sending requests to the data plane.
endpoint
- The DNS endpoint of the container. Use from 1 to 255 characters. Use this endpoint to identify this
container when sending requests to the data plane.public void setCreationTime(Date creationTime)
Unix timestamp.
creationTime
- Unix timestamp.public Date getCreationTime()
Unix timestamp.
public Container withCreationTime(Date creationTime)
Unix timestamp.
creationTime
- Unix timestamp.public void setARN(String aRN)
The Amazon Resource Name (ARN) of the 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
aRN
- The Amazon Resource Name (ARN) of the 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
public String getARN()
The Amazon Resource Name (ARN) of the 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
arn:aws:<region>:<account that owns this container>:container/<name of container>
For example: arn:aws:mediastore:us-west-2:111122223333:container/movies
public Container withARN(String aRN)
The Amazon Resource Name (ARN) of the 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
aRN
- The Amazon Resource Name (ARN) of the 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
public void setName(String name)
The name of the container.
name
- The name of the container.public String getName()
The name of the container.
public Container withName(String name)
The name of the container.
name
- The name of the container.public void setStatus(String 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 the endpoint is available, the status changes to ACTIVE
.
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 the endpoint is available, the status changes to ACTIVE
.ContainerStatus
public String getStatus()
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 the endpoint is available, the status changes to ACTIVE
.
CREATING
,
ACTIVE
, or DELETING
. While the service is creating the container, the status is
CREATING
. When the endpoint is available, the status changes to ACTIVE
.ContainerStatus
public Container withStatus(String 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 the endpoint is available, the status changes to ACTIVE
.
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 the endpoint is available, the status changes to ACTIVE
.ContainerStatus
public Container withStatus(ContainerStatus 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 the endpoint is available, the status changes to ACTIVE
.
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 the endpoint is available, the status changes to ACTIVE
.ContainerStatus
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.