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

com.pulumi.azurenative.migrate.inputs.AKSDeploymentSpecificationArgs Maven / Gradle / Ivy

// *** 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.migrate.inputs;

import com.pulumi.azurenative.migrate.enums.LoadBalancerType;
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;


/**
 * AKS Deployment Specification.
 * 
 */
public final class AKSDeploymentSpecificationArgs extends com.pulumi.resources.ResourceArgs {

    public static final AKSDeploymentSpecificationArgs Empty = new AKSDeploymentSpecificationArgs();

    /**
     * Gets or sets the Merged Deployment and service Yaml.
     * 
     */
    @Import(name="kubernetesObjectsYaml")
    private @Nullable Output kubernetesObjectsYaml;

    /**
     * @return Gets or sets the Merged Deployment and service Yaml.
     * 
     */
    public Optional> kubernetesObjectsYaml() {
        return Optional.ofNullable(this.kubernetesObjectsYaml);
    }

    /**
     * Gets or sets the load balancer type.
     * 
     */
    @Import(name="loadBalancerType")
    private @Nullable Output> loadBalancerType;

    /**
     * @return Gets or sets the load balancer type.
     * 
     */
    public Optional>> loadBalancerType() {
        return Optional.ofNullable(this.loadBalancerType);
    }

    /**
     * Gets or sets the replica count to be created in AKS.
     * 
     */
    @Import(name="replicaCount")
    private @Nullable Output replicaCount;

    /**
     * @return Gets or sets the replica count to be created in AKS.
     * 
     */
    public Optional> replicaCount() {
        return Optional.ofNullable(this.replicaCount);
    }

    private AKSDeploymentSpecificationArgs() {}

    private AKSDeploymentSpecificationArgs(AKSDeploymentSpecificationArgs $) {
        this.kubernetesObjectsYaml = $.kubernetesObjectsYaml;
        this.loadBalancerType = $.loadBalancerType;
        this.replicaCount = $.replicaCount;
    }

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

    public static final class Builder {
        private AKSDeploymentSpecificationArgs $;

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

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

        /**
         * @param kubernetesObjectsYaml Gets or sets the Merged Deployment and service Yaml.
         * 
         * @return builder
         * 
         */
        public Builder kubernetesObjectsYaml(@Nullable Output kubernetesObjectsYaml) {
            $.kubernetesObjectsYaml = kubernetesObjectsYaml;
            return this;
        }

        /**
         * @param kubernetesObjectsYaml Gets or sets the Merged Deployment and service Yaml.
         * 
         * @return builder
         * 
         */
        public Builder kubernetesObjectsYaml(String kubernetesObjectsYaml) {
            return kubernetesObjectsYaml(Output.of(kubernetesObjectsYaml));
        }

        /**
         * @param loadBalancerType Gets or sets the load balancer type.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancerType(@Nullable Output> loadBalancerType) {
            $.loadBalancerType = loadBalancerType;
            return this;
        }

        /**
         * @param loadBalancerType Gets or sets the load balancer type.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancerType(Either loadBalancerType) {
            return loadBalancerType(Output.of(loadBalancerType));
        }

        /**
         * @param loadBalancerType Gets or sets the load balancer type.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancerType(String loadBalancerType) {
            return loadBalancerType(Either.ofLeft(loadBalancerType));
        }

        /**
         * @param loadBalancerType Gets or sets the load balancer type.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancerType(LoadBalancerType loadBalancerType) {
            return loadBalancerType(Either.ofRight(loadBalancerType));
        }

        /**
         * @param replicaCount Gets or sets the replica count to be created in AKS.
         * 
         * @return builder
         * 
         */
        public Builder replicaCount(@Nullable Output replicaCount) {
            $.replicaCount = replicaCount;
            return this;
        }

        /**
         * @param replicaCount Gets or sets the replica count to be created in AKS.
         * 
         * @return builder
         * 
         */
        public Builder replicaCount(String replicaCount) {
            return replicaCount(Output.of(replicaCount));
        }

        public AKSDeploymentSpecificationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy