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

com.pulumi.azurenative.redhatopenshift.inputs.ConsoleProfileArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * ConsoleProfile represents a console profile.
 * 
 */
public final class ConsoleProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConsoleProfileArgs Empty = new ConsoleProfileArgs();

    /**
     * The URL to access the cluster console.
     * 
     */
    @Import(name="url")
    private @Nullable Output url;

    /**
     * @return The URL to access the cluster console.
     * 
     */
    public Optional> url() {
        return Optional.ofNullable(this.url);
    }

    private ConsoleProfileArgs() {}

    private ConsoleProfileArgs(ConsoleProfileArgs $) {
        this.url = $.url;
    }

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

    public static final class Builder {
        private ConsoleProfileArgs $;

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

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

        /**
         * @param url The URL to access the cluster console.
         * 
         * @return builder
         * 
         */
        public Builder url(@Nullable Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url The URL to access the cluster console.
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        public ConsoleProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy