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

com.pulumi.azurenative.hybridnetwork.outputs.HelmMappingRuleProfileResponseOptions Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.hybridnetwork.outputs;

import com.pulumi.azurenative.hybridnetwork.outputs.HelmInstallOptionsResponse;
import com.pulumi.azurenative.hybridnetwork.outputs.HelmUpgradeOptionsResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class HelmMappingRuleProfileResponseOptions {
    /**
     * @return The helm deployment install options
     * 
     */
    private @Nullable HelmInstallOptionsResponse installOptions;
    /**
     * @return The helm deployment upgrade options
     * 
     */
    private @Nullable HelmUpgradeOptionsResponse upgradeOptions;

    private HelmMappingRuleProfileResponseOptions() {}
    /**
     * @return The helm deployment install options
     * 
     */
    public Optional installOptions() {
        return Optional.ofNullable(this.installOptions);
    }
    /**
     * @return The helm deployment upgrade options
     * 
     */
    public Optional upgradeOptions() {
        return Optional.ofNullable(this.upgradeOptions);
    }

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

    public static Builder builder(HelmMappingRuleProfileResponseOptions defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable HelmInstallOptionsResponse installOptions;
        private @Nullable HelmUpgradeOptionsResponse upgradeOptions;
        public Builder() {}
        public Builder(HelmMappingRuleProfileResponseOptions defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.installOptions = defaults.installOptions;
    	      this.upgradeOptions = defaults.upgradeOptions;
        }

        @CustomType.Setter
        public Builder installOptions(@Nullable HelmInstallOptionsResponse installOptions) {

            this.installOptions = installOptions;
            return this;
        }
        @CustomType.Setter
        public Builder upgradeOptions(@Nullable HelmUpgradeOptionsResponse upgradeOptions) {

            this.upgradeOptions = upgradeOptions;
            return this;
        }
        public HelmMappingRuleProfileResponseOptions build() {
            final var _resultValue = new HelmMappingRuleProfileResponseOptions();
            _resultValue.installOptions = installOptions;
            _resultValue.upgradeOptions = upgradeOptions;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy