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

com.pulumi.azurenative.securityinsights.outputs.EnrichmentDomainWhoisContactsResponse Maven / Gradle / Ivy

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.azurenative.securityinsights.outputs;

import com.pulumi.azurenative.securityinsights.outputs.EnrichmentDomainWhoisContactResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class EnrichmentDomainWhoisContactsResponse {
    /**
     * @return The admin contact for this whois record
     * 
     */
    private @Nullable EnrichmentDomainWhoisContactResponse admin;
    /**
     * @return The billing contact for this whois record
     * 
     */
    private @Nullable EnrichmentDomainWhoisContactResponse billing;
    /**
     * @return The registrant contact for this whois record
     * 
     */
    private @Nullable EnrichmentDomainWhoisContactResponse registrant;
    /**
     * @return The technical contact for this whois record
     * 
     */
    private @Nullable EnrichmentDomainWhoisContactResponse tech;

    private EnrichmentDomainWhoisContactsResponse() {}
    /**
     * @return The admin contact for this whois record
     * 
     */
    public Optional admin() {
        return Optional.ofNullable(this.admin);
    }
    /**
     * @return The billing contact for this whois record
     * 
     */
    public Optional billing() {
        return Optional.ofNullable(this.billing);
    }
    /**
     * @return The registrant contact for this whois record
     * 
     */
    public Optional registrant() {
        return Optional.ofNullable(this.registrant);
    }
    /**
     * @return The technical contact for this whois record
     * 
     */
    public Optional tech() {
        return Optional.ofNullable(this.tech);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(EnrichmentDomainWhoisContactsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable EnrichmentDomainWhoisContactResponse admin;
        private @Nullable EnrichmentDomainWhoisContactResponse billing;
        private @Nullable EnrichmentDomainWhoisContactResponse registrant;
        private @Nullable EnrichmentDomainWhoisContactResponse tech;
        public Builder() {}
        public Builder(EnrichmentDomainWhoisContactsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.admin = defaults.admin;
    	      this.billing = defaults.billing;
    	      this.registrant = defaults.registrant;
    	      this.tech = defaults.tech;
        }

        @CustomType.Setter
        public Builder admin(@Nullable EnrichmentDomainWhoisContactResponse admin) {

            this.admin = admin;
            return this;
        }
        @CustomType.Setter
        public Builder billing(@Nullable EnrichmentDomainWhoisContactResponse billing) {

            this.billing = billing;
            return this;
        }
        @CustomType.Setter
        public Builder registrant(@Nullable EnrichmentDomainWhoisContactResponse registrant) {

            this.registrant = registrant;
            return this;
        }
        @CustomType.Setter
        public Builder tech(@Nullable EnrichmentDomainWhoisContactResponse tech) {

            this.tech = tech;
            return this;
        }
        public EnrichmentDomainWhoisContactsResponse build() {
            final var _resultValue = new EnrichmentDomainWhoisContactsResponse();
            _resultValue.admin = admin;
            _resultValue.billing = billing;
            _resultValue.registrant = registrant;
            _resultValue.tech = tech;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy