@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails extends Object implements Serializable, Cloneable, StructuredPojo
A mount point for the data volumes in the container.
Constructor and Description |
---|
AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails |
clone() |
boolean |
equals(Object obj) |
String |
getContainerPath()
The path on the container to mount the host volume at.
|
Boolean |
getReadOnly()
Whether the container has read-only access to the volume.
|
String |
getSourceVolume()
The name of the volume to mount.
|
int |
hashCode() |
Boolean |
isReadOnly()
Whether the container has read-only access to the volume.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContainerPath(String containerPath)
The path on the container to mount the host volume at.
|
void |
setReadOnly(Boolean readOnly)
Whether the container has read-only access to the volume.
|
void |
setSourceVolume(String sourceVolume)
The name of the volume to mount.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails |
withContainerPath(String containerPath)
The path on the container to mount the host volume at.
|
AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails |
withReadOnly(Boolean readOnly)
Whether the container has read-only access to the volume.
|
AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails |
withSourceVolume(String sourceVolume)
The name of the volume to mount.
|
public AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails()
public void setContainerPath(String containerPath)
The path on the container to mount the host volume at.
containerPath
- The path on the container to mount the host volume at.public String getContainerPath()
The path on the container to mount the host volume at.
public AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails withContainerPath(String containerPath)
The path on the container to mount the host volume at.
containerPath
- The path on the container to mount the host volume at.public void setReadOnly(Boolean readOnly)
Whether the container has read-only access to the volume.
readOnly
- Whether the container has read-only access to the volume.public Boolean getReadOnly()
Whether the container has read-only access to the volume.
public AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails withReadOnly(Boolean readOnly)
Whether the container has read-only access to the volume.
readOnly
- Whether the container has read-only access to the volume.public Boolean isReadOnly()
Whether the container has read-only access to the volume.
public void setSourceVolume(String sourceVolume)
The name of the volume to mount. Must match the name of a volume listed in VolumeDetails
for the
task definition.
sourceVolume
- The name of the volume to mount. Must match the name of a volume listed in VolumeDetails
for
the task definition.public String getSourceVolume()
The name of the volume to mount. Must match the name of a volume listed in VolumeDetails
for the
task definition.
VolumeDetails
for
the task definition.public AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails withSourceVolume(String sourceVolume)
The name of the volume to mount. Must match the name of a volume listed in VolumeDetails
for the
task definition.
sourceVolume
- The name of the volume to mount. Must match the name of a volume listed in VolumeDetails
for
the task definition.public String toString()
toString
in class Object
Object.toString()
public AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.