@Generated(value="software.amazon.awssdk:codegen") public final class VolumeFrom extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VolumeFrom.Builder,VolumeFrom>
Details on a data volume from another container in the same task definition.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VolumeFrom.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VolumeFrom.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
readOnly()
If this value is
true, the container has read-only access to the volume. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends VolumeFrom.Builder> |
serializableBuilderClass() |
String |
sourceContainer()
The name of another container within the same task definition to mount volumes from.
|
VolumeFrom.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String sourceContainer()
The name of another container within the same task definition to mount volumes from.
public final Boolean readOnly()
If this value is true, the container has read-only access to the volume. If this value is
false, then the container can write to the volume. The default value is false.
true, the container has read-only access to the volume. If this value is
false, then the container can write to the volume. The default value is false.public VolumeFrom.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VolumeFrom.Builder,VolumeFrom>public static VolumeFrom.Builder builder()
public static Class<? extends VolumeFrom.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.