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

com.pulumi.meraki.networks.inputs.GetWirelessChannelUtilizationHistoryPlainArgs 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.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 GetWirelessChannelUtilizationHistoryPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetWirelessChannelUtilizationHistoryPlainArgs Empty = new GetWirelessChannelUtilizationHistoryPlainArgs();

    /**
     * apTag query parameter. Filter results by AP tag to return AP channel utilization metrics for devices labeled with the given tag; either :clientId or :deviceSerial must be jointly specified.
     * 
     */
    @Import(name="apTag")
    private @Nullable String apTag;

    /**
     * @return apTag query parameter. Filter results by AP tag to return AP channel utilization metrics for devices labeled with the given 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 Boolean 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 String 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, per-band AP channel utilization metrics inner joined by the queried client's connection history.
     * 
     */
    @Import(name="clientId")
    private @Nullable String clientId;

    /**
     * @return clientId query parameter. Filter results by network client to return per-device, per-band AP channel utilization metrics inner joined by the queried client's connection history.
     * 
     */
    public Optional clientId() {
        return Optional.ofNullable(this.clientId);
    }

    /**
     * deviceSerial query parameter. Filter results by device to return AP channel utilization metrics for the queried device; either :band or :clientId must be jointly specified.
     * 
     */
    @Import(name="deviceSerial")
    private @Nullable String deviceSerial;

    /**
     * @return deviceSerial query parameter. Filter results by device to return AP channel utilization metrics for the queried device; either :band or :clientId must be jointly specified.
     * 
     */
    public Optional deviceSerial() {
        return Optional.ofNullable(this.deviceSerial);
    }

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

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

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

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

    /**
     * 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 String 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 String 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 Double 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 GetWirelessChannelUtilizationHistoryPlainArgs() {}

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

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

    public static final class Builder {
        private GetWirelessChannelUtilizationHistoryPlainArgs $;

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

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

        /**
         * @param apTag apTag query parameter. Filter results by AP tag to return AP channel utilization metrics for devices labeled with the given tag; either :clientId or :deviceSerial must be jointly specified.
         * 
         * @return builder
         * 
         */
        public Builder apTag(@Nullable String apTag) {
            $.apTag = apTag;
            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(@Nullable Boolean autoResolution) {
            $.autoResolution = autoResolution;
            return this;
        }

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

        /**
         * @param clientId clientId query parameter. Filter results by network client to return per-device, per-band AP channel utilization metrics inner joined by the queried client's connection history.
         * 
         * @return builder
         * 
         */
        public Builder clientId(@Nullable String clientId) {
            $.clientId = clientId;
            return this;
        }

        /**
         * @param deviceSerial deviceSerial query parameter. Filter results by device to return AP channel utilization metrics for the queried device; either :band or :clientId must be jointly specified.
         * 
         * @return builder
         * 
         */
        public Builder deviceSerial(@Nullable String deviceSerial) {
            $.deviceSerial = deviceSerial;
            return this;
        }

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

        /**
         * @param resolution resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 600, 1200, 3600, 14400, 86400. The default is 86400.
         * 
         * @return builder
         * 
         */
        public Builder resolution(@Nullable Integer resolution) {
            $.resolution = resolution;
            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(@Nullable String t0) {
            $.t0 = t0;
            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(@Nullable String t1) {
            $.t1 = t1;
            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(@Nullable Double timespan) {
            $.timespan = timespan;
            return this;
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy