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

com.pulumi.linode.inputs.GetNetworkTransferPricesArgs Maven / Gradle / Ivy

There is a newer version: 4.31.0-alpha.1732773076
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.linode.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.linode.inputs.GetNetworkTransferPricesFilterArgs;
import com.pulumi.linode.inputs.GetNetworkTransferPricesTypeArgs;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetNetworkTransferPricesArgs Empty = new GetNetworkTransferPricesArgs();

    @Import(name="filters")
    private @Nullable Output> filters;

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

    /**
     * The order in which results should be returned. (`asc`, `desc`; default `asc`)
     * 
     */
    @Import(name="order")
    private @Nullable Output order;

    /**
     * @return The order in which results should be returned. (`asc`, `desc`; default `asc`)
     * 
     */
    public Optional> order() {
        return Optional.ofNullable(this.order);
    }

    /**
     * The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
     * 
     */
    @Import(name="orderBy")
    private @Nullable Output orderBy;

    /**
     * @return The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
     * 
     */
    public Optional> orderBy() {
        return Optional.ofNullable(this.orderBy);
    }

    @Import(name="types")
    private @Nullable Output> types;

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

    private GetNetworkTransferPricesArgs() {}

    private GetNetworkTransferPricesArgs(GetNetworkTransferPricesArgs $) {
        this.filters = $.filters;
        this.order = $.order;
        this.orderBy = $.orderBy;
        this.types = $.types;
    }

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

    public static final class Builder {
        private GetNetworkTransferPricesArgs $;

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

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

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

        public Builder filters(List filters) {
            return filters(Output.of(filters));
        }

        public Builder filters(GetNetworkTransferPricesFilterArgs... filters) {
            return filters(List.of(filters));
        }

        /**
         * @param order The order in which results should be returned. (`asc`, `desc`; default `asc`)
         * 
         * @return builder
         * 
         */
        public Builder order(@Nullable Output order) {
            $.order = order;
            return this;
        }

        /**
         * @param order The order in which results should be returned. (`asc`, `desc`; default `asc`)
         * 
         * @return builder
         * 
         */
        public Builder order(String order) {
            return order(Output.of(order));
        }

        /**
         * @param orderBy The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
         * 
         * @return builder
         * 
         */
        public Builder orderBy(@Nullable Output orderBy) {
            $.orderBy = orderBy;
            return this;
        }

        /**
         * @param orderBy The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
         * 
         * @return builder
         * 
         */
        public Builder orderBy(String orderBy) {
            return orderBy(Output.of(orderBy));
        }

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

        public Builder types(List types) {
            return types(Output.of(types));
        }

        public Builder types(GetNetworkTransferPricesTypeArgs... types) {
            return types(List.of(types));
        }

        public GetNetworkTransferPricesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy