com.pulumi.azure.communication.outputs.EmailServiceDomainVerificationRecordDomain 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.communication.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EmailServiceDomainVerificationRecordDomain {
/**
* @return The name of the Email Communication Service resource. If `domain_management` is `AzureManaged`, the name must be `AzureManagedDomain`. Changing this forces a new Email Communication Service to be created.
*
*/
private @Nullable String name;
/**
* @return Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
*
*/
private @Nullable Integer ttl;
/**
* @return Type of the DNS record. Example: TXT
*
*/
private @Nullable String type;
/**
* @return Value of the DNS record.
*
*/
private @Nullable String value;
private EmailServiceDomainVerificationRecordDomain() {}
/**
* @return The name of the Email Communication Service resource. If `domain_management` is `AzureManaged`, the name must be `AzureManagedDomain`. Changing this forces a new Email Communication Service to be created.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
*
*/
public Optional ttl() {
return Optional.ofNullable(this.ttl);
}
/**
* @return Type of the DNS record. Example: TXT
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
/**
* @return Value of the DNS record.
*
*/
public Optional value() {
return Optional.ofNullable(this.value);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EmailServiceDomainVerificationRecordDomain defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String name;
private @Nullable Integer ttl;
private @Nullable String type;
private @Nullable String value;
public Builder() {}
public Builder(EmailServiceDomainVerificationRecordDomain defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.ttl = defaults.ttl;
this.type = defaults.type;
this.value = defaults.value;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder ttl(@Nullable Integer ttl) {
this.ttl = ttl;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
@CustomType.Setter
public Builder value(@Nullable String value) {
this.value = value;
return this;
}
public EmailServiceDomainVerificationRecordDomain build() {
final var _resultValue = new EmailServiceDomainVerificationRecordDomain();
_resultValue.name = name;
_resultValue.ttl = ttl;
_resultValue.type = type;
_resultValue.value = value;
return _resultValue;
}
}
}