Class ConfigMapVolumeSourcePatchArgs.Builder

    • Method Detail

      • defaultMode

        public ConfigMapVolumeSourcePatchArgs.Builder defaultMode​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Integer> defaultMode)
        Parameters:
        defaultMode - defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
        Returns:
        builder
      • defaultMode

        public ConfigMapVolumeSourcePatchArgs.Builder defaultMode​(java.lang.Integer defaultMode)
        Parameters:
        defaultMode - defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
        Returns:
        builder
      • items

        public ConfigMapVolumeSourcePatchArgs.Builder items​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<KeyToPathPatchArgs>> items)
        Parameters:
        items - items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
        Returns:
        builder
      • items

        public ConfigMapVolumeSourcePatchArgs.Builder items​(java.util.List<KeyToPathPatchArgs> items)
        Parameters:
        items - items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
        Returns:
        builder
      • items

        public ConfigMapVolumeSourcePatchArgs.Builder items​(KeyToPathPatchArgs... items)
        Parameters:
        items - items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
        Returns:
        builder
      • name

        public ConfigMapVolumeSourcePatchArgs.Builder name​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
        Returns:
        builder
      • name

        public ConfigMapVolumeSourcePatchArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
        Returns:
        builder
      • optional

        public ConfigMapVolumeSourcePatchArgs.Builder optional​(@Nullable
                                                               com.pulumi.core.Output<java.lang.Boolean> optional)
        Parameters:
        optional - optional specify whether the ConfigMap or its keys must be defined
        Returns:
        builder
      • optional

        public ConfigMapVolumeSourcePatchArgs.Builder optional​(java.lang.Boolean optional)
        Parameters:
        optional - optional specify whether the ConfigMap or its keys must be defined
        Returns:
        builder