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

com.pulumi.azure.network.inputs.ExpressRoutePortAuthorizationState 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.azure.network.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;


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

    public static final ExpressRoutePortAuthorizationState Empty = new ExpressRoutePortAuthorizationState();

    /**
     * The Authorization Key.
     * 
     */
    @Import(name="authorizationKey")
    private @Nullable Output authorizationKey;

    /**
     * @return The Authorization Key.
     * 
     */
    public Optional> authorizationKey() {
        return Optional.ofNullable(this.authorizationKey);
    }

    /**
     * The authorization use status.
     * 
     */
    @Import(name="authorizationUseStatus")
    private @Nullable Output authorizationUseStatus;

    /**
     * @return The authorization use status.
     * 
     */
    public Optional> authorizationUseStatus() {
        return Optional.ofNullable(this.authorizationUseStatus);
    }

    /**
     * The name of the Express Route Port in which to create the Authorization. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="expressRoutePortName")
    private @Nullable Output expressRoutePortName;

    /**
     * @return The name of the Express Route Port in which to create the Authorization. Changing this forces a new resource to be created.
     * 
     */
    public Optional> expressRoutePortName() {
        return Optional.ofNullable(this.expressRoutePortName);
    }

    /**
     * The name of the ExpressRoute Port. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the ExpressRoute Port. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name of the resource group in which to create the ExpressRoute Port. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return The name of the resource group in which to create the ExpressRoute Port. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    private ExpressRoutePortAuthorizationState() {}

    private ExpressRoutePortAuthorizationState(ExpressRoutePortAuthorizationState $) {
        this.authorizationKey = $.authorizationKey;
        this.authorizationUseStatus = $.authorizationUseStatus;
        this.expressRoutePortName = $.expressRoutePortName;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private ExpressRoutePortAuthorizationState $;

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

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

        /**
         * @param authorizationKey The Authorization Key.
         * 
         * @return builder
         * 
         */
        public Builder authorizationKey(@Nullable Output authorizationKey) {
            $.authorizationKey = authorizationKey;
            return this;
        }

        /**
         * @param authorizationKey The Authorization Key.
         * 
         * @return builder
         * 
         */
        public Builder authorizationKey(String authorizationKey) {
            return authorizationKey(Output.of(authorizationKey));
        }

        /**
         * @param authorizationUseStatus The authorization use status.
         * 
         * @return builder
         * 
         */
        public Builder authorizationUseStatus(@Nullable Output authorizationUseStatus) {
            $.authorizationUseStatus = authorizationUseStatus;
            return this;
        }

        /**
         * @param authorizationUseStatus The authorization use status.
         * 
         * @return builder
         * 
         */
        public Builder authorizationUseStatus(String authorizationUseStatus) {
            return authorizationUseStatus(Output.of(authorizationUseStatus));
        }

        /**
         * @param expressRoutePortName The name of the Express Route Port in which to create the Authorization. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder expressRoutePortName(@Nullable Output expressRoutePortName) {
            $.expressRoutePortName = expressRoutePortName;
            return this;
        }

        /**
         * @param expressRoutePortName The name of the Express Route Port in which to create the Authorization. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder expressRoutePortName(String expressRoutePortName) {
            return expressRoutePortName(Output.of(expressRoutePortName));
        }

        /**
         * @param name The name of the ExpressRoute Port. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the ExpressRoute Port. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the ExpressRoute Port. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the ExpressRoute Port. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public ExpressRoutePortAuthorizationState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy