com.pulumi.aws.lightsail.outputs.LbCertificateDomainValidationRecord 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.
// *** 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.lightsail.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LbCertificateDomainValidationRecord {
/**
* @return The domain name (e.g., example.com) for your SSL/TLS certificate.
*
*/
private @Nullable String domainName;
private @Nullable String resourceRecordName;
private @Nullable String resourceRecordType;
private @Nullable String resourceRecordValue;
private LbCertificateDomainValidationRecord() {}
/**
* @return The domain name (e.g., example.com) for your SSL/TLS certificate.
*
*/
public Optional domainName() {
return Optional.ofNullable(this.domainName);
}
public Optional resourceRecordName() {
return Optional.ofNullable(this.resourceRecordName);
}
public Optional resourceRecordType() {
return Optional.ofNullable(this.resourceRecordType);
}
public Optional resourceRecordValue() {
return Optional.ofNullable(this.resourceRecordValue);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LbCertificateDomainValidationRecord defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String domainName;
private @Nullable String resourceRecordName;
private @Nullable String resourceRecordType;
private @Nullable String resourceRecordValue;
public Builder() {}
public Builder(LbCertificateDomainValidationRecord defaults) {
Objects.requireNonNull(defaults);
this.domainName = defaults.domainName;
this.resourceRecordName = defaults.resourceRecordName;
this.resourceRecordType = defaults.resourceRecordType;
this.resourceRecordValue = defaults.resourceRecordValue;
}
@CustomType.Setter
public Builder domainName(@Nullable String domainName) {
this.domainName = domainName;
return this;
}
@CustomType.Setter
public Builder resourceRecordName(@Nullable String resourceRecordName) {
this.resourceRecordName = resourceRecordName;
return this;
}
@CustomType.Setter
public Builder resourceRecordType(@Nullable String resourceRecordType) {
this.resourceRecordType = resourceRecordType;
return this;
}
@CustomType.Setter
public Builder resourceRecordValue(@Nullable String resourceRecordValue) {
this.resourceRecordValue = resourceRecordValue;
return this;
}
public LbCertificateDomainValidationRecord build() {
final var _resultValue = new LbCertificateDomainValidationRecord();
_resultValue.domainName = domainName;
_resultValue.resourceRecordName = resourceRecordName;
_resultValue.resourceRecordType = resourceRecordType;
_resultValue.resourceRecordValue = resourceRecordValue;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy