com.pulumi.ns1.outputs.UserDnsRecordsAllow Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ns1 Show documentation
Show all versions of ns1 Show documentation
A Pulumi package for creating and managing ns1 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.ns1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class UserDnsRecordsAllow {
private String domain;
private Boolean includeSubdomains;
private String type;
private String zone;
private UserDnsRecordsAllow() {}
public String domain() {
return this.domain;
}
public Boolean includeSubdomains() {
return this.includeSubdomains;
}
public String type() {
return this.type;
}
public String zone() {
return this.zone;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserDnsRecordsAllow defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String domain;
private Boolean includeSubdomains;
private String type;
private String zone;
public Builder() {}
public Builder(UserDnsRecordsAllow defaults) {
Objects.requireNonNull(defaults);
this.domain = defaults.domain;
this.includeSubdomains = defaults.includeSubdomains;
this.type = defaults.type;
this.zone = defaults.zone;
}
@CustomType.Setter
public Builder domain(String domain) {
if (domain == null) {
throw new MissingRequiredPropertyException("UserDnsRecordsAllow", "domain");
}
this.domain = domain;
return this;
}
@CustomType.Setter
public Builder includeSubdomains(Boolean includeSubdomains) {
if (includeSubdomains == null) {
throw new MissingRequiredPropertyException("UserDnsRecordsAllow", "includeSubdomains");
}
this.includeSubdomains = includeSubdomains;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("UserDnsRecordsAllow", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder zone(String zone) {
if (zone == null) {
throw new MissingRequiredPropertyException("UserDnsRecordsAllow", "zone");
}
this.zone = zone;
return this;
}
public UserDnsRecordsAllow build() {
final var _resultValue = new UserDnsRecordsAllow();
_resultValue.domain = domain;
_resultValue.includeSubdomains = includeSubdomains;
_resultValue.type = type;
_resultValue.zone = zone;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy