Class EksVolume
- java.lang.Object
-
- software.amazon.awssdk.services.batch.model.EksVolume
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EksVolume.Builder,EksVolume>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEksVolume.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EksVolume.Builderbuilder()EksEmptyDiremptyDir()Specifies the configuration of a KubernetesemptyDirvolume.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()EksHostPathhostPath()Specifies the configuration of a KuberneteshostPathvolume.Stringname()The name of the volume.List<SdkField<?>>sdkFields()EksSecretsecret()Specifies the configuration of a Kubernetessecretvolume.static Class<? extends EksVolume.Builder>serializableBuilderClass()EksVolume.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
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.
- Returns:
- 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.
-
hostPath
public final EksHostPath hostPath()
Specifies the configuration of a Kubernetes
hostPathvolume. For more information, see hostPath in the Kubernetes documentation.- Returns:
- Specifies the configuration of a Kubernetes
hostPathvolume. For more information, see hostPath in the Kubernetes documentation.
-
emptyDir
public final EksEmptyDir emptyDir()
Specifies the configuration of a Kubernetes
emptyDirvolume. For more information, see emptyDir in the Kubernetes documentation.- Returns:
- Specifies the configuration of a Kubernetes
emptyDirvolume. For more information, see emptyDir in the Kubernetes documentation.
-
secret
public final EksSecret secret()
Specifies the configuration of a Kubernetes
secretvolume. For more information, see secret in the Kubernetes documentation.- Returns:
- Specifies the configuration of a Kubernetes
secretvolume. For more information, see secret in the Kubernetes documentation.
-
toBuilder
public EksVolume.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EksVolume.Builder,EksVolume>
-
builder
public static EksVolume.Builder builder()
-
serializableBuilderClass
public static Class<? extends EksVolume.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-