Class VolumeFrom
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.VolumeFrom
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VolumeFrom.Builder,VolumeFrom>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVolumeFrom.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeFrom.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanreadOnly()If this value istrue, the container has read-only access to the volume.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends VolumeFrom.Builder>serializableBuilderClass()StringsourceContainer()The name of another container within the same task definition to mount volumes from.VolumeFrom.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
-
sourceContainer
public final String sourceContainer()
The name of another container within the same task definition to mount volumes from.
- Returns:
- The name of another container within the same task definition to mount volumes from.
-
readOnly
public final Boolean readOnly()
If this value is
true, the container has read-only access to the volume. If this value isfalse, then the container can write to the volume. The default value isfalse.- Returns:
- If this value is
true, the container has read-only access to the volume. If this value isfalse, then the container can write to the volume. The default value isfalse.
-
toBuilder
public VolumeFrom.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VolumeFrom.Builder,VolumeFrom>
-
builder
public static VolumeFrom.Builder builder()
-
serializableBuilderClass
public static Class<? extends VolumeFrom.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-