@Generated(value="software.amazon.awssdk:codegen") public class CreateContainerResponse extends MediaStoreResponse implements ToCopyableBuilder<CreateContainerResponse.Builder,CreateContainerResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateContainerResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateContainerResponse.Builder |
builder() |
Container |
container()
ContainerARN: The Amazon Resource Name (ARN) of the newly created container.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
static Class<? extends CreateContainerResponse.Builder> |
serializableBuilderClass() |
CreateContainerResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Container container()
ContainerARN: The Amazon Resource Name (ARN) of the newly created 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
ContainerName: The container name as specified in the request.
CreationTime: Unix timestamp.
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 an endpoint is available, the status changes to ACTIVE
.
The return value does not include the container's endpoint. To make downstream requests, you must obtain this value by using DescribeContainer or ListContainers.
ContainerName: The container name as specified in the request.
CreationTime: Unix timestamp.
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 an endpoint is available, the status changes to
ACTIVE
.
The return value does not include the container's endpoint. To make downstream requests, you must obtain this value by using DescribeContainer or ListContainers.
public CreateContainerResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateContainerResponse.Builder,CreateContainerResponse>
toBuilder
in class AwsResponse
public static CreateContainerResponse.Builder builder()
public static Class<? extends CreateContainerResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.