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

com.pulumi.googlenative.gkeonprem.v1.inputs.BareMetalVipConfigArgs 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.googlenative.gkeonprem.v1.inputs;

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;


/**
 * Specifies the VIP config for the bare metal load balancer.
 * 
 */
public final class BareMetalVipConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final BareMetalVipConfigArgs Empty = new BareMetalVipConfigArgs();

    /**
     * The VIP which you previously set aside for the Kubernetes API of this bare metal user cluster.
     * 
     */
    @Import(name="controlPlaneVip")
    private @Nullable Output controlPlaneVip;

    /**
     * @return The VIP which you previously set aside for the Kubernetes API of this bare metal user cluster.
     * 
     */
    public Optional> controlPlaneVip() {
        return Optional.ofNullable(this.controlPlaneVip);
    }

    /**
     * The VIP which you previously set aside for ingress traffic into this bare metal user cluster.
     * 
     */
    @Import(name="ingressVip")
    private @Nullable Output ingressVip;

    /**
     * @return The VIP which you previously set aside for ingress traffic into this bare metal user cluster.
     * 
     */
    public Optional> ingressVip() {
        return Optional.ofNullable(this.ingressVip);
    }

    private BareMetalVipConfigArgs() {}

    private BareMetalVipConfigArgs(BareMetalVipConfigArgs $) {
        this.controlPlaneVip = $.controlPlaneVip;
        this.ingressVip = $.ingressVip;
    }

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

    public static final class Builder {
        private BareMetalVipConfigArgs $;

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

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

        /**
         * @param controlPlaneVip The VIP which you previously set aside for the Kubernetes API of this bare metal user cluster.
         * 
         * @return builder
         * 
         */
        public Builder controlPlaneVip(@Nullable Output controlPlaneVip) {
            $.controlPlaneVip = controlPlaneVip;
            return this;
        }

        /**
         * @param controlPlaneVip The VIP which you previously set aside for the Kubernetes API of this bare metal user cluster.
         * 
         * @return builder
         * 
         */
        public Builder controlPlaneVip(String controlPlaneVip) {
            return controlPlaneVip(Output.of(controlPlaneVip));
        }

        /**
         * @param ingressVip The VIP which you previously set aside for ingress traffic into this bare metal user cluster.
         * 
         * @return builder
         * 
         */
        public Builder ingressVip(@Nullable Output ingressVip) {
            $.ingressVip = ingressVip;
            return this;
        }

        /**
         * @param ingressVip The VIP which you previously set aside for ingress traffic into this bare metal user cluster.
         * 
         * @return builder
         * 
         */
        public Builder ingressVip(String ingressVip) {
            return ingressVip(Output.of(ingressVip));
        }

        public BareMetalVipConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy