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

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

There is a newer version: 2.72.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.azurenative.securityinsights.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 EnrichmentDomainWhoisRegistrarDetailsResponse {
    /**
     * @return This registrar's abuse contact email
     * 
     */
    private @Nullable String abuseContactEmail;
    /**
     * @return This registrar's abuse contact phone number
     * 
     */
    private @Nullable String abuseContactPhone;
    /**
     * @return This registrar's Internet Assigned Numbers Authority id
     * 
     */
    private @Nullable String ianaId;
    /**
     * @return The name of this registrar
     * 
     */
    private @Nullable String name;
    /**
     * @return This registrar's URL
     * 
     */
    private @Nullable String url;
    /**
     * @return The hostname of this registrar's whois server
     * 
     */
    private @Nullable String whoisServer;

    private EnrichmentDomainWhoisRegistrarDetailsResponse() {}
    /**
     * @return This registrar's abuse contact email
     * 
     */
    public Optional abuseContactEmail() {
        return Optional.ofNullable(this.abuseContactEmail);
    }
    /**
     * @return This registrar's abuse contact phone number
     * 
     */
    public Optional abuseContactPhone() {
        return Optional.ofNullable(this.abuseContactPhone);
    }
    /**
     * @return This registrar's Internet Assigned Numbers Authority id
     * 
     */
    public Optional ianaId() {
        return Optional.ofNullable(this.ianaId);
    }
    /**
     * @return The name of this registrar
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return This registrar's URL
     * 
     */
    public Optional url() {
        return Optional.ofNullable(this.url);
    }
    /**
     * @return The hostname of this registrar's whois server
     * 
     */
    public Optional whoisServer() {
        return Optional.ofNullable(this.whoisServer);
    }

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

    public static Builder builder(EnrichmentDomainWhoisRegistrarDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String abuseContactEmail;
        private @Nullable String abuseContactPhone;
        private @Nullable String ianaId;
        private @Nullable String name;
        private @Nullable String url;
        private @Nullable String whoisServer;
        public Builder() {}
        public Builder(EnrichmentDomainWhoisRegistrarDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.abuseContactEmail = defaults.abuseContactEmail;
    	      this.abuseContactPhone = defaults.abuseContactPhone;
    	      this.ianaId = defaults.ianaId;
    	      this.name = defaults.name;
    	      this.url = defaults.url;
    	      this.whoisServer = defaults.whoisServer;
        }

        @CustomType.Setter
        public Builder abuseContactEmail(@Nullable String abuseContactEmail) {

            this.abuseContactEmail = abuseContactEmail;
            return this;
        }
        @CustomType.Setter
        public Builder abuseContactPhone(@Nullable String abuseContactPhone) {

            this.abuseContactPhone = abuseContactPhone;
            return this;
        }
        @CustomType.Setter
        public Builder ianaId(@Nullable String ianaId) {

            this.ianaId = ianaId;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder url(@Nullable String url) {

            this.url = url;
            return this;
        }
        @CustomType.Setter
        public Builder whoisServer(@Nullable String whoisServer) {

            this.whoisServer = whoisServer;
            return this;
        }
        public EnrichmentDomainWhoisRegistrarDetailsResponse build() {
            final var _resultValue = new EnrichmentDomainWhoisRegistrarDetailsResponse();
            _resultValue.abuseContactEmail = abuseContactEmail;
            _resultValue.abuseContactPhone = abuseContactPhone;
            _resultValue.ianaId = ianaId;
            _resultValue.name = name;
            _resultValue.url = url;
            _resultValue.whoisServer = whoisServer;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy