All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.kubernetesconfiguration.outputs.PostBuildDefinitionResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.kubernetesconfiguration.outputs;

import com.pulumi.azurenative.kubernetesconfiguration.outputs.SubstituteFromDefinitionResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class PostBuildDefinitionResponse {
    /**
     * @return Key/value pairs holding the variables to be substituted in this Kustomization.
     * 
     */
    private @Nullable Map substitute;
    /**
     * @return Array of ConfigMaps/Secrets from which the variables are substituted for this Kustomization.
     * 
     */
    private @Nullable List substituteFrom;

    private PostBuildDefinitionResponse() {}
    /**
     * @return Key/value pairs holding the variables to be substituted in this Kustomization.
     * 
     */
    public Map substitute() {
        return this.substitute == null ? Map.of() : this.substitute;
    }
    /**
     * @return Array of ConfigMaps/Secrets from which the variables are substituted for this Kustomization.
     * 
     */
    public List substituteFrom() {
        return this.substituteFrom == null ? List.of() : this.substituteFrom;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(PostBuildDefinitionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Map substitute;
        private @Nullable List substituteFrom;
        public Builder() {}
        public Builder(PostBuildDefinitionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.substitute = defaults.substitute;
    	      this.substituteFrom = defaults.substituteFrom;
        }

        @CustomType.Setter
        public Builder substitute(@Nullable Map substitute) {

            this.substitute = substitute;
            return this;
        }
        @CustomType.Setter
        public Builder substituteFrom(@Nullable List substituteFrom) {

            this.substituteFrom = substituteFrom;
            return this;
        }
        public Builder substituteFrom(SubstituteFromDefinitionResponse... substituteFrom) {
            return substituteFrom(List.of(substituteFrom));
        }
        public PostBuildDefinitionResponse build() {
            final var _resultValue = new PostBuildDefinitionResponse();
            _resultValue.substitute = substitute;
            _resultValue.substituteFrom = substituteFrom;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy