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

com.pulumi.azure.redhatopenshift.inputs.ClusterApiServerProfileArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.redhatopenshift.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ClusterApiServerProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClusterApiServerProfileArgs Empty = new ClusterApiServerProfileArgs();

    /**
     * The IP Address the Ingress Profile is associated with.
     * 
     */
    @Import(name="ipAddress")
    private @Nullable Output ipAddress;

    /**
     * @return The IP Address the Ingress Profile is associated with.
     * 
     */
    public Optional> ipAddress() {
        return Optional.ofNullable(this.ipAddress);
    }

    /**
     * The URL the API Server Profile is associated with.
     * 
     */
    @Import(name="url")
    private @Nullable Output url;

    /**
     * @return The URL the API Server Profile is associated with.
     * 
     */
    public Optional> url() {
        return Optional.ofNullable(this.url);
    }

    /**
     * Cluster API server visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="visibility", required=true)
    private Output visibility;

    /**
     * @return Cluster API server visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
     * 
     */
    public Output visibility() {
        return this.visibility;
    }

    private ClusterApiServerProfileArgs() {}

    private ClusterApiServerProfileArgs(ClusterApiServerProfileArgs $) {
        this.ipAddress = $.ipAddress;
        this.url = $.url;
        this.visibility = $.visibility;
    }

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

    public static final class Builder {
        private ClusterApiServerProfileArgs $;

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

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

        /**
         * @param ipAddress The IP Address the Ingress Profile is associated with.
         * 
         * @return builder
         * 
         */
        public Builder ipAddress(@Nullable Output ipAddress) {
            $.ipAddress = ipAddress;
            return this;
        }

        /**
         * @param ipAddress The IP Address the Ingress Profile is associated with.
         * 
         * @return builder
         * 
         */
        public Builder ipAddress(String ipAddress) {
            return ipAddress(Output.of(ipAddress));
        }

        /**
         * @param url The URL the API Server Profile is associated with.
         * 
         * @return builder
         * 
         */
        public Builder url(@Nullable Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url The URL the API Server Profile is associated with.
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        /**
         * @param visibility Cluster API server visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder visibility(Output visibility) {
            $.visibility = visibility;
            return this;
        }

        /**
         * @param visibility Cluster API server visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder visibility(String visibility) {
            return visibility(Output.of(visibility));
        }

        public ClusterApiServerProfileArgs build() {
            if ($.visibility == null) {
                throw new MissingRequiredPropertyException("ClusterApiServerProfileArgs", "visibility");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy