@Generated(value="software.amazon.awssdk:codegen") public final class AwsEcsTaskVolumeDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEcsTaskVolumeDetails.Builder,AwsEcsTaskVolumeDetails>
Provides information about a data volume that's used in a task definition.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEcsTaskVolumeDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsEcsTaskVolumeDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
AwsEcsTaskVolumeHostDetails |
host()
This parameter is specified when you use bind mount host volumes.
|
String |
name()
The name of the volume.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsEcsTaskVolumeDetails.Builder> |
serializableBuilderClass() |
AwsEcsTaskVolumeDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are
allowed. This name is referenced in the sourceVolume parameter of container definition
mountPoints.
sourceVolume parameter of container definition
mountPoints.public final AwsEcsTaskVolumeHostDetails host()
This parameter is specified when you use bind mount host volumes. The contents of the host parameter
determine whether your bind mount host volume persists on the host container instance and where it's stored.
host
parameter determine whether your bind mount host volume persists on the host container instance and where
it's stored.public AwsEcsTaskVolumeDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsEcsTaskVolumeDetails.Builder,AwsEcsTaskVolumeDetails>public static AwsEcsTaskVolumeDetails.Builder builder()
public static Class<? extends AwsEcsTaskVolumeDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.