@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VolumeMount extends Object implements Serializable, Cloneable, StructuredPojo
Describes the mounting of a volume in a container.
| Constructor and Description |
|---|
VolumeMount() |
| Modifier and Type | Method and Description |
|---|---|
VolumeMount |
clone() |
boolean |
equals(Object obj) |
String |
getMountPath()
The path in the container at which the volume should be mounted.
|
String |
getName()
The name of the volume.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMountPath(String mountPath)
The path in the container at which the volume should be mounted.
|
void |
setName(String name)
The name of the volume.
|
String |
toString()
Returns a string representation of this object.
|
VolumeMount |
withMountPath(String mountPath)
The path in the container at which the volume should be mounted.
|
VolumeMount |
withName(String name)
The name of the volume.
|
public void setName(String name)
The name of the volume.
name - The name of the volume.public String getName()
The name of the volume.
public VolumeMount withName(String name)
The name of the volume.
name - The name of the volume.public void setMountPath(String mountPath)
The path in the container at which the volume should be mounted.
mountPath - The path in the container at which the volume should be mounted.public String getMountPath()
The path in the container at which the volume should be mounted.
public VolumeMount withMountPath(String mountPath)
The path in the container at which the volume should be mounted.
mountPath - The path in the container at which the volume should be mounted.public String toString()
toString in class ObjectObject.toString()public VolumeMount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.