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

com.pulumi.azure.eventgrid.inputs.SystemTopicEventSubscriptionDeliveryIdentityArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.eventgrid.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;
import java.util.Optional;
import javax.annotation.Nullable;


public final class SystemTopicEventSubscriptionDeliveryIdentityArgs extends com.pulumi.resources.ResourceArgs {

    public static final SystemTopicEventSubscriptionDeliveryIdentityArgs Empty = new SystemTopicEventSubscriptionDeliveryIdentityArgs();

    /**
     * Specifies the type of Managed Service Identity that is used for event delivery. Allowed value is `SystemAssigned`, `UserAssigned`.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Specifies the type of Managed Service Identity that is used for event delivery. Allowed value is `SystemAssigned`, `UserAssigned`.
     * 
     */
    public Output type() {
        return this.type;
    }

    /**
     * The user identity associated with the resource.
     * 
     */
    @Import(name="userAssignedIdentity")
    private @Nullable Output userAssignedIdentity;

    /**
     * @return The user identity associated with the resource.
     * 
     */
    public Optional> userAssignedIdentity() {
        return Optional.ofNullable(this.userAssignedIdentity);
    }

    private SystemTopicEventSubscriptionDeliveryIdentityArgs() {}

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

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

    public static final class Builder {
        private SystemTopicEventSubscriptionDeliveryIdentityArgs $;

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

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

        /**
         * @param type Specifies the type of Managed Service Identity that is used for event delivery. Allowed value is `SystemAssigned`, `UserAssigned`.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Specifies the type of Managed Service Identity that is used for event delivery. Allowed value is `SystemAssigned`, `UserAssigned`.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        /**
         * @param userAssignedIdentity The user identity associated with the resource.
         * 
         * @return builder
         * 
         */
        public Builder userAssignedIdentity(@Nullable Output userAssignedIdentity) {
            $.userAssignedIdentity = userAssignedIdentity;
            return this;
        }

        /**
         * @param userAssignedIdentity The user identity associated with the resource.
         * 
         * @return builder
         * 
         */
        public Builder userAssignedIdentity(String userAssignedIdentity) {
            return userAssignedIdentity(Output.of(userAssignedIdentity));
        }

        public SystemTopicEventSubscriptionDeliveryIdentityArgs build() {
            if ($.type == null) {
                throw new MissingRequiredPropertyException("SystemTopicEventSubscriptionDeliveryIdentityArgs", "type");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy