Interface EksVolume.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EksVolume.Builder,
,EksVolume> SdkBuilder<EksVolume.Builder,
,EksVolume> SdkPojo
- Enclosing class:
EksVolume
-
Method Summary
Modifier and TypeMethodDescriptiondefault EksVolume.Builder
emptyDir
(Consumer<EksEmptyDir.Builder> emptyDir) Specifies the configuration of a KubernetesemptyDir
volume.emptyDir
(EksEmptyDir emptyDir) Specifies the configuration of a KubernetesemptyDir
volume.default EksVolume.Builder
hostPath
(Consumer<EksHostPath.Builder> hostPath) Specifies the configuration of a KuberneteshostPath
volume.hostPath
(EksHostPath hostPath) Specifies the configuration of a KuberneteshostPath
volume.The name of the volume.default EksVolume.Builder
secret
(Consumer<EksSecret.Builder> secret) Specifies the configuration of a Kubernetessecret
volume.Specifies the configuration of a Kubernetessecret
volume.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
hostPath
Specifies the configuration of a Kubernetes
hostPath
volume. For more information, see hostPath in the Kubernetes documentation.- Parameters:
hostPath
- Specifies the configuration of a KuberneteshostPath
volume. For more information, see hostPath in the Kubernetes documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostPath
Specifies the configuration of a Kubernetes
This is a convenience method that creates an instance of thehostPath
volume. For more information, see hostPath in the Kubernetes documentation.EksHostPath.Builder
avoiding the need to create one manually viaEksHostPath.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohostPath(EksHostPath)
.- Parameters:
hostPath
- a consumer that will call methods onEksHostPath.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
emptyDir
Specifies the configuration of a Kubernetes
emptyDir
volume. For more information, see emptyDir in the Kubernetes documentation.- Parameters:
emptyDir
- Specifies the configuration of a KubernetesemptyDir
volume. For more information, see emptyDir in the Kubernetes documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emptyDir
Specifies the configuration of a Kubernetes
This is a convenience method that creates an instance of theemptyDir
volume. For more information, see emptyDir in the Kubernetes documentation.EksEmptyDir.Builder
avoiding the need to create one manually viaEksEmptyDir.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toemptyDir(EksEmptyDir)
.- Parameters:
emptyDir
- a consumer that will call methods onEksEmptyDir.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secret
Specifies the configuration of a Kubernetes
secret
volume. For more information, see secret in the Kubernetes documentation.- Parameters:
secret
- Specifies the configuration of a Kubernetessecret
volume. For more information, see secret in the Kubernetes documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secret
Specifies the configuration of a Kubernetes
This is a convenience method that creates an instance of thesecret
volume. For more information, see secret in the Kubernetes documentation.EksSecret.Builder
avoiding the need to create one manually viaEksSecret.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecret(EksSecret)
.- Parameters:
secret
- a consumer that will call methods onEksSecret.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-