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

com.pulumi.azurenative.apimanagement.inputs.GetAuthorizationAccessPolicyArgs Maven / Gradle / Ivy

The 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.apimanagement.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 GetAuthorizationAccessPolicyArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetAuthorizationAccessPolicyArgs Empty = new GetAuthorizationAccessPolicyArgs();

    /**
     * Identifier of the authorization access policy.
     * 
     */
    @Import(name="authorizationAccessPolicyId", required=true)
    private Output authorizationAccessPolicyId;

    /**
     * @return Identifier of the authorization access policy.
     * 
     */
    public Output authorizationAccessPolicyId() {
        return this.authorizationAccessPolicyId;
    }

    /**
     * Identifier of the authorization.
     * 
     */
    @Import(name="authorizationId", required=true)
    private Output authorizationId;

    /**
     * @return Identifier of the authorization.
     * 
     */
    public Output authorizationId() {
        return this.authorizationId;
    }

    /**
     * Identifier of the authorization provider.
     * 
     */
    @Import(name="authorizationProviderId", required=true)
    private Output authorizationProviderId;

    /**
     * @return Identifier of the authorization provider.
     * 
     */
    public Output authorizationProviderId() {
        return this.authorizationProviderId;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the API Management service.
     * 
     */
    @Import(name="serviceName", required=true)
    private Output serviceName;

    /**
     * @return The name of the API Management service.
     * 
     */
    public Output serviceName() {
        return this.serviceName;
    }

    private GetAuthorizationAccessPolicyArgs() {}

    private GetAuthorizationAccessPolicyArgs(GetAuthorizationAccessPolicyArgs $) {
        this.authorizationAccessPolicyId = $.authorizationAccessPolicyId;
        this.authorizationId = $.authorizationId;
        this.authorizationProviderId = $.authorizationProviderId;
        this.resourceGroupName = $.resourceGroupName;
        this.serviceName = $.serviceName;
    }

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

    public static final class Builder {
        private GetAuthorizationAccessPolicyArgs $;

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

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

        /**
         * @param authorizationAccessPolicyId Identifier of the authorization access policy.
         * 
         * @return builder
         * 
         */
        public Builder authorizationAccessPolicyId(Output authorizationAccessPolicyId) {
            $.authorizationAccessPolicyId = authorizationAccessPolicyId;
            return this;
        }

        /**
         * @param authorizationAccessPolicyId Identifier of the authorization access policy.
         * 
         * @return builder
         * 
         */
        public Builder authorizationAccessPolicyId(String authorizationAccessPolicyId) {
            return authorizationAccessPolicyId(Output.of(authorizationAccessPolicyId));
        }

        /**
         * @param authorizationId Identifier of the authorization.
         * 
         * @return builder
         * 
         */
        public Builder authorizationId(Output authorizationId) {
            $.authorizationId = authorizationId;
            return this;
        }

        /**
         * @param authorizationId Identifier of the authorization.
         * 
         * @return builder
         * 
         */
        public Builder authorizationId(String authorizationId) {
            return authorizationId(Output.of(authorizationId));
        }

        /**
         * @param authorizationProviderId Identifier of the authorization provider.
         * 
         * @return builder
         * 
         */
        public Builder authorizationProviderId(Output authorizationProviderId) {
            $.authorizationProviderId = authorizationProviderId;
            return this;
        }

        /**
         * @param authorizationProviderId Identifier of the authorization provider.
         * 
         * @return builder
         * 
         */
        public Builder authorizationProviderId(String authorizationProviderId) {
            return authorizationProviderId(Output.of(authorizationProviderId));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param serviceName The name of the API Management service.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(Output serviceName) {
            $.serviceName = serviceName;
            return this;
        }

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

        public GetAuthorizationAccessPolicyArgs build() {
            if ($.authorizationAccessPolicyId == null) {
                throw new MissingRequiredPropertyException("GetAuthorizationAccessPolicyArgs", "authorizationAccessPolicyId");
            }
            if ($.authorizationId == null) {
                throw new MissingRequiredPropertyException("GetAuthorizationAccessPolicyArgs", "authorizationId");
            }
            if ($.authorizationProviderId == null) {
                throw new MissingRequiredPropertyException("GetAuthorizationAccessPolicyArgs", "authorizationProviderId");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetAuthorizationAccessPolicyArgs", "resourceGroupName");
            }
            if ($.serviceName == null) {
                throw new MissingRequiredPropertyException("GetAuthorizationAccessPolicyArgs", "serviceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy