Class Container
- java.lang.Object
-
- software.amazon.awssdk.services.mediastore.model.Container
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Container.Builder,Container>
@Generated("software.amazon.awssdk:codegen") public final class Container extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Container.Builder,Container>
This section describes operations that you can perform on an AWS Elemental MediaStore container.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContainer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanaccessLoggingEnabled()The state of access logging on the container.Stringarn()The Amazon Resource Name (ARN) of the container.static Container.Builderbuilder()InstantcreationTime()Unix timestamp.Stringendpoint()The DNS endpoint of the container.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the container.List<SdkField<?>>sdkFields()static Class<? extends Container.Builder>serializableBuilderClass()ContainerStatusstatus()The status of container creation or deletion.StringstatusAsString()The status of container creation or deletion.Container.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
endpoint
public final 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.
- Returns:
- 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.
-
creationTime
public final Instant creationTime()
Unix timestamp.
- Returns:
- Unix timestamp.
-
arn
public final 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
- Returns:
- 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
-
name
public final String name()
The name of the container.
- Returns:
- The name of the container.
-
status
public final ContainerStatus status()
The status of container creation or deletion. The status is one of the following:
CREATING,ACTIVE, orDELETING. While the service is creating the container, the status isCREATING. When the endpoint is available, the status changes toACTIVE.If the service returns an enum value that is not available in the current SDK version,
statuswill returnContainerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of container creation or deletion. The status is one of the following:
CREATING,ACTIVE, orDELETING. While the service is creating the container, the status isCREATING. When the endpoint is available, the status changes toACTIVE. - See Also:
ContainerStatus
-
statusAsString
public final String statusAsString()
The status of container creation or deletion. The status is one of the following:
CREATING,ACTIVE, orDELETING. While the service is creating the container, the status isCREATING. When the endpoint is available, the status changes toACTIVE.If the service returns an enum value that is not available in the current SDK version,
statuswill returnContainerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of container creation or deletion. The status is one of the following:
CREATING,ACTIVE, orDELETING. While the service is creating the container, the status isCREATING. When the endpoint is available, the status changes toACTIVE. - See Also:
ContainerStatus
-
accessLoggingEnabled
public final Boolean accessLoggingEnabled()
The state of access logging on the container. This value is
falseby 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 totrue, indicating that the service delivers access logs for objects stored in that container to CloudWatch Logs.- Returns:
- The state of access logging on the container. This value is
falseby 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 totrue, indicating that the service delivers access logs for objects stored in that container to CloudWatch Logs.
-
toBuilder
public Container.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Container.Builder,Container>
-
builder
public static Container.Builder builder()
-
serializableBuilderClass
public static Class<? extends Container.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-