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

com.pulumi.meraki.networks.inputs.GetWirelessUsageHistoryArgs Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.networks.inputs;

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


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

    public static final GetWirelessUsageHistoryArgs Empty = new GetWirelessUsageHistoryArgs();

    /**
     * apTag query parameter. Filter results by AP tag; either :clientId or :deviceSerial must be jointly specified.
     * 
     */
    @Import(name="apTag")
    private @Nullable Output apTag;

    /**
     * @return apTag query parameter. Filter results by AP tag; either :clientId or :deviceSerial must be jointly specified.
     * 
     */
    public Optional> apTag() {
        return Optional.ofNullable(this.apTag);
    }

    /**
     * autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
     * 
     */
    @Import(name="autoResolution")
    private @Nullable Output autoResolution;

    /**
     * @return autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
     * 
     */
    public Optional> autoResolution() {
        return Optional.ofNullable(this.autoResolution);
    }

    /**
     * band query parameter. Filter results by band (either '2.4', '5' or '6').
     * 
     */
    @Import(name="band")
    private @Nullable Output band;

    /**
     * @return band query parameter. Filter results by band (either '2.4', '5' or '6').
     * 
     */
    public Optional> band() {
        return Optional.ofNullable(this.band);
    }

    /**
     * clientId query parameter. Filter results by network client to return per-device AP usage over time inner joined by the queried client's connection history.
     * 
     */
    @Import(name="clientId")
    private @Nullable Output clientId;

    /**
     * @return clientId query parameter. Filter results by network client to return per-device AP usage over time inner joined by the queried client's connection history.
     * 
     */
    public Optional> clientId() {
        return Optional.ofNullable(this.clientId);
    }

    /**
     * deviceSerial query parameter. Filter results by device. Requires :band.
     * 
     */
    @Import(name="deviceSerial")
    private @Nullable Output deviceSerial;

    /**
     * @return deviceSerial query parameter. Filter results by device. Requires :band.
     * 
     */
    public Optional> deviceSerial() {
        return Optional.ofNullable(this.deviceSerial);
    }

    /**
     * networkId path parameter. Network ID
     * 
     */
    @Import(name="networkId", required=true)
    private Output networkId;

    /**
     * @return networkId path parameter. Network ID
     * 
     */
    public Output networkId() {
        return this.networkId;
    }

    /**
     * resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
     * 
     */
    @Import(name="resolution")
    private @Nullable Output resolution;

    /**
     * @return resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
     * 
     */
    public Optional> resolution() {
        return Optional.ofNullable(this.resolution);
    }

    /**
     * ssid query parameter. Filter results by SSID number.
     * 
     */
    @Import(name="ssid")
    private @Nullable Output ssid;

    /**
     * @return ssid query parameter. Filter results by SSID number.
     * 
     */
    public Optional> ssid() {
        return Optional.ofNullable(this.ssid);
    }

    /**
     * t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
     * 
     */
    @Import(name="t0")
    private @Nullable Output t0;

    /**
     * @return t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
     * 
     */
    public Optional> t0() {
        return Optional.ofNullable(this.t0);
    }

    /**
     * t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
     * 
     */
    @Import(name="t1")
    private @Nullable Output t1;

    /**
     * @return t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
     * 
     */
    public Optional> t1() {
        return Optional.ofNullable(this.t1);
    }

    /**
     * timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
     * 
     */
    @Import(name="timespan")
    private @Nullable Output timespan;

    /**
     * @return timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
     * 
     */
    public Optional> timespan() {
        return Optional.ofNullable(this.timespan);
    }

    private GetWirelessUsageHistoryArgs() {}

    private GetWirelessUsageHistoryArgs(GetWirelessUsageHistoryArgs $) {
        this.apTag = $.apTag;
        this.autoResolution = $.autoResolution;
        this.band = $.band;
        this.clientId = $.clientId;
        this.deviceSerial = $.deviceSerial;
        this.networkId = $.networkId;
        this.resolution = $.resolution;
        this.ssid = $.ssid;
        this.t0 = $.t0;
        this.t1 = $.t1;
        this.timespan = $.timespan;
    }

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

    public static final class Builder {
        private GetWirelessUsageHistoryArgs $;

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

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

        /**
         * @param apTag apTag query parameter. Filter results by AP tag; either :clientId or :deviceSerial must be jointly specified.
         * 
         * @return builder
         * 
         */
        public Builder apTag(@Nullable Output apTag) {
            $.apTag = apTag;
            return this;
        }

        /**
         * @param apTag apTag query parameter. Filter results by AP tag; either :clientId or :deviceSerial must be jointly specified.
         * 
         * @return builder
         * 
         */
        public Builder apTag(String apTag) {
            return apTag(Output.of(apTag));
        }

        /**
         * @param autoResolution autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
         * 
         * @return builder
         * 
         */
        public Builder autoResolution(@Nullable Output autoResolution) {
            $.autoResolution = autoResolution;
            return this;
        }

        /**
         * @param autoResolution autoResolution query parameter. Automatically select a data resolution based on the given timespan; this overrides the value specified by the 'resolution' parameter. The default setting is false.
         * 
         * @return builder
         * 
         */
        public Builder autoResolution(Boolean autoResolution) {
            return autoResolution(Output.of(autoResolution));
        }

        /**
         * @param band band query parameter. Filter results by band (either '2.4', '5' or '6').
         * 
         * @return builder
         * 
         */
        public Builder band(@Nullable Output band) {
            $.band = band;
            return this;
        }

        /**
         * @param band band query parameter. Filter results by band (either '2.4', '5' or '6').
         * 
         * @return builder
         * 
         */
        public Builder band(String band) {
            return band(Output.of(band));
        }

        /**
         * @param clientId clientId query parameter. Filter results by network client to return per-device AP usage over time inner joined by the queried client's connection history.
         * 
         * @return builder
         * 
         */
        public Builder clientId(@Nullable Output clientId) {
            $.clientId = clientId;
            return this;
        }

        /**
         * @param clientId clientId query parameter. Filter results by network client to return per-device AP usage over time inner joined by the queried client's connection history.
         * 
         * @return builder
         * 
         */
        public Builder clientId(String clientId) {
            return clientId(Output.of(clientId));
        }

        /**
         * @param deviceSerial deviceSerial query parameter. Filter results by device. Requires :band.
         * 
         * @return builder
         * 
         */
        public Builder deviceSerial(@Nullable Output deviceSerial) {
            $.deviceSerial = deviceSerial;
            return this;
        }

        /**
         * @param deviceSerial deviceSerial query parameter. Filter results by device. Requires :band.
         * 
         * @return builder
         * 
         */
        public Builder deviceSerial(String deviceSerial) {
            return deviceSerial(Output.of(deviceSerial));
        }

        /**
         * @param networkId networkId path parameter. Network ID
         * 
         * @return builder
         * 
         */
        public Builder networkId(Output networkId) {
            $.networkId = networkId;
            return this;
        }

        /**
         * @param networkId networkId path parameter. Network ID
         * 
         * @return builder
         * 
         */
        public Builder networkId(String networkId) {
            return networkId(Output.of(networkId));
        }

        /**
         * @param resolution resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
         * 
         * @return builder
         * 
         */
        public Builder resolution(@Nullable Output resolution) {
            $.resolution = resolution;
            return this;
        }

        /**
         * @param resolution resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
         * 
         * @return builder
         * 
         */
        public Builder resolution(Integer resolution) {
            return resolution(Output.of(resolution));
        }

        /**
         * @param ssid ssid query parameter. Filter results by SSID number.
         * 
         * @return builder
         * 
         */
        public Builder ssid(@Nullable Output ssid) {
            $.ssid = ssid;
            return this;
        }

        /**
         * @param ssid ssid query parameter. Filter results by SSID number.
         * 
         * @return builder
         * 
         */
        public Builder ssid(Integer ssid) {
            return ssid(Output.of(ssid));
        }

        /**
         * @param t0 t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
         * 
         * @return builder
         * 
         */
        public Builder t0(@Nullable Output t0) {
            $.t0 = t0;
            return this;
        }

        /**
         * @param t0 t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
         * 
         * @return builder
         * 
         */
        public Builder t0(String t0) {
            return t0(Output.of(t0));
        }

        /**
         * @param t1 t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
         * 
         * @return builder
         * 
         */
        public Builder t1(@Nullable Output t1) {
            $.t1 = t1;
            return this;
        }

        /**
         * @param t1 t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
         * 
         * @return builder
         * 
         */
        public Builder t1(String t1) {
            return t1(Output.of(t1));
        }

        /**
         * @param timespan timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
         * 
         * @return builder
         * 
         */
        public Builder timespan(@Nullable Output timespan) {
            $.timespan = timespan;
            return this;
        }

        /**
         * @param timespan timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
         * 
         * @return builder
         * 
         */
        public Builder timespan(Double timespan) {
            return timespan(Output.of(timespan));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy