Interface EksVolume.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EksVolume.Builder,EksVolume>,SdkBuilder<EksVolume.Builder,EksVolume>,SdkPojo
- Enclosing class:
- EksVolume
public static interface EksVolume.Builder extends SdkPojo, CopyableBuilder<EksVolume.Builder,EksVolume>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EksVolume.BuilderemptyDir(Consumer<EksEmptyDir.Builder> emptyDir)Specifies the configuration of a KubernetesemptyDirvolume.EksVolume.BuilderemptyDir(EksEmptyDir emptyDir)Specifies the configuration of a KubernetesemptyDirvolume.default EksVolume.BuilderhostPath(Consumer<EksHostPath.Builder> hostPath)Specifies the configuration of a KuberneteshostPathvolume.EksVolume.BuilderhostPath(EksHostPath hostPath)Specifies the configuration of a KuberneteshostPathvolume.EksVolume.Buildername(String name)The name of the volume.default EksVolume.BuilderpersistentVolumeClaim(Consumer<EksPersistentVolumeClaim.Builder> persistentVolumeClaim)Specifies the configuration of a KubernetespersistentVolumeClaimbounded to apersistentVolume.EksVolume.BuilderpersistentVolumeClaim(EksPersistentVolumeClaim persistentVolumeClaim)Specifies the configuration of a KubernetespersistentVolumeClaimbounded to apersistentVolume.default EksVolume.Buildersecret(Consumer<EksSecret.Builder> secret)Specifies the configuration of a Kubernetessecretvolume.EksVolume.Buildersecret(EksSecret secret)Specifies the configuration of a Kubernetessecretvolume.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
EksVolume.Builder name(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.
- 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
EksVolume.Builder hostPath(EksHostPath 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
default EksVolume.Builder hostPath(Consumer<EksHostPath.Builder> 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:
hostPath(EksHostPath)
-
emptyDir
EksVolume.Builder emptyDir(EksEmptyDir 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
default EksVolume.Builder emptyDir(Consumer<EksEmptyDir.Builder> 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:
emptyDir(EksEmptyDir)
-
secret
EksVolume.Builder secret(EksSecret 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
default EksVolume.Builder secret(Consumer<EksSecret.Builder> 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:
secret(EksSecret)
-
persistentVolumeClaim
EksVolume.Builder persistentVolumeClaim(EksPersistentVolumeClaim persistentVolumeClaim)
Specifies the configuration of a Kubernetes
persistentVolumeClaimbounded to apersistentVolume. For more information, see Persistent Volume Claims in the Kubernetes documentation.- Parameters:
persistentVolumeClaim- Specifies the configuration of a KubernetespersistentVolumeClaimbounded to apersistentVolume. For more information, see Persistent Volume Claims in the Kubernetes documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
persistentVolumeClaim
default EksVolume.Builder persistentVolumeClaim(Consumer<EksPersistentVolumeClaim.Builder> persistentVolumeClaim)
Specifies the configuration of a Kubernetes
This is a convenience method that creates an instance of thepersistentVolumeClaimbounded to apersistentVolume. For more information, see Persistent Volume Claims in the Kubernetes documentation.EksPersistentVolumeClaim.Builderavoiding the need to create one manually viaEksPersistentVolumeClaim.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topersistentVolumeClaim(EksPersistentVolumeClaim).- Parameters:
persistentVolumeClaim- a consumer that will call methods onEksPersistentVolumeClaim.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
persistentVolumeClaim(EksPersistentVolumeClaim)
-
-