Class ConfigMapArgs.Builder

  • Enclosing class:
    ConfigMapArgs

    public static final class ConfigMapArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • apiVersion

        public ConfigMapArgs.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 ConfigMapArgs.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
      • binaryData

        public ConfigMapArgs.Builder binaryData​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> binaryData)
        Parameters:
        binaryData - BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.
        Returns:
        builder
      • binaryData

        public ConfigMapArgs.Builder binaryData​(java.util.Map<java.lang.String,​java.lang.String> binaryData)
        Parameters:
        binaryData - BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.
        Returns:
        builder
      • data

        public ConfigMapArgs.Builder data​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> data)
        Parameters:
        data - Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.
        Returns:
        builder
      • data

        public ConfigMapArgs.Builder data​(java.util.Map<java.lang.String,​java.lang.String> data)
        Parameters:
        data - Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.
        Returns:
        builder
      • immutable

        public ConfigMapArgs.Builder immutable​(@Nullable
                                               com.pulumi.core.Output<java.lang.Boolean> immutable)
        Parameters:
        immutable - Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.
        Returns:
        builder
      • immutable

        public ConfigMapArgs.Builder immutable​(java.lang.Boolean immutable)
        Parameters:
        immutable - Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.
        Returns:
        builder
      • kind

        public ConfigMapArgs.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 ConfigMapArgs.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 ConfigMapArgs.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 ConfigMapArgs.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