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

com.pulumi.azurenative.datafactory.outputs.LinkedIntegrationRuntimeRbacAuthorizationResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.datafactory.outputs;

import com.pulumi.azurenative.datafactory.outputs.CredentialReferenceResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class LinkedIntegrationRuntimeRbacAuthorizationResponse {
    /**
     * @return The authorization type for integration runtime sharing.
     * Expected value is 'RBAC'.
     * 
     */
    private String authorizationType;
    /**
     * @return The credential reference containing authentication information.
     * 
     */
    private @Nullable CredentialReferenceResponse credential;
    /**
     * @return The resource identifier of the integration runtime to be shared.
     * 
     */
    private String resourceId;

    private LinkedIntegrationRuntimeRbacAuthorizationResponse() {}
    /**
     * @return The authorization type for integration runtime sharing.
     * Expected value is 'RBAC'.
     * 
     */
    public String authorizationType() {
        return this.authorizationType;
    }
    /**
     * @return The credential reference containing authentication information.
     * 
     */
    public Optional credential() {
        return Optional.ofNullable(this.credential);
    }
    /**
     * @return The resource identifier of the integration runtime to be shared.
     * 
     */
    public String resourceId() {
        return this.resourceId;
    }

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

    public static Builder builder(LinkedIntegrationRuntimeRbacAuthorizationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String authorizationType;
        private @Nullable CredentialReferenceResponse credential;
        private String resourceId;
        public Builder() {}
        public Builder(LinkedIntegrationRuntimeRbacAuthorizationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.authorizationType = defaults.authorizationType;
    	      this.credential = defaults.credential;
    	      this.resourceId = defaults.resourceId;
        }

        @CustomType.Setter
        public Builder authorizationType(String authorizationType) {
            if (authorizationType == null) {
              throw new MissingRequiredPropertyException("LinkedIntegrationRuntimeRbacAuthorizationResponse", "authorizationType");
            }
            this.authorizationType = authorizationType;
            return this;
        }
        @CustomType.Setter
        public Builder credential(@Nullable CredentialReferenceResponse credential) {

            this.credential = credential;
            return this;
        }
        @CustomType.Setter
        public Builder resourceId(String resourceId) {
            if (resourceId == null) {
              throw new MissingRequiredPropertyException("LinkedIntegrationRuntimeRbacAuthorizationResponse", "resourceId");
            }
            this.resourceId = resourceId;
            return this;
        }
        public LinkedIntegrationRuntimeRbacAuthorizationResponse build() {
            final var _resultValue = new LinkedIntegrationRuntimeRbacAuthorizationResponse();
            _resultValue.authorizationType = authorizationType;
            _resultValue.credential = credential;
            _resultValue.resourceId = resourceId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy