@Generated(value="software.amazon.awssdk:codegen") public final class MountPoint extends Object implements StructuredPojo, ToCopyableBuilder<MountPoint.Builder,MountPoint>
Details on a volume mount point that is used in a container definition.
Modifier and Type | Class and Description |
---|---|
static interface |
MountPoint.Builder |
Modifier and Type | Method and Description |
---|---|
static MountPoint.Builder |
builder() |
String |
containerPath()
The path on the container to mount the host volume at.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Boolean |
readOnly()
If this value is
true , the container has read-only access to the volume. |
static Class<? extends MountPoint.Builder> |
serializableBuilderClass() |
String |
sourceVolume()
The name of the volume to mount.
|
MountPoint.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String sourceVolume()
The name of the volume to mount.
public String containerPath()
The path on the container to mount the host volume at.
public 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 MountPoint.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<MountPoint.Builder,MountPoint>
public static MountPoint.Builder builder()
public static Class<? extends MountPoint.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.