Interface EksContainerVolumeMount.Builder

    • 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.
      • 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 is false.

        Parameters:
        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 is false.
        Returns:
        Returns a reference to this object so that method calls can be chained together.