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

com.pulumi.alicloud.pvtz.inputs.GetZonesArgs 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 java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetZonesArgs Empty = new GetZonesArgs();

    /**
     * Default to `false`. Set it to true can output more details.
     * 
     */
    @Import(name="enableDetails")
    private @Nullable Output enableDetails;

    /**
     * @return Default to `false`. Set it to true can output more details.
     * 
     */
    public Optional> enableDetails() {
        return Optional.ofNullable(this.enableDetails);
    }

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

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

    /**
     * keyword for zone name.
     * 
     */
    @Import(name="keyword")
    private @Nullable Output keyword;

    /**
     * @return keyword for zone name.
     * 
     */
    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);
    }

    @Import(name="nameRegex")
    private @Nullable Output nameRegex;

    public Optional> nameRegex() {
        return Optional.ofNullable(this.nameRegex);
    }

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

    /**
     * query_region_id for zone regionId.
     * 
     */
    @Import(name="queryRegionId")
    private @Nullable Output queryRegionId;

    /**
     * @return query_region_id for zone regionId.
     * 
     */
    public Optional> queryRegionId() {
        return Optional.ofNullable(this.queryRegionId);
    }

    /**
     * query_vpc_id for zone vpcId.
     * 
     */
    @Import(name="queryVpcId")
    private @Nullable Output queryVpcId;

    /**
     * @return query_vpc_id for zone vpcId.
     * 
     */
    public Optional> queryVpcId() {
        return Optional.ofNullable(this.queryVpcId);
    }

    /**
     * resource_group_id for zone resourceGroupId.
     * 
     */
    @Import(name="resourceGroupId")
    private @Nullable Output resourceGroupId;

    /**
     * @return resource_group_id for zone resourceGroupId.
     * 
     */
    public Optional> resourceGroupId() {
        return Optional.ofNullable(this.resourceGroupId);
    }

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

    private GetZonesArgs() {}

    private GetZonesArgs(GetZonesArgs $) {
        this.enableDetails = $.enableDetails;
        this.ids = $.ids;
        this.keyword = $.keyword;
        this.lang = $.lang;
        this.nameRegex = $.nameRegex;
        this.outputFile = $.outputFile;
        this.queryRegionId = $.queryRegionId;
        this.queryVpcId = $.queryVpcId;
        this.resourceGroupId = $.resourceGroupId;
        this.searchMode = $.searchMode;
    }

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

    public static final class Builder {
        private GetZonesArgs $;

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

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

        /**
         * @param enableDetails Default to `false`. Set it to true can output more details.
         * 
         * @return builder
         * 
         */
        public Builder enableDetails(@Nullable Output enableDetails) {
            $.enableDetails = enableDetails;
            return this;
        }

        /**
         * @param enableDetails Default to `false`. Set it to true can output more details.
         * 
         * @return builder
         * 
         */
        public Builder enableDetails(Boolean enableDetails) {
            return enableDetails(Output.of(enableDetails));
        }

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

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

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

        /**
         * @param keyword keyword for zone name.
         * 
         * @return builder
         * 
         */
        public Builder keyword(@Nullable Output keyword) {
            $.keyword = keyword;
            return this;
        }

        /**
         * @param keyword keyword for zone name.
         * 
         * @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));
        }

        public Builder nameRegex(@Nullable Output nameRegex) {
            $.nameRegex = nameRegex;
            return this;
        }

        public Builder nameRegex(String nameRegex) {
            return nameRegex(Output.of(nameRegex));
        }

        /**
         * @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 queryRegionId query_region_id for zone regionId.
         * 
         * @return builder
         * 
         */
        public Builder queryRegionId(@Nullable Output queryRegionId) {
            $.queryRegionId = queryRegionId;
            return this;
        }

        /**
         * @param queryRegionId query_region_id for zone regionId.
         * 
         * @return builder
         * 
         */
        public Builder queryRegionId(String queryRegionId) {
            return queryRegionId(Output.of(queryRegionId));
        }

        /**
         * @param queryVpcId query_vpc_id for zone vpcId.
         * 
         * @return builder
         * 
         */
        public Builder queryVpcId(@Nullable Output queryVpcId) {
            $.queryVpcId = queryVpcId;
            return this;
        }

        /**
         * @param queryVpcId query_vpc_id for zone vpcId.
         * 
         * @return builder
         * 
         */
        public Builder queryVpcId(String queryVpcId) {
            return queryVpcId(Output.of(queryVpcId));
        }

        /**
         * @param resourceGroupId resource_group_id for zone resourceGroupId.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupId(@Nullable Output resourceGroupId) {
            $.resourceGroupId = resourceGroupId;
            return this;
        }

        /**
         * @param resourceGroupId resource_group_id for zone resourceGroupId.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupId(String resourceGroupId) {
            return resourceGroupId(Output.of(resourceGroupId));
        }

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

        public GetZonesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy