public static interface EksVolume.Builder extends SdkPojo, CopyableBuilder<EksVolume.Builder,EksVolume>
| Modifier and Type | Method and Description |
|---|---|
default EksVolume.Builder |
emptyDir(Consumer<EksEmptyDir.Builder> emptyDir)
Specifies the configuration of a Kubernetes
emptyDir volume. |
EksVolume.Builder |
emptyDir(EksEmptyDir emptyDir)
Specifies the configuration of a Kubernetes
emptyDir volume. |
default EksVolume.Builder |
hostPath(Consumer<EksHostPath.Builder> hostPath)
Specifies the configuration of a Kubernetes
hostPath volume. |
EksVolume.Builder |
hostPath(EksHostPath hostPath)
Specifies the configuration of a Kubernetes
hostPath volume. |
EksVolume.Builder |
name(String name)
The name of the volume.
|
default EksVolume.Builder |
secret(Consumer<EksSecret.Builder> secret)
Specifies the configuration of a Kubernetes
secret volume. |
EksVolume.Builder |
secret(EksSecret secret)
Specifies the configuration of a Kubernetes
secret volume. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEksVolume.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.
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.EksVolume.Builder hostPath(EksHostPath hostPath)
Specifies the configuration of a Kubernetes hostPath volume. For more information, see hostPath in the Kubernetes
documentation.
hostPath - Specifies the configuration of a Kubernetes hostPath volume. For more information, see hostPath in the Kubernetes
documentation.default EksVolume.Builder hostPath(Consumer<EksHostPath.Builder> hostPath)
Specifies the configuration of a Kubernetes hostPath volume. For more information, see hostPath in the Kubernetes
documentation.
EksHostPath.Builder avoiding the need to
create one manually via EksHostPath.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to hostPath(EksHostPath).
hostPath - a consumer that will call methods on EksHostPath.BuilderhostPath(EksHostPath)EksVolume.Builder emptyDir(EksEmptyDir emptyDir)
Specifies the configuration of a Kubernetes emptyDir volume. For more information, see emptyDir in the Kubernetes
documentation.
emptyDir - Specifies the configuration of a Kubernetes emptyDir volume. For more information, see emptyDir in the Kubernetes
documentation.default EksVolume.Builder emptyDir(Consumer<EksEmptyDir.Builder> emptyDir)
Specifies the configuration of a Kubernetes emptyDir volume. For more information, see emptyDir in the Kubernetes
documentation.
EksEmptyDir.Builder avoiding the need to
create one manually via EksEmptyDir.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to emptyDir(EksEmptyDir).
emptyDir - a consumer that will call methods on EksEmptyDir.BuilderemptyDir(EksEmptyDir)EksVolume.Builder secret(EksSecret secret)
Specifies the configuration of a Kubernetes secret volume. For more information, see secret in the Kubernetes
documentation.
secret - Specifies the configuration of a Kubernetes secret volume. For more information, see secret in the Kubernetes
documentation.default EksVolume.Builder secret(Consumer<EksSecret.Builder> secret)
Specifies the configuration of a Kubernetes secret volume. For more information, see secret in the Kubernetes
documentation.
EksSecret.Builder avoiding the need to
create one manually via EksSecret.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to secret(EksSecret).
secret - a consumer that will call methods on EksSecret.Buildersecret(EksSecret)Copyright © 2023. All rights reserved.