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

com.pulumi.azurenative.eventgrid.inputs.RoutingIdentityInfoArgs 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.azurenative.eventgrid.inputs;

import com.pulumi.azurenative.eventgrid.enums.RoutingIdentityType;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Routing identity info for topic spaces configuration.
 * 
 */
public final class RoutingIdentityInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final RoutingIdentityInfoArgs Empty = new RoutingIdentityInfoArgs();

    @Import(name="type")
    private @Nullable Output> type;

    public Optional>> type() {
        return Optional.ofNullable(this.type);
    }

    @Import(name="userAssignedIdentity")
    private @Nullable Output userAssignedIdentity;

    public Optional> userAssignedIdentity() {
        return Optional.ofNullable(this.userAssignedIdentity);
    }

    private RoutingIdentityInfoArgs() {}

    private RoutingIdentityInfoArgs(RoutingIdentityInfoArgs $) {
        this.type = $.type;
        this.userAssignedIdentity = $.userAssignedIdentity;
    }

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

    public static final class Builder {
        private RoutingIdentityInfoArgs $;

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

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

        public Builder type(@Nullable Output> type) {
            $.type = type;
            return this;
        }

        public Builder type(Either type) {
            return type(Output.of(type));
        }

        public Builder type(String type) {
            return type(Either.ofLeft(type));
        }

        public Builder type(RoutingIdentityType type) {
            return type(Either.ofRight(type));
        }

        public Builder userAssignedIdentity(@Nullable Output userAssignedIdentity) {
            $.userAssignedIdentity = userAssignedIdentity;
            return this;
        }

        public Builder userAssignedIdentity(String userAssignedIdentity) {
            return userAssignedIdentity(Output.of(userAssignedIdentity));
        }

        public RoutingIdentityInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy