com.pulumi.azurenative.communication.outputs.GetDomainResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
The 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.communication.outputs;
import com.pulumi.azurenative.communication.outputs.DomainPropertiesResponseVerificationRecords;
import com.pulumi.azurenative.communication.outputs.DomainPropertiesResponseVerificationStates;
import com.pulumi.azurenative.communication.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetDomainResult {
/**
* @return The location where the Domains resource data is stored at rest.
*
*/
private String dataLocation;
/**
* @return Describes how a Domains resource is being managed.
*
*/
private String domainManagement;
/**
* @return P2 sender domain that is displayed to the email recipients [RFC 5322].
*
*/
private String fromSenderDomain;
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
private String id;
/**
* @return The geo-location where the resource lives
*
*/
private String location;
/**
* @return P1 sender domain that is present on the email envelope [RFC 5321].
*
*/
private String mailFromSenderDomain;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Provisioning state of the resource.
*
*/
private String provisioningState;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return Describes whether user engagement tracking is enabled or disabled.
*
*/
private @Nullable String userEngagementTracking;
/**
* @return List of DnsRecord
*
*/
private DomainPropertiesResponseVerificationRecords verificationRecords;
/**
* @return List of VerificationStatusRecord
*
*/
private DomainPropertiesResponseVerificationStates verificationStates;
private GetDomainResult() {}
/**
* @return The location where the Domains resource data is stored at rest.
*
*/
public String dataLocation() {
return this.dataLocation;
}
/**
* @return Describes how a Domains resource is being managed.
*
*/
public String domainManagement() {
return this.domainManagement;
}
/**
* @return P2 sender domain that is displayed to the email recipients [RFC 5322].
*
*/
public String fromSenderDomain() {
return this.fromSenderDomain;
}
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
public String id() {
return this.id;
}
/**
* @return The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return P1 sender domain that is present on the email envelope [RFC 5321].
*
*/
public String mailFromSenderDomain() {
return this.mailFromSenderDomain;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Provisioning state of the resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return Describes whether user engagement tracking is enabled or disabled.
*
*/
public Optional userEngagementTracking() {
return Optional.ofNullable(this.userEngagementTracking);
}
/**
* @return List of DnsRecord
*
*/
public DomainPropertiesResponseVerificationRecords verificationRecords() {
return this.verificationRecords;
}
/**
* @return List of VerificationStatusRecord
*
*/
public DomainPropertiesResponseVerificationStates verificationStates() {
return this.verificationStates;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDomainResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String dataLocation;
private String domainManagement;
private String fromSenderDomain;
private String id;
private String location;
private String mailFromSenderDomain;
private String name;
private String provisioningState;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
private @Nullable String userEngagementTracking;
private DomainPropertiesResponseVerificationRecords verificationRecords;
private DomainPropertiesResponseVerificationStates verificationStates;
public Builder() {}
public Builder(GetDomainResult defaults) {
Objects.requireNonNull(defaults);
this.dataLocation = defaults.dataLocation;
this.domainManagement = defaults.domainManagement;
this.fromSenderDomain = defaults.fromSenderDomain;
this.id = defaults.id;
this.location = defaults.location;
this.mailFromSenderDomain = defaults.mailFromSenderDomain;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
this.userEngagementTracking = defaults.userEngagementTracking;
this.verificationRecords = defaults.verificationRecords;
this.verificationStates = defaults.verificationStates;
}
@CustomType.Setter
public Builder dataLocation(String dataLocation) {
if (dataLocation == null) {
throw new MissingRequiredPropertyException("GetDomainResult", "dataLocation");
}
this.dataLocation = dataLocation;
return this;
}
@CustomType.Setter
public Builder domainManagement(String domainManagement) {
if (domainManagement == null) {
throw new MissingRequiredPropertyException("GetDomainResult", "domainManagement");
}
this.domainManagement = domainManagement;
return this;
}
@CustomType.Setter
public Builder fromSenderDomain(String fromSenderDomain) {
if (fromSenderDomain == null) {
throw new MissingRequiredPropertyException("GetDomainResult", "fromSenderDomain");
}
this.fromSenderDomain = fromSenderDomain;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetDomainResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetDomainResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder mailFromSenderDomain(String mailFromSenderDomain) {
if (mailFromSenderDomain == null) {
throw new MissingRequiredPropertyException("GetDomainResult", "mailFromSenderDomain");
}
this.mailFromSenderDomain = mailFromSenderDomain;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetDomainResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetDomainResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetDomainResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetDomainResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder userEngagementTracking(@Nullable String userEngagementTracking) {
this.userEngagementTracking = userEngagementTracking;
return this;
}
@CustomType.Setter
public Builder verificationRecords(DomainPropertiesResponseVerificationRecords verificationRecords) {
if (verificationRecords == null) {
throw new MissingRequiredPropertyException("GetDomainResult", "verificationRecords");
}
this.verificationRecords = verificationRecords;
return this;
}
@CustomType.Setter
public Builder verificationStates(DomainPropertiesResponseVerificationStates verificationStates) {
if (verificationStates == null) {
throw new MissingRequiredPropertyException("GetDomainResult", "verificationStates");
}
this.verificationStates = verificationStates;
return this;
}
public GetDomainResult build() {
final var _resultValue = new GetDomainResult();
_resultValue.dataLocation = dataLocation;
_resultValue.domainManagement = domainManagement;
_resultValue.fromSenderDomain = fromSenderDomain;
_resultValue.id = id;
_resultValue.location = location;
_resultValue.mailFromSenderDomain = mailFromSenderDomain;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
_resultValue.userEngagementTracking = userEngagementTracking;
_resultValue.verificationRecords = verificationRecords;
_resultValue.verificationStates = verificationStates;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy