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