Package com.pulumi.kubernetes.core.v1
Class ConfigMapArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.core.v1.ConfigMapArgs.Builder
-
- Enclosing class:
- ConfigMapArgs
public static final class ConfigMapArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ConfigMapArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigMapArgs.Builder
apiVersion(com.pulumi.core.Output<java.lang.String> apiVersion)
ConfigMapArgs.Builder
apiVersion(java.lang.String apiVersion)
ConfigMapArgs.Builder
binaryData(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> binaryData)
ConfigMapArgs.Builder
binaryData(java.util.Map<java.lang.String,java.lang.String> binaryData)
ConfigMapArgs
build()
ConfigMapArgs.Builder
data(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> data)
ConfigMapArgs.Builder
data(java.util.Map<java.lang.String,java.lang.String> data)
ConfigMapArgs.Builder
immutable(com.pulumi.core.Output<java.lang.Boolean> immutable)
ConfigMapArgs.Builder
immutable(java.lang.Boolean immutable)
ConfigMapArgs.Builder
kind(com.pulumi.core.Output<java.lang.String> kind)
ConfigMapArgs.Builder
kind(java.lang.String kind)
ConfigMapArgs.Builder
metadata(com.pulumi.core.Output<ObjectMetaArgs> metadata)
ConfigMapArgs.Builder
metadata(ObjectMetaArgs metadata)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ConfigMapArgs defaults)
-
-
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
-
build
public ConfigMapArgs build()
-
-