@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) |
Boolean |
getAccessLoggingEnabled()
The state of access logging on the container.
|
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() |
Boolean |
isAccessLoggingEnabled()
The state of access logging on the container.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessLoggingEnabled(Boolean accessLoggingEnabled)
The state of access logging on the container.
|
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.
|
Container |
withAccessLoggingEnabled(Boolean accessLoggingEnabled)
The state of access logging on the container.
|
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 the endpoint to identify the specific container when sending requests to the data plane. The service assigns this value when the container is created. Once the value has been assigned, it does not change.
endpoint
- The DNS endpoint of the container. Use the endpoint to identify the specific container when sending
requests to the data plane. The service assigns this value when the container is created. Once the value
has been assigned, it does not change.public String getEndpoint()
The DNS endpoint of the container. Use the endpoint to identify the specific container when sending requests to the data plane. The service assigns this value when the container is created. Once the value has been assigned, it does not change.
public Container withEndpoint(String endpoint)
The DNS endpoint of the container. Use the endpoint to identify the specific container when sending requests to the data plane. The service assigns this value when the container is created. Once the value has been assigned, it does not change.
endpoint
- The DNS endpoint of the container. Use the endpoint to identify the specific container when sending
requests to the data plane. The service assigns this value when the container is created. Once the value
has been assigned, it does not change.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 void setAccessLoggingEnabled(Boolean accessLoggingEnabled)
The state of access logging on the container. This value is false
by default, indicating that AWS
Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access logging on the
container, MediaStore changes this value to true
, indicating that the service delivers access logs
for objects stored in that container to CloudWatch Logs.
accessLoggingEnabled
- The state of access logging on the container. This value is false
by default, indicating that
AWS Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access
logging on the container, MediaStore changes this value to true
, indicating that the service
delivers access logs for objects stored in that container to CloudWatch Logs.public Boolean getAccessLoggingEnabled()
The state of access logging on the container. This value is false
by default, indicating that AWS
Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access logging on the
container, MediaStore changes this value to true
, indicating that the service delivers access logs
for objects stored in that container to CloudWatch Logs.
false
by default, indicating
that AWS Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access
logging on the container, MediaStore changes this value to true
, indicating that the service
delivers access logs for objects stored in that container to CloudWatch Logs.public Container withAccessLoggingEnabled(Boolean accessLoggingEnabled)
The state of access logging on the container. This value is false
by default, indicating that AWS
Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access logging on the
container, MediaStore changes this value to true
, indicating that the service delivers access logs
for objects stored in that container to CloudWatch Logs.
accessLoggingEnabled
- The state of access logging on the container. This value is false
by default, indicating that
AWS Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access
logging on the container, MediaStore changes this value to true
, indicating that the service
delivers access logs for objects stored in that container to CloudWatch Logs.public Boolean isAccessLoggingEnabled()
The state of access logging on the container. This value is false
by default, indicating that AWS
Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access logging on the
container, MediaStore changes this value to true
, indicating that the service delivers access logs
for objects stored in that container to CloudWatch Logs.
false
by default, indicating
that AWS Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access
logging on the container, MediaStore changes this value to true
, indicating that the service
delivers access logs for objects stored in that container to CloudWatch Logs.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.