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

com.pulumi.azurenative.web.inputs.GetCustomApiPlainArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.web.inputs;

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 GetCustomApiPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCustomApiPlainArgs Empty = new GetCustomApiPlainArgs();

    /**
     * API name
     * 
     */
    @Import(name="apiName", required=true)
    private String apiName;

    /**
     * @return API name
     * 
     */
    public String apiName() {
        return this.apiName;
    }

    /**
     * The resource group
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The resource group
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Subscription Id
     * 
     */
    @Import(name="subscriptionId")
    private @Nullable String subscriptionId;

    /**
     * @return Subscription Id
     * 
     */
    public Optional subscriptionId() {
        return Optional.ofNullable(this.subscriptionId);
    }

    private GetCustomApiPlainArgs() {}

    private GetCustomApiPlainArgs(GetCustomApiPlainArgs $) {
        this.apiName = $.apiName;
        this.resourceGroupName = $.resourceGroupName;
        this.subscriptionId = $.subscriptionId;
    }

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

    public static final class Builder {
        private GetCustomApiPlainArgs $;

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

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

        /**
         * @param apiName API name
         * 
         * @return builder
         * 
         */
        public Builder apiName(String apiName) {
            $.apiName = apiName;
            return this;
        }

        /**
         * @param resourceGroupName The resource group
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param subscriptionId Subscription Id
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(@Nullable String subscriptionId) {
            $.subscriptionId = subscriptionId;
            return this;
        }

        public GetCustomApiPlainArgs build() {
            if ($.apiName == null) {
                throw new MissingRequiredPropertyException("GetCustomApiPlainArgs", "apiName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetCustomApiPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy