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

com.pulumi.azure.apimanagement.inputs.GatewayState 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.apimanagement.inputs;

import com.pulumi.azure.apimanagement.inputs.GatewayLocationDataArgs;
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 GatewayState extends com.pulumi.resources.ResourceArgs {

    public static final GatewayState Empty = new GatewayState();

    /**
     * The ID of the API Management Resource in which the gateway will be created. Changing this forces a new API Management Gateway resource to be created.
     * 
     */
    @Import(name="apiManagementId")
    private @Nullable Output apiManagementId;

    /**
     * @return The ID of the API Management Resource in which the gateway will be created. Changing this forces a new API Management Gateway resource to be created.
     * 
     */
    public Optional> apiManagementId() {
        return Optional.ofNullable(this.apiManagementId);
    }

    /**
     * The description of the API Management Gateway.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description of the API Management Gateway.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * A `location_data` block as documented below.
     * 
     */
    @Import(name="locationData")
    private @Nullable Output locationData;

    /**
     * @return A `location_data` block as documented below.
     * 
     */
    public Optional> locationData() {
        return Optional.ofNullable(this.locationData);
    }

    /**
     * The name which should be used for the API Management Gateway. Changing this forces a new API Management Gateway to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for the API Management Gateway. Changing this forces a new API Management Gateway to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private GatewayState() {}

    private GatewayState(GatewayState $) {
        this.apiManagementId = $.apiManagementId;
        this.description = $.description;
        this.locationData = $.locationData;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GatewayState $;

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

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

        /**
         * @param apiManagementId The ID of the API Management Resource in which the gateway will be created. Changing this forces a new API Management Gateway resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder apiManagementId(@Nullable Output apiManagementId) {
            $.apiManagementId = apiManagementId;
            return this;
        }

        /**
         * @param apiManagementId The ID of the API Management Resource in which the gateway will be created. Changing this forces a new API Management Gateway resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder apiManagementId(String apiManagementId) {
            return apiManagementId(Output.of(apiManagementId));
        }

        /**
         * @param description The description of the API Management Gateway.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description of the API Management Gateway.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param locationData A `location_data` block as documented below.
         * 
         * @return builder
         * 
         */
        public Builder locationData(@Nullable Output locationData) {
            $.locationData = locationData;
            return this;
        }

        /**
         * @param locationData A `location_data` block as documented below.
         * 
         * @return builder
         * 
         */
        public Builder locationData(GatewayLocationDataArgs locationData) {
            return locationData(Output.of(locationData));
        }

        /**
         * @param name The name which should be used for the API Management Gateway. Changing this forces a new API Management Gateway to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for the API Management Gateway. Changing this forces a new API Management Gateway to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public GatewayState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy