com.pulumi.meraki.networks.outputs.GetClientsOverviewItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki resources
// *** 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.meraki.networks.outputs.GetClientsOverviewItemCounts;
import com.pulumi.meraki.networks.outputs.GetClientsOverviewItemUsages;
import java.util.Objects;
@CustomType
public final class GetClientsOverviewItem {
/**
* @return The number of clients on a network over a given time range
*
*/
private GetClientsOverviewItemCounts counts;
/**
* @return The average usage of the clients on a network over a given time range
*
*/
private GetClientsOverviewItemUsages usages;
private GetClientsOverviewItem() {}
/**
* @return The number of clients on a network over a given time range
*
*/
public GetClientsOverviewItemCounts counts() {
return this.counts;
}
/**
* @return The average usage of the clients on a network over a given time range
*
*/
public GetClientsOverviewItemUsages usages() {
return this.usages;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetClientsOverviewItem defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private GetClientsOverviewItemCounts counts;
private GetClientsOverviewItemUsages usages;
public Builder() {}
public Builder(GetClientsOverviewItem defaults) {
Objects.requireNonNull(defaults);
this.counts = defaults.counts;
this.usages = defaults.usages;
}
@CustomType.Setter
public Builder counts(GetClientsOverviewItemCounts counts) {
if (counts == null) {
throw new MissingRequiredPropertyException("GetClientsOverviewItem", "counts");
}
this.counts = counts;
return this;
}
@CustomType.Setter
public Builder usages(GetClientsOverviewItemUsages usages) {
if (usages == null) {
throw new MissingRequiredPropertyException("GetClientsOverviewItem", "usages");
}
this.usages = usages;
return this;
}
public GetClientsOverviewItem build() {
final var _resultValue = new GetClientsOverviewItem();
_resultValue.counts = counts;
_resultValue.usages = usages;
return _resultValue;
}
}
}