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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic VolumeFrom.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanreadOnly()If this value istrue, the container has read-only access to the volume.static Class<? extends VolumeFrom.Builder>final StringThe name of another container within the same task definition to mount volumes from.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<VolumeFrom.Builder,VolumeFrom>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-