Interface EksContainerVolumeMount.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EksContainerVolumeMount.Builder,
,EksContainerVolumeMount> SdkBuilder<EksContainerVolumeMount.Builder,
,EksContainerVolumeMount> SdkPojo
- Enclosing class:
EksContainerVolumeMount
public static interface EksContainerVolumeMount.Builder
extends SdkPojo, CopyableBuilder<EksContainerVolumeMount.Builder,EksContainerVolumeMount>
-
Method Summary
Modifier and TypeMethodDescriptionThe path on the container where the volume is mounted.The name the volume mount.If this value istrue
, the container has read-only access to the 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 the volume mount. This must match the name of one of the volumes in the pod.
- Parameters:
name
- The name the volume mount. This must match the name of one of the volumes in the pod.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountPath
The path on the container where the volume is mounted.
- Parameters:
mountPath
- The path on the container where the volume is mounted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readOnly
If this value is
true
, the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value isfalse
.- Parameters:
readOnly
- If this value istrue
, the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-