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

com.pulumi.azure.eventgrid.inputs.DomainInputMappingDefaultValuesArgs 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 java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DomainInputMappingDefaultValuesArgs Empty = new DomainInputMappingDefaultValuesArgs();

    /**
     * Specifies the default data version of the EventGrid Event to associate with the domain. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="dataVersion")
    private @Nullable Output dataVersion;

    /**
     * @return Specifies the default data version of the EventGrid Event to associate with the domain. Changing this forces a new resource to be created.
     * 
     */
    public Optional> dataVersion() {
        return Optional.ofNullable(this.dataVersion);
    }

    /**
     * Specifies the default event type of the EventGrid Event to associate with the domain. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="eventType")
    private @Nullable Output eventType;

    /**
     * @return Specifies the default event type of the EventGrid Event to associate with the domain. Changing this forces a new resource to be created.
     * 
     */
    public Optional> eventType() {
        return Optional.ofNullable(this.eventType);
    }

    /**
     * Specifies the default subject of the EventGrid Event to associate with the domain. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="subject")
    private @Nullable Output subject;

    /**
     * @return Specifies the default subject of the EventGrid Event to associate with the domain. Changing this forces a new resource to be created.
     * 
     */
    public Optional> subject() {
        return Optional.ofNullable(this.subject);
    }

    private DomainInputMappingDefaultValuesArgs() {}

    private DomainInputMappingDefaultValuesArgs(DomainInputMappingDefaultValuesArgs $) {
        this.dataVersion = $.dataVersion;
        this.eventType = $.eventType;
        this.subject = $.subject;
    }

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

    public static final class Builder {
        private DomainInputMappingDefaultValuesArgs $;

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

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

        /**
         * @param dataVersion Specifies the default data version of the EventGrid Event to associate with the domain. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder dataVersion(@Nullable Output dataVersion) {
            $.dataVersion = dataVersion;
            return this;
        }

        /**
         * @param dataVersion Specifies the default data version of the EventGrid Event to associate with the domain. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder dataVersion(String dataVersion) {
            return dataVersion(Output.of(dataVersion));
        }

        /**
         * @param eventType Specifies the default event type of the EventGrid Event to associate with the domain. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder eventType(@Nullable Output eventType) {
            $.eventType = eventType;
            return this;
        }

        /**
         * @param eventType Specifies the default event type of the EventGrid Event to associate with the domain. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder eventType(String eventType) {
            return eventType(Output.of(eventType));
        }

        /**
         * @param subject Specifies the default subject of the EventGrid Event to associate with the domain. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder subject(@Nullable Output subject) {
            $.subject = subject;
            return this;
        }

        /**
         * @param subject Specifies the default subject of the EventGrid Event to associate with the domain. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder subject(String subject) {
            return subject(Output.of(subject));
        }

        public DomainInputMappingDefaultValuesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy