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

com.pulumi.aws.apigateway.inputs.GetAuthorizerArgs 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.aws.apigateway.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;


public final class GetAuthorizerArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetAuthorizerArgs Empty = new GetAuthorizerArgs();

    /**
     * Authorizer identifier.
     * 
     */
    @Import(name="authorizerId", required=true)
    private Output authorizerId;

    /**
     * @return Authorizer identifier.
     * 
     */
    public Output authorizerId() {
        return this.authorizerId;
    }

    /**
     * ID of the associated REST API.
     * 
     */
    @Import(name="restApiId", required=true)
    private Output restApiId;

    /**
     * @return ID of the associated REST API.
     * 
     */
    public Output restApiId() {
        return this.restApiId;
    }

    private GetAuthorizerArgs() {}

    private GetAuthorizerArgs(GetAuthorizerArgs $) {
        this.authorizerId = $.authorizerId;
        this.restApiId = $.restApiId;
    }

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

    public static final class Builder {
        private GetAuthorizerArgs $;

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

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

        /**
         * @param authorizerId Authorizer identifier.
         * 
         * @return builder
         * 
         */
        public Builder authorizerId(Output authorizerId) {
            $.authorizerId = authorizerId;
            return this;
        }

        /**
         * @param authorizerId Authorizer identifier.
         * 
         * @return builder
         * 
         */
        public Builder authorizerId(String authorizerId) {
            return authorizerId(Output.of(authorizerId));
        }

        /**
         * @param restApiId ID of the associated REST API.
         * 
         * @return builder
         * 
         */
        public Builder restApiId(Output restApiId) {
            $.restApiId = restApiId;
            return this;
        }

        /**
         * @param restApiId ID of the associated REST API.
         * 
         * @return builder
         * 
         */
        public Builder restApiId(String restApiId) {
            return restApiId(Output.of(restApiId));
        }

        public GetAuthorizerArgs build() {
            if ($.authorizerId == null) {
                throw new MissingRequiredPropertyException("GetAuthorizerArgs", "authorizerId");
            }
            if ($.restApiId == null) {
                throw new MissingRequiredPropertyException("GetAuthorizerArgs", "restApiId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy