@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EksHostPath extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the configuration of a Kubernetes hostPath
volume. A hostPath
volume mounts an
existing file or directory from the host node's filesystem into your pod. For more information, see hostPath in the Kubernetes
documentation.
Constructor and Description |
---|
EksHostPath() |
Modifier and Type | Method and Description |
---|---|
EksHostPath |
clone() |
boolean |
equals(Object obj) |
String |
getPath()
The path of the file or directory on the host to mount into containers on the pod.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPath(String path)
The path of the file or directory on the host to mount into containers on the pod.
|
String |
toString()
Returns a string representation of this object.
|
EksHostPath |
withPath(String path)
The path of the file or directory on the host to mount into containers on the pod.
|
public void setPath(String path)
The path of the file or directory on the host to mount into containers on the pod.
path
- The path of the file or directory on the host to mount into containers on the pod.public String getPath()
The path of the file or directory on the host to mount into containers on the pod.
public EksHostPath withPath(String path)
The path of the file or directory on the host to mount into containers on the pod.
path
- The path of the file or directory on the host to mount into containers on the pod.public String toString()
toString
in class Object
Object.toString()
public EksHostPath clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.