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

com.pulumi.alicloud.kvstore.inputs.GetAccountsPlainArgs 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.kvstore.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 GetAccountsPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetAccountsPlainArgs Empty = new GetAccountsPlainArgs();

    /**
     * The name of the account.
     * 
     */
    @Import(name="accountName")
    private @Nullable String accountName;

    /**
     * @return The name of the account.
     * 
     */
    public Optional accountName() {
        return Optional.ofNullable(this.accountName);
    }

    /**
     * The Id of instance in which account belongs.
     * 
     */
    @Import(name="instanceId", required=true)
    private String instanceId;

    /**
     * @return The Id of instance in which account belongs.
     * 
     */
    public String instanceId() {
        return this.instanceId;
    }

    @Import(name="nameRegex")
    private @Nullable String 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 String outputFile;

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

    /**
     * The status of KVStore Account. Valid Values: `"Available` `Unavailable`
     * 
     */
    @Import(name="status")
    private @Nullable String status;

    /**
     * @return The status of KVStore Account. Valid Values: `"Available` `Unavailable`
     * 
     */
    public Optional status() {
        return Optional.ofNullable(this.status);
    }

    private GetAccountsPlainArgs() {}

    private GetAccountsPlainArgs(GetAccountsPlainArgs $) {
        this.accountName = $.accountName;
        this.instanceId = $.instanceId;
        this.nameRegex = $.nameRegex;
        this.outputFile = $.outputFile;
        this.status = $.status;
    }

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

    public static final class Builder {
        private GetAccountsPlainArgs $;

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

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

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

        /**
         * @param instanceId The Id of instance in which account belongs.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(String instanceId) {
            $.instanceId = instanceId;
            return this;
        }

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

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

        /**
         * @param status The status of KVStore Account. Valid Values: `"Available` `Unavailable`
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable String status) {
            $.status = status;
            return this;
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy