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

com.pulumi.alicloud.vpn.inputs.GetCustomerGatewaysPlainArgs 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.vpn.inputs;

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 GetCustomerGatewaysPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCustomerGatewaysPlainArgs Empty = new GetCustomerGatewaysPlainArgs();

    /**
     * ID of the VPN customer gateways.
     * 
     */
    @Import(name="ids")
    private @Nullable List ids;

    /**
     * @return ID of the VPN customer gateways.
     * 
     */
    public Optional> ids() {
        return Optional.ofNullable(this.ids);
    }

    /**
     * A regex string of VPN customer gateways name.
     * 
     */
    @Import(name="nameRegex")
    private @Nullable String nameRegex;

    /**
     * @return A regex string of VPN customer gateways name.
     * 
     */
    public Optional nameRegex() {
        return Optional.ofNullable(this.nameRegex);
    }

    /**
     * Save the result to the file.
     * 
     */
    @Import(name="outputFile")
    private @Nullable String outputFile;

    /**
     * @return Save the result to the file.
     * 
     */
    public Optional outputFile() {
        return Optional.ofNullable(this.outputFile);
    }

    private GetCustomerGatewaysPlainArgs() {}

    private GetCustomerGatewaysPlainArgs(GetCustomerGatewaysPlainArgs $) {
        this.ids = $.ids;
        this.nameRegex = $.nameRegex;
        this.outputFile = $.outputFile;
    }

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

    public static final class Builder {
        private GetCustomerGatewaysPlainArgs $;

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

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

        /**
         * @param ids ID of the VPN customer gateways.
         * 
         * @return builder
         * 
         */
        public Builder ids(@Nullable List ids) {
            $.ids = ids;
            return this;
        }

        /**
         * @param ids ID of the VPN customer gateways.
         * 
         * @return builder
         * 
         */
        public Builder ids(String... ids) {
            return ids(List.of(ids));
        }

        /**
         * @param nameRegex A regex string of VPN customer gateways name.
         * 
         * @return builder
         * 
         */
        public Builder nameRegex(@Nullable String nameRegex) {
            $.nameRegex = nameRegex;
            return this;
        }

        /**
         * @param outputFile Save the result to the file.
         * 
         * @return builder
         * 
         */
        public Builder outputFile(@Nullable String outputFile) {
            $.outputFile = outputFile;
            return this;
        }

        public GetCustomerGatewaysPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy