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

com.pulumi.azurenative.redhatopenshift.inputs.IngressProfileArgs 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.redhatopenshift.inputs;

import com.pulumi.azurenative.redhatopenshift.enums.Visibility;
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;


/**
 * IngressProfile represents an ingress profile.
 * 
 */
public final class IngressProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final IngressProfileArgs Empty = new IngressProfileArgs();

    /**
     * The IP of the ingress.
     * 
     */
    @Import(name="ip")
    private @Nullable Output ip;

    /**
     * @return The IP of the ingress.
     * 
     */
    public Optional> ip() {
        return Optional.ofNullable(this.ip);
    }

    /**
     * The ingress profile name.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The ingress profile name.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Ingress visibility.
     * 
     */
    @Import(name="visibility")
    private @Nullable Output> visibility;

    /**
     * @return Ingress visibility.
     * 
     */
    public Optional>> visibility() {
        return Optional.ofNullable(this.visibility);
    }

    private IngressProfileArgs() {}

    private IngressProfileArgs(IngressProfileArgs $) {
        this.ip = $.ip;
        this.name = $.name;
        this.visibility = $.visibility;
    }

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

    public static final class Builder {
        private IngressProfileArgs $;

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

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

        /**
         * @param ip The IP of the ingress.
         * 
         * @return builder
         * 
         */
        public Builder ip(@Nullable Output ip) {
            $.ip = ip;
            return this;
        }

        /**
         * @param ip The IP of the ingress.
         * 
         * @return builder
         * 
         */
        public Builder ip(String ip) {
            return ip(Output.of(ip));
        }

        /**
         * @param name The ingress profile name.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The ingress profile name.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param visibility Ingress visibility.
         * 
         * @return builder
         * 
         */
        public Builder visibility(@Nullable Output> visibility) {
            $.visibility = visibility;
            return this;
        }

        /**
         * @param visibility Ingress visibility.
         * 
         * @return builder
         * 
         */
        public Builder visibility(Either visibility) {
            return visibility(Output.of(visibility));
        }

        /**
         * @param visibility Ingress visibility.
         * 
         * @return builder
         * 
         */
        public Builder visibility(String visibility) {
            return visibility(Either.ofLeft(visibility));
        }

        /**
         * @param visibility Ingress visibility.
         * 
         * @return builder
         * 
         */
        public Builder visibility(Visibility visibility) {
            return visibility(Either.ofRight(visibility));
        }

        public IngressProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy