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 interface
EksVolume.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EksVolume.Builder
builder()
EksEmptyDir
emptyDir()
Specifies the configuration of a KubernetesemptyDir
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 KuberneteshostPath
volume.String
name()
The name of the volume.List<SdkField<?>>
sdkFields()
EksSecret
secret()
Specifies the configuration of a Kubernetessecret
volume.static Class<? extends EksVolume.Builder>
serializableBuilderClass()
EksVolume.Builder
toBuilder()
String
toString()
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
hostPath
volume. For more information, see hostPath in the Kubernetes documentation.- Returns:
- Specifies the configuration of a Kubernetes
hostPath
volume. For more information, see hostPath in the Kubernetes documentation.
-
emptyDir
public final EksEmptyDir emptyDir()
Specifies the configuration of a Kubernetes
emptyDir
volume. For more information, see emptyDir in the Kubernetes documentation.- Returns:
- Specifies the configuration of a Kubernetes
emptyDir
volume. For more information, see emptyDir in the Kubernetes documentation.
-
secret
public final EksSecret secret()
Specifies the configuration of a Kubernetes
secret
volume. For more information, see secret in the Kubernetes documentation.- Returns:
- Specifies the configuration of a Kubernetes
secret
volume. For more information, see secret in the Kubernetes documentation.
-
toBuilder
public EksVolume.Builder toBuilder()
- Specified by:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-