com.pulumi.aws.acm.outputs.CertificateValidationOption Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.acm.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class CertificateValidationOption {
/**
* @return Fully qualified domain name (FQDN) in the certificate.
*
*/
private String domainName;
/**
* @return Domain name that you want ACM to use to send you validation emails. This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the `domain_name` value or a superdomain of the `domain_name` value. For example, if you request a certificate for `"testing.example.com"`, you can specify `"example.com"` for this value.
*
*/
private String validationDomain;
private CertificateValidationOption() {}
/**
* @return Fully qualified domain name (FQDN) in the certificate.
*
*/
public String domainName() {
return this.domainName;
}
/**
* @return Domain name that you want ACM to use to send you validation emails. This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the `domain_name` value or a superdomain of the `domain_name` value. For example, if you request a certificate for `"testing.example.com"`, you can specify `"example.com"` for this value.
*
*/
public String validationDomain() {
return this.validationDomain;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CertificateValidationOption defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String domainName;
private String validationDomain;
public Builder() {}
public Builder(CertificateValidationOption defaults) {
Objects.requireNonNull(defaults);
this.domainName = defaults.domainName;
this.validationDomain = defaults.validationDomain;
}
@CustomType.Setter
public Builder domainName(String domainName) {
if (domainName == null) {
throw new MissingRequiredPropertyException("CertificateValidationOption", "domainName");
}
this.domainName = domainName;
return this;
}
@CustomType.Setter
public Builder validationDomain(String validationDomain) {
if (validationDomain == null) {
throw new MissingRequiredPropertyException("CertificateValidationOption", "validationDomain");
}
this.validationDomain = validationDomain;
return this;
}
public CertificateValidationOption build() {
final var _resultValue = new CertificateValidationOption();
_resultValue.domainName = domainName;
_resultValue.validationDomain = validationDomain;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy