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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EksContainerVolumeMount.BuildermountPath(String mountPath)The path on the container where the volume is mounted.EksContainerVolumeMount.Buildername(String name)The name the volume mount.EksContainerVolumeMount.BuilderreadOnly(Boolean readOnly)If this value istrue, the container has read-only access to the volume.EksContainerVolumeMount.BuildersubPath(String subPath)A sub-path inside the referenced volume instead of its root.-
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
EksContainerVolumeMount.Builder name(String 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
EksContainerVolumeMount.Builder mountPath(String 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.
-
subPath
EksContainerVolumeMount.Builder subPath(String subPath)
A sub-path inside the referenced volume instead of its root.
- Parameters:
subPath- A sub-path inside the referenced volume instead of its root.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readOnly
EksContainerVolumeMount.Builder readOnly(Boolean 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.
-
-