All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.ns1.outputs.UserDnsRecordsDeny Maven / Gradle / Ivy

There is a newer version: 3.5.0
Show 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.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 UserDnsRecordsDeny {
    private String domain;
    private Boolean includeSubdomains;
    private String type;
    private String zone;

    private UserDnsRecordsDeny() {}
    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(UserDnsRecordsDeny 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(UserDnsRecordsDeny 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("UserDnsRecordsDeny", "domain");
            }
            this.domain = domain;
            return this;
        }
        @CustomType.Setter
        public Builder includeSubdomains(Boolean includeSubdomains) {
            if (includeSubdomains == null) {
              throw new MissingRequiredPropertyException("UserDnsRecordsDeny", "includeSubdomains");
            }
            this.includeSubdomains = includeSubdomains;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("UserDnsRecordsDeny", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder zone(String zone) {
            if (zone == null) {
              throw new MissingRequiredPropertyException("UserDnsRecordsDeny", "zone");
            }
            this.zone = zone;
            return this;
        }
        public UserDnsRecordsDeny build() {
            final var _resultValue = new UserDnsRecordsDeny();
            _resultValue.domain = domain;
            _resultValue.includeSubdomains = includeSubdomains;
            _resultValue.type = type;
            _resultValue.zone = zone;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy