Class MountPoint
- java.lang.Object
-
- software.amazon.awssdk.services.batch.model.MountPoint
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MountPoint.Builder,MountPoint>
@Generated("software.amazon.awssdk:codegen") public final class MountPoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MountPoint.Builder,MountPoint>
Details for a Docker volume mount point that's used in a job's container properties. This parameter maps to
Volumesin the Create a container section of the Docker Remote API and the--volumeoption to docker run.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMountPoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MountPoint.Builderbuilder()StringcontainerPath()The path on the container where the host volume is mounted.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.List<SdkField<?>>sdkFields()static Class<? extends MountPoint.Builder>serializableBuilderClass()StringsourceVolume()The name of the volume to mount.MountPoint.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
-
containerPath
public final String containerPath()
The path on the container where the host volume is mounted.
- Returns:
- The path on the container where the host volume is mounted.
-
readOnly
public final Boolean readOnly()
If this value is
true, the container has read-only access to the volume. Otherwise, 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. Otherwise, the container can write to the volume. The default value isfalse.
-
sourceVolume
public final String sourceVolume()
The name of the volume to mount.
- Returns:
- The name of the volume to mount.
-
toBuilder
public MountPoint.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MountPoint.Builder,MountPoint>
-
builder
public static MountPoint.Builder builder()
-
serializableBuilderClass
public static Class<? extends MountPoint.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.
-
-