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

com.pulumi.azurenative.securityinsights.inputs.ListWhoisByDomainPlainArgs 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.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ListWhoisByDomainPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final ListWhoisByDomainPlainArgs Empty = new ListWhoisByDomainPlainArgs();

    /**
     * The domain name
     * 
     */
    @Import(name="domain")
    private @Nullable String domain;

    /**
     * @return The domain name
     * 
     */
    public Optional domain() {
        return Optional.ofNullable(this.domain);
    }

    /**
     * Enrichment type
     * 
     */
    @Import(name="enrichmentType", required=true)
    private String enrichmentType;

    /**
     * @return Enrichment type
     * 
     */
    public String enrichmentType() {
        return this.enrichmentType;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the workspace.
     * 
     */
    @Import(name="workspaceName", required=true)
    private String workspaceName;

    /**
     * @return The name of the workspace.
     * 
     */
    public String workspaceName() {
        return this.workspaceName;
    }

    private ListWhoisByDomainPlainArgs() {}

    private ListWhoisByDomainPlainArgs(ListWhoisByDomainPlainArgs $) {
        this.domain = $.domain;
        this.enrichmentType = $.enrichmentType;
        this.resourceGroupName = $.resourceGroupName;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private ListWhoisByDomainPlainArgs $;

        public Builder() {
            $ = new ListWhoisByDomainPlainArgs();
        }

        public Builder(ListWhoisByDomainPlainArgs defaults) {
            $ = new ListWhoisByDomainPlainArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param domain The domain name
         * 
         * @return builder
         * 
         */
        public Builder domain(@Nullable String domain) {
            $.domain = domain;
            return this;
        }

        /**
         * @param enrichmentType Enrichment type
         * 
         * @return builder
         * 
         */
        public Builder enrichmentType(String enrichmentType) {
            $.enrichmentType = enrichmentType;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param workspaceName The name of the workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(String workspaceName) {
            $.workspaceName = workspaceName;
            return this;
        }

        public ListWhoisByDomainPlainArgs build() {
            if ($.enrichmentType == null) {
                throw new MissingRequiredPropertyException("ListWhoisByDomainPlainArgs", "enrichmentType");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ListWhoisByDomainPlainArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("ListWhoisByDomainPlainArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy