Class KubeCsiDriver.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static KubeCsiDriver.Builder create​(software.constructs.Construct scope,
                                                   String id)
        Parameters:
        scope - the scope in which to define this object. This parameter is required.
        id - a scope-local name for the object. This parameter is required.
        Returns:
        a new instance of KubeCsiDriver.Builder.
      • spec

        @Stability(Stable)
        public KubeCsiDriver.Builder spec​(CsiDriverSpec spec)
        Specification of the CSI Driver.

        Parameters:
        spec - Specification of the CSI Driver. This parameter is required.
        Returns:
        this
      • metadata

        @Stability(Stable)
        public KubeCsiDriver.Builder metadata​(ObjectMeta metadata)
        Standard object metadata.

        metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

        Parameters:
        metadata - Standard object metadata. This parameter is required.
        Returns:
        this
      • build

        @Stability(Stable)
        public KubeCsiDriver build()
        Specified by:
        build in interface software.amazon.jsii.Builder<KubeCsiDriver>