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

com.pulumi.alicloud.dns.inputs.GetAlidnsInstancesArgs Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.dns.inputs;

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


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

    public static final GetAlidnsInstancesArgs Empty = new GetAlidnsInstancesArgs();

    /**
     * The type of domain.
     * 
     */
    @Import(name="domainType")
    private @Nullable Output domainType;

    /**
     * @return The type of domain.
     * 
     */
    public Optional> domainType() {
        return Optional.ofNullable(this.domainType);
    }

    /**
     * A list of instance IDs.
     * 
     */
    @Import(name="ids")
    private @Nullable Output> ids;

    /**
     * @return A list of instance IDs.
     * 
     */
    public Optional>> ids() {
        return Optional.ofNullable(this.ids);
    }

    /**
     * Language.
     * 
     */
    @Import(name="lang")
    private @Nullable Output lang;

    /**
     * @return Language.
     * 
     */
    public Optional> lang() {
        return Optional.ofNullable(this.lang);
    }

    /**
     * File name where to save data source results (after running `pulumi preview`).
     * 
     */
    @Import(name="outputFile")
    private @Nullable Output outputFile;

    /**
     * @return File name where to save data source results (after running `pulumi preview`).
     * 
     */
    public Optional> outputFile() {
        return Optional.ofNullable(this.outputFile);
    }

    /**
     * The IP address of the client.
     * 
     */
    @Import(name="userClientIp")
    private @Nullable Output userClientIp;

    /**
     * @return The IP address of the client.
     * 
     */
    public Optional> userClientIp() {
        return Optional.ofNullable(this.userClientIp);
    }

    private GetAlidnsInstancesArgs() {}

    private GetAlidnsInstancesArgs(GetAlidnsInstancesArgs $) {
        this.domainType = $.domainType;
        this.ids = $.ids;
        this.lang = $.lang;
        this.outputFile = $.outputFile;
        this.userClientIp = $.userClientIp;
    }

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

    public static final class Builder {
        private GetAlidnsInstancesArgs $;

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

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

        /**
         * @param domainType The type of domain.
         * 
         * @return builder
         * 
         */
        public Builder domainType(@Nullable Output domainType) {
            $.domainType = domainType;
            return this;
        }

        /**
         * @param domainType The type of domain.
         * 
         * @return builder
         * 
         */
        public Builder domainType(String domainType) {
            return domainType(Output.of(domainType));
        }

        /**
         * @param ids A list of instance IDs.
         * 
         * @return builder
         * 
         */
        public Builder ids(@Nullable Output> ids) {
            $.ids = ids;
            return this;
        }

        /**
         * @param ids A list of instance IDs.
         * 
         * @return builder
         * 
         */
        public Builder ids(List ids) {
            return ids(Output.of(ids));
        }

        /**
         * @param ids A list of instance IDs.
         * 
         * @return builder
         * 
         */
        public Builder ids(String... ids) {
            return ids(List.of(ids));
        }

        /**
         * @param lang Language.
         * 
         * @return builder
         * 
         */
        public Builder lang(@Nullable Output lang) {
            $.lang = lang;
            return this;
        }

        /**
         * @param lang Language.
         * 
         * @return builder
         * 
         */
        public Builder lang(String lang) {
            return lang(Output.of(lang));
        }

        /**
         * @param outputFile File name where to save data source results (after running `pulumi preview`).
         * 
         * @return builder
         * 
         */
        public Builder outputFile(@Nullable Output outputFile) {
            $.outputFile = outputFile;
            return this;
        }

        /**
         * @param outputFile File name where to save data source results (after running `pulumi preview`).
         * 
         * @return builder
         * 
         */
        public Builder outputFile(String outputFile) {
            return outputFile(Output.of(outputFile));
        }

        /**
         * @param userClientIp The IP address of the client.
         * 
         * @return builder
         * 
         */
        public Builder userClientIp(@Nullable Output userClientIp) {
            $.userClientIp = userClientIp;
            return this;
        }

        /**
         * @param userClientIp The IP address of the client.
         * 
         * @return builder
         * 
         */
        public Builder userClientIp(String userClientIp) {
            return userClientIp(Output.of(userClientIp));
        }

        public GetAlidnsInstancesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy