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

com.pulumi.azurenative.providerhub.outputs.ResourceProviderAuthorizationResponse 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.providerhub.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ResourceProviderAuthorizationResponse {
    private @Nullable String applicationId;
    private @Nullable String managedByRoleDefinitionId;
    private @Nullable String roleDefinitionId;

    private ResourceProviderAuthorizationResponse() {}
    public Optional applicationId() {
        return Optional.ofNullable(this.applicationId);
    }
    public Optional managedByRoleDefinitionId() {
        return Optional.ofNullable(this.managedByRoleDefinitionId);
    }
    public Optional roleDefinitionId() {
        return Optional.ofNullable(this.roleDefinitionId);
    }

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

    public static Builder builder(ResourceProviderAuthorizationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String applicationId;
        private @Nullable String managedByRoleDefinitionId;
        private @Nullable String roleDefinitionId;
        public Builder() {}
        public Builder(ResourceProviderAuthorizationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.applicationId = defaults.applicationId;
    	      this.managedByRoleDefinitionId = defaults.managedByRoleDefinitionId;
    	      this.roleDefinitionId = defaults.roleDefinitionId;
        }

        @CustomType.Setter
        public Builder applicationId(@Nullable String applicationId) {

            this.applicationId = applicationId;
            return this;
        }
        @CustomType.Setter
        public Builder managedByRoleDefinitionId(@Nullable String managedByRoleDefinitionId) {

            this.managedByRoleDefinitionId = managedByRoleDefinitionId;
            return this;
        }
        @CustomType.Setter
        public Builder roleDefinitionId(@Nullable String roleDefinitionId) {

            this.roleDefinitionId = roleDefinitionId;
            return this;
        }
        public ResourceProviderAuthorizationResponse build() {
            final var _resultValue = new ResourceProviderAuthorizationResponse();
            _resultValue.applicationId = applicationId;
            _resultValue.managedByRoleDefinitionId = managedByRoleDefinitionId;
            _resultValue.roleDefinitionId = roleDefinitionId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy