@Generated(value="software.amazon.awssdk:codegen") public final class EksVolume extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EksVolume.Builder,EksVolume>
Specifies an Amazon EKS volume for a job definition.
Modifier and Type | Class and Description |
---|---|
static interface |
EksVolume.Builder |
Modifier and Type | Method and Description |
---|---|
static EksVolume.Builder |
builder() |
EksEmptyDir |
emptyDir()
Specifies the configuration of a Kubernetes
emptyDir volume. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
EksHostPath |
hostPath()
Specifies the configuration of a Kubernetes
hostPath volume. |
String |
name()
The name of the volume.
|
List<SdkField<?>> |
sdkFields() |
EksSecret |
secret()
Specifies the configuration of a Kubernetes
secret volume. |
static Class<? extends EksVolume.Builder> |
serializableBuilderClass() |
EksVolume.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String name()
The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
public final EksHostPath hostPath()
Specifies the configuration of a Kubernetes hostPath
volume. For more information, see hostPath in the Kubernetes
documentation.
hostPath
volume. For more information, see hostPath in the Kubernetes
documentation.public final EksEmptyDir emptyDir()
Specifies the configuration of a Kubernetes emptyDir
volume. For more information, see emptyDir in the Kubernetes
documentation.
emptyDir
volume. For more information, see emptyDir in the Kubernetes
documentation.public final EksSecret secret()
Specifies the configuration of a Kubernetes secret
volume. For more information, see secret in the Kubernetes
documentation.
secret
volume. For more information, see secret in the Kubernetes
documentation.public EksVolume.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<EksVolume.Builder,EksVolume>
public static EksVolume.Builder builder()
public static Class<? extends EksVolume.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.