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

com.pulumi.azurenative.hybridnetwork.inputs.AzureArcKubernetesDeployMappingRuleProfileArgs Maven / Gradle / Ivy

The 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.inputs;

import com.pulumi.azurenative.hybridnetwork.enums.ApplicationEnablement;
import com.pulumi.azurenative.hybridnetwork.inputs.HelmMappingRuleProfileArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Azure arc kubernetes deploy mapping rule profile.
 * 
 */
public final class AzureArcKubernetesDeployMappingRuleProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureArcKubernetesDeployMappingRuleProfileArgs Empty = new AzureArcKubernetesDeployMappingRuleProfileArgs();

    /**
     * The application enablement.
     * 
     */
    @Import(name="applicationEnablement")
    private @Nullable Output> applicationEnablement;

    /**
     * @return The application enablement.
     * 
     */
    public Optional>> applicationEnablement() {
        return Optional.ofNullable(this.applicationEnablement);
    }

    /**
     * The helm mapping rule profile.
     * 
     */
    @Import(name="helmMappingRuleProfile")
    private @Nullable Output helmMappingRuleProfile;

    /**
     * @return The helm mapping rule profile.
     * 
     */
    public Optional> helmMappingRuleProfile() {
        return Optional.ofNullable(this.helmMappingRuleProfile);
    }

    private AzureArcKubernetesDeployMappingRuleProfileArgs() {}

    private AzureArcKubernetesDeployMappingRuleProfileArgs(AzureArcKubernetesDeployMappingRuleProfileArgs $) {
        this.applicationEnablement = $.applicationEnablement;
        this.helmMappingRuleProfile = $.helmMappingRuleProfile;
    }

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

    public static final class Builder {
        private AzureArcKubernetesDeployMappingRuleProfileArgs $;

        public Builder() {
            $ = new AzureArcKubernetesDeployMappingRuleProfileArgs();
        }

        public Builder(AzureArcKubernetesDeployMappingRuleProfileArgs defaults) {
            $ = new AzureArcKubernetesDeployMappingRuleProfileArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param applicationEnablement The application enablement.
         * 
         * @return builder
         * 
         */
        public Builder applicationEnablement(@Nullable Output> applicationEnablement) {
            $.applicationEnablement = applicationEnablement;
            return this;
        }

        /**
         * @param applicationEnablement The application enablement.
         * 
         * @return builder
         * 
         */
        public Builder applicationEnablement(Either applicationEnablement) {
            return applicationEnablement(Output.of(applicationEnablement));
        }

        /**
         * @param applicationEnablement The application enablement.
         * 
         * @return builder
         * 
         */
        public Builder applicationEnablement(String applicationEnablement) {
            return applicationEnablement(Either.ofLeft(applicationEnablement));
        }

        /**
         * @param applicationEnablement The application enablement.
         * 
         * @return builder
         * 
         */
        public Builder applicationEnablement(ApplicationEnablement applicationEnablement) {
            return applicationEnablement(Either.ofRight(applicationEnablement));
        }

        /**
         * @param helmMappingRuleProfile The helm mapping rule profile.
         * 
         * @return builder
         * 
         */
        public Builder helmMappingRuleProfile(@Nullable Output helmMappingRuleProfile) {
            $.helmMappingRuleProfile = helmMappingRuleProfile;
            return this;
        }

        /**
         * @param helmMappingRuleProfile The helm mapping rule profile.
         * 
         * @return builder
         * 
         */
        public Builder helmMappingRuleProfile(HelmMappingRuleProfileArgs helmMappingRuleProfile) {
            return helmMappingRuleProfile(Output.of(helmMappingRuleProfile));
        }

        public AzureArcKubernetesDeployMappingRuleProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy