com.pulumi.azure.eventgrid.outputs.GetDomainInputMappingDefaultValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetDomainInputMappingDefaultValue {
/**
* @return Specifies the default data version of the EventGrid Event associated with the domain.
*
*/
private String dataVersion;
/**
* @return Specifies the default event type of the EventGrid Event associated with the domain.
*
*/
private String eventType;
/**
* @return Specifies the default subject of the EventGrid Event associated with the domain.
*
*/
private String subject;
private GetDomainInputMappingDefaultValue() {}
/**
* @return Specifies the default data version of the EventGrid Event associated with the domain.
*
*/
public String dataVersion() {
return this.dataVersion;
}
/**
* @return Specifies the default event type of the EventGrid Event associated with the domain.
*
*/
public String eventType() {
return this.eventType;
}
/**
* @return Specifies the default subject of the EventGrid Event associated with the domain.
*
*/
public String subject() {
return this.subject;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDomainInputMappingDefaultValue defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String dataVersion;
private String eventType;
private String subject;
public Builder() {}
public Builder(GetDomainInputMappingDefaultValue defaults) {
Objects.requireNonNull(defaults);
this.dataVersion = defaults.dataVersion;
this.eventType = defaults.eventType;
this.subject = defaults.subject;
}
@CustomType.Setter
public Builder dataVersion(String dataVersion) {
if (dataVersion == null) {
throw new MissingRequiredPropertyException("GetDomainInputMappingDefaultValue", "dataVersion");
}
this.dataVersion = dataVersion;
return this;
}
@CustomType.Setter
public Builder eventType(String eventType) {
if (eventType == null) {
throw new MissingRequiredPropertyException("GetDomainInputMappingDefaultValue", "eventType");
}
this.eventType = eventType;
return this;
}
@CustomType.Setter
public Builder subject(String subject) {
if (subject == null) {
throw new MissingRequiredPropertyException("GetDomainInputMappingDefaultValue", "subject");
}
this.subject = subject;
return this;
}
public GetDomainInputMappingDefaultValue build() {
final var _resultValue = new GetDomainInputMappingDefaultValue();
_resultValue.dataVersion = dataVersion;
_resultValue.eventType = eventType;
_resultValue.subject = subject;
return _resultValue;
}
}
}