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

com.pulumi.cloudngfwaws.inputs.GetAppIdVersionPlainArgs Maven / Gradle / Ivy

There is a newer version: 0.1.0-alpha.1731490948
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.cloudngfwaws.inputs;

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


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

    public static final GetAppIdVersionPlainArgs Empty = new GetAppIdVersionPlainArgs();

    /**
     * Max results. Defaults to `100`.
     * 
     */
    @Import(name="maxResults")
    private @Nullable Integer maxResults;

    /**
     * @return Max results. Defaults to `100`.
     * 
     */
    public Optional maxResults() {
        return Optional.ofNullable(this.maxResults);
    }

    /**
     * Pagination token.
     * 
     */
    @Import(name="token")
    private @Nullable String token;

    /**
     * @return Pagination token.
     * 
     */
    public Optional token() {
        return Optional.ofNullable(this.token);
    }

    /**
     * The AppId version.
     * 
     */
    @Import(name="version", required=true)
    private String version;

    /**
     * @return The AppId version.
     * 
     */
    public String version() {
        return this.version;
    }

    private GetAppIdVersionPlainArgs() {}

    private GetAppIdVersionPlainArgs(GetAppIdVersionPlainArgs $) {
        this.maxResults = $.maxResults;
        this.token = $.token;
        this.version = $.version;
    }

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

    public static final class Builder {
        private GetAppIdVersionPlainArgs $;

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

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

        /**
         * @param maxResults Max results. Defaults to `100`.
         * 
         * @return builder
         * 
         */
        public Builder maxResults(@Nullable Integer maxResults) {
            $.maxResults = maxResults;
            return this;
        }

        /**
         * @param token Pagination token.
         * 
         * @return builder
         * 
         */
        public Builder token(@Nullable String token) {
            $.token = token;
            return this;
        }

        /**
         * @param version The AppId version.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            $.version = version;
            return this;
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy