Class VolumeDevice.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • devicePath

        @Stability(Stable)
        public VolumeDevice.Builder devicePath​(String devicePath)
        Parameters:
        devicePath - devicePath is the path inside of the container that the device will be mapped to. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public VolumeDevice.Builder name​(String name)
        Sets the value of VolumeDevice.getName()
        Parameters:
        name - name must match the name of a persistentVolumeClaim in the pod. This parameter is required.
        Returns:
        this
      • build

        @Stability(Stable)
        public VolumeDevice build()
        Builds the configured instance.
        Specified by:
        build in interface software.amazon.jsii.Builder<VolumeDevice>
        Returns:
        a new instance of VolumeDevice
        Throws:
        NullPointerException - if any required attribute was not provided