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

com.pulumi.alicloud.pvtz.inputs.GetZoneRecordsArgs 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.pvtz.inputs;

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


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

    public static final GetZoneRecordsArgs Empty = new GetZoneRecordsArgs();

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

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

    /**
     * Keyword for record rr and value.
     * 
     */
    @Import(name="keyword")
    private @Nullable Output keyword;

    /**
     * @return Keyword for record rr and value.
     * 
     */
    public Optional> keyword() {
        return Optional.ofNullable(this.keyword);
    }

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

    /**
     * @return User 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);
    }

    /**
     * Search mode. Value:
     * - LIKE: fuzzy search.
     * - EXACT: precise search. It is not filled in by default.
     * 
     */
    @Import(name="searchMode")
    private @Nullable Output searchMode;

    /**
     * @return Search mode. Value:
     * - LIKE: fuzzy search.
     * - EXACT: precise search. It is not filled in by default.
     * 
     */
    public Optional> searchMode() {
        return Optional.ofNullable(this.searchMode);
    }

    /**
     * Resolve record status. Value:
     * - ENABLE: enable resolution.
     * - DISABLE: pause parsing.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return Resolve record status. Value:
     * - ENABLE: enable resolution.
     * - DISABLE: pause parsing.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * It is not filled in by default, and queries the current zone resolution records. Fill in "ecs" to query the host name record list under the VPC associated with the current zone.
     * 
     */
    @Import(name="tag")
    private @Nullable Output tag;

    /**
     * @return It is not filled in by default, and queries the current zone resolution records. Fill in "ecs" to query the host name record list under the VPC associated with the current zone.
     * 
     */
    public Optional> tag() {
        return Optional.ofNullable(this.tag);
    }

    /**
     * User ip.
     * 
     */
    @Import(name="userClientIp")
    private @Nullable Output userClientIp;

    /**
     * @return User ip.
     * 
     */
    public Optional> userClientIp() {
        return Optional.ofNullable(this.userClientIp);
    }

    /**
     * ID of the Private Zone.
     * 
     */
    @Import(name="zoneId", required=true)
    private Output zoneId;

    /**
     * @return ID of the Private Zone.
     * 
     */
    public Output zoneId() {
        return this.zoneId;
    }

    private GetZoneRecordsArgs() {}

    private GetZoneRecordsArgs(GetZoneRecordsArgs $) {
        this.ids = $.ids;
        this.keyword = $.keyword;
        this.lang = $.lang;
        this.outputFile = $.outputFile;
        this.searchMode = $.searchMode;
        this.status = $.status;
        this.tag = $.tag;
        this.userClientIp = $.userClientIp;
        this.zoneId = $.zoneId;
    }

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

    public static final class Builder {
        private GetZoneRecordsArgs $;

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

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

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

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

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

        /**
         * @param keyword Keyword for record rr and value.
         * 
         * @return builder
         * 
         */
        public Builder keyword(@Nullable Output keyword) {
            $.keyword = keyword;
            return this;
        }

        /**
         * @param keyword Keyword for record rr and value.
         * 
         * @return builder
         * 
         */
        public Builder keyword(String keyword) {
            return keyword(Output.of(keyword));
        }

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

        /**
         * @param lang User 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 searchMode Search mode. Value:
         * - LIKE: fuzzy search.
         * - EXACT: precise search. It is not filled in by default.
         * 
         * @return builder
         * 
         */
        public Builder searchMode(@Nullable Output searchMode) {
            $.searchMode = searchMode;
            return this;
        }

        /**
         * @param searchMode Search mode. Value:
         * - LIKE: fuzzy search.
         * - EXACT: precise search. It is not filled in by default.
         * 
         * @return builder
         * 
         */
        public Builder searchMode(String searchMode) {
            return searchMode(Output.of(searchMode));
        }

        /**
         * @param status Resolve record status. Value:
         * - ENABLE: enable resolution.
         * - DISABLE: pause parsing.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Resolve record status. Value:
         * - ENABLE: enable resolution.
         * - DISABLE: pause parsing.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param tag It is not filled in by default, and queries the current zone resolution records. Fill in "ecs" to query the host name record list under the VPC associated with the current zone.
         * 
         * @return builder
         * 
         */
        public Builder tag(@Nullable Output tag) {
            $.tag = tag;
            return this;
        }

        /**
         * @param tag It is not filled in by default, and queries the current zone resolution records. Fill in "ecs" to query the host name record list under the VPC associated with the current zone.
         * 
         * @return builder
         * 
         */
        public Builder tag(String tag) {
            return tag(Output.of(tag));
        }

        /**
         * @param userClientIp User ip.
         * 
         * @return builder
         * 
         */
        public Builder userClientIp(@Nullable Output userClientIp) {
            $.userClientIp = userClientIp;
            return this;
        }

        /**
         * @param userClientIp User ip.
         * 
         * @return builder
         * 
         */
        public Builder userClientIp(String userClientIp) {
            return userClientIp(Output.of(userClientIp));
        }

        /**
         * @param zoneId ID of the Private Zone.
         * 
         * @return builder
         * 
         */
        public Builder zoneId(Output zoneId) {
            $.zoneId = zoneId;
            return this;
        }

        /**
         * @param zoneId ID of the Private Zone.
         * 
         * @return builder
         * 
         */
        public Builder zoneId(String zoneId) {
            return zoneId(Output.of(zoneId));
        }

        public GetZoneRecordsArgs build() {
            if ($.zoneId == null) {
                throw new MissingRequiredPropertyException("GetZoneRecordsArgs", "zoneId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy