@Generated(value="software.amazon.awssdk:codegen") public class Container extends Object implements StructuredPojo, ToCopyableBuilder<Container.Builder,Container>
This section describes operations that you can perform on an AWS Elemental MediaStore container.
Modifier and Type | Class and Description |
---|---|
static interface |
Container.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the container.
|
static Container.Builder |
builder() |
Instant |
creationTime()
Unix timestamp.
|
String |
endpoint()
The DNS endpoint of the container.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the container.
|
static Class<? extends Container.Builder> |
serializableBuilderClass() |
ContainerStatus |
status()
The status of container creation or deletion.
|
String |
statusAsString()
The status of container creation or deletion.
|
Container.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
public Instant creationTime()
Unix timestamp.
public 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:aws:<region>:<account that owns this container>:container/<name of container>
For example: arn:aws:mediastore:us-west-2:111122223333:container/movies
public String name()
The name of the container.
public 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
.
If the service returns an enum value that is not available in the current SDK version, status
will
return ContainerStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
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 statusAsString()
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
.
If the service returns an enum value that is not available in the current SDK version, status
will
return ContainerStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Container.Builder,Container>
public static Container.Builder builder()
public static Class<? extends Container.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.