Interface EksVolume.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EksVolume.Builder,,EksVolume> SdkBuilder<EksVolume.Builder,,EksVolume> SdkPojo
- Enclosing class:
EksVolume
-
Method Summary
Modifier and TypeMethodDescriptiondefault EksVolume.BuilderemptyDir(Consumer<EksEmptyDir.Builder> emptyDir) Specifies the configuration of a KubernetesemptyDirvolume.emptyDir(EksEmptyDir emptyDir) Specifies the configuration of a KubernetesemptyDirvolume.default EksVolume.BuilderhostPath(Consumer<EksHostPath.Builder> hostPath) Specifies the configuration of a KuberneteshostPathvolume.hostPath(EksHostPath hostPath) Specifies the configuration of a KuberneteshostPathvolume.The name of the volume.default EksVolume.Buildersecret(Consumer<EksSecret.Builder> secret) Specifies the configuration of a Kubernetessecretvolume.Specifies the configuration of a Kubernetessecretvolume.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
hostPathvolume. For more information, see hostPath in the Kubernetes documentation.- Parameters:
hostPath- Specifies the configuration of a KuberneteshostPathvolume. 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 thehostPathvolume. For more information, see hostPath in the Kubernetes documentation.EksHostPath.Builderavoiding the need to create one manually viaEksHostPath.builder().When the
Consumercompletes,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
emptyDirvolume. For more information, see emptyDir in the Kubernetes documentation.- Parameters:
emptyDir- Specifies the configuration of a KubernetesemptyDirvolume. 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 theemptyDirvolume. For more information, see emptyDir in the Kubernetes documentation.EksEmptyDir.Builderavoiding the need to create one manually viaEksEmptyDir.builder().When the
Consumercompletes,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
secretvolume. For more information, see secret in the Kubernetes documentation.- Parameters:
secret- Specifies the configuration of a Kubernetessecretvolume. 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 thesecretvolume. For more information, see secret in the Kubernetes documentation.EksSecret.Builderavoiding the need to create one manually viaEksSecret.builder().When the
Consumercompletes,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:
-