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

com.pulumi.azurenative.synapse.inputs.LinkedIntegrationRuntimeRbacAuthorizationArgs Maven / Gradle / Ivy

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


/**
 * The role based access control (RBAC) authorization type integration runtime.
 * 
 */
public final class LinkedIntegrationRuntimeRbacAuthorizationArgs extends com.pulumi.resources.ResourceArgs {

    public static final LinkedIntegrationRuntimeRbacAuthorizationArgs Empty = new LinkedIntegrationRuntimeRbacAuthorizationArgs();

    /**
     * The authorization type for integration runtime sharing.
     * Expected value is 'RBAC'.
     * 
     */
    @Import(name="authorizationType", required=true)
    private Output authorizationType;

    /**
     * @return The authorization type for integration runtime sharing.
     * Expected value is 'RBAC'.
     * 
     */
    public Output authorizationType() {
        return this.authorizationType;
    }

    /**
     * The resource identifier of the integration runtime to be shared.
     * 
     */
    @Import(name="resourceId", required=true)
    private Output resourceId;

    /**
     * @return The resource identifier of the integration runtime to be shared.
     * 
     */
    public Output resourceId() {
        return this.resourceId;
    }

    private LinkedIntegrationRuntimeRbacAuthorizationArgs() {}

    private LinkedIntegrationRuntimeRbacAuthorizationArgs(LinkedIntegrationRuntimeRbacAuthorizationArgs $) {
        this.authorizationType = $.authorizationType;
        this.resourceId = $.resourceId;
    }

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

    public static final class Builder {
        private LinkedIntegrationRuntimeRbacAuthorizationArgs $;

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

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

        /**
         * @param authorizationType The authorization type for integration runtime sharing.
         * Expected value is 'RBAC'.
         * 
         * @return builder
         * 
         */
        public Builder authorizationType(Output authorizationType) {
            $.authorizationType = authorizationType;
            return this;
        }

        /**
         * @param authorizationType The authorization type for integration runtime sharing.
         * Expected value is 'RBAC'.
         * 
         * @return builder
         * 
         */
        public Builder authorizationType(String authorizationType) {
            return authorizationType(Output.of(authorizationType));
        }

        /**
         * @param resourceId The resource identifier of the integration runtime to be shared.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(Output resourceId) {
            $.resourceId = resourceId;
            return this;
        }

        /**
         * @param resourceId The resource identifier of the integration runtime to be shared.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(String resourceId) {
            return resourceId(Output.of(resourceId));
        }

        public LinkedIntegrationRuntimeRbacAuthorizationArgs build() {
            $.authorizationType = Codegen.stringProp("authorizationType").output().arg($.authorizationType).require();
            if ($.resourceId == null) {
                throw new MissingRequiredPropertyException("LinkedIntegrationRuntimeRbacAuthorizationArgs", "resourceId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy