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

com.pulumi.cloudngfwaws.inputs.GetAppIdVersionsArgs 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.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetAppIdVersionsArgs Empty = new GetAppIdVersionsArgs();

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

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

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

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

    private GetAppIdVersionsArgs() {}

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

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

    public static final class Builder {
        private GetAppIdVersionsArgs $;

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

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

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

        /**
         * @param maxResults Max number of results. Defaults to `100`.
         * 
         * @return builder
         * 
         */
        public Builder maxResults(Integer maxResults) {
            return maxResults(Output.of(maxResults));
        }

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

        /**
         * @param token Pagination token.
         * 
         * @return builder
         * 
         */
        public Builder token(String token) {
            return token(Output.of(token));
        }

        public GetAppIdVersionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy