Class VolumeAttributesClassArgs.Builder

  • Enclosing class:
    VolumeAttributesClassArgs

    public static final class VolumeAttributesClassArgs.Builder
    extends java.lang.Object
    • Method Detail

      • apiVersion

        public VolumeAttributesClassArgs.Builder apiVersion​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> apiVersion)
        Parameters:
        apiVersion - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
        Returns:
        builder
      • apiVersion

        public VolumeAttributesClassArgs.Builder apiVersion​(java.lang.String apiVersion)
        Parameters:
        apiVersion - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
        Returns:
        builder
      • driverName

        public VolumeAttributesClassArgs.Builder driverName​(com.pulumi.core.Output<java.lang.String> driverName)
        Parameters:
        driverName - Name of the CSI driver This field is immutable.
        Returns:
        builder
      • driverName

        public VolumeAttributesClassArgs.Builder driverName​(java.lang.String driverName)
        Parameters:
        driverName - Name of the CSI driver This field is immutable.
        Returns:
        builder
      • kind

        public VolumeAttributesClassArgs.Builder kind​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> kind)
        Parameters:
        kind - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
        Returns:
        builder
      • kind

        public VolumeAttributesClassArgs.Builder kind​(java.lang.String kind)
        Parameters:
        kind - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
        Returns:
        builder
      • metadata

        public VolumeAttributesClassArgs.Builder metadata​(@Nullable
                                                          com.pulumi.core.Output<ObjectMetaArgs> metadata)
        Parameters:
        metadata - Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
        Returns:
        builder
      • metadata

        public VolumeAttributesClassArgs.Builder metadata​(ObjectMetaArgs metadata)
        Parameters:
        metadata - Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
        Returns:
        builder
      • parameters

        public VolumeAttributesClassArgs.Builder parameters​(@Nullable
                                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> parameters)
        Parameters:
        parameters - parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.
        Returns:
        builder
      • parameters

        public VolumeAttributesClassArgs.Builder parameters​(java.util.Map<java.lang.String,​java.lang.String> parameters)
        Parameters:
        parameters - parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.
        Returns:
        builder