@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HostPath extends Object implements Serializable, Cloneable, StructuredPojo
Represents a pre-existing file or directory on the host machine that the volume maps to.
| Constructor and Description |
|---|
HostPath() |
| Modifier and Type | Method and Description |
|---|---|
HostPath |
clone() |
boolean |
equals(Object obj) |
String |
getPath()
Path of the file or directory on the host that the volume maps to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPath(String path)
Path of the file or directory on the host that the volume maps to.
|
String |
toString()
Returns a string representation of this object.
|
HostPath |
withPath(String path)
Path of the file or directory on the host that the volume maps to.
|
public void setPath(String path)
Path of the file or directory on the host that the volume maps to.
path - Path of the file or directory on the host that the volume maps to.public String getPath()
Path of the file or directory on the host that the volume maps to.
public HostPath withPath(String path)
Path of the file or directory on the host that the volume maps to.
path - Path of the file or directory on the host that the volume maps to.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.