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

com.pulumi.meraki.devices.outputs.GetSwitchPortsStatusesItemUsageInKb 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.devices.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;

@CustomType
public final class GetSwitchPortsStatusesItemUsageInKb {
    /**
     * @return The amount of data received (in kilobytes).
     * 
     */
    private Integer recv;
    /**
     * @return The amount of data sent (in kilobytes).
     * 
     */
    private Integer sent;
    /**
     * @return The total amount of data sent and received (in kilobytes).
     * 
     */
    private Integer total;

    private GetSwitchPortsStatusesItemUsageInKb() {}
    /**
     * @return The amount of data received (in kilobytes).
     * 
     */
    public Integer recv() {
        return this.recv;
    }
    /**
     * @return The amount of data sent (in kilobytes).
     * 
     */
    public Integer sent() {
        return this.sent;
    }
    /**
     * @return The total amount of data sent and received (in kilobytes).
     * 
     */
    public Integer total() {
        return this.total;
    }

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

    public static Builder builder(GetSwitchPortsStatusesItemUsageInKb defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer recv;
        private Integer sent;
        private Integer total;
        public Builder() {}
        public Builder(GetSwitchPortsStatusesItemUsageInKb defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.recv = defaults.recv;
    	      this.sent = defaults.sent;
    	      this.total = defaults.total;
        }

        @CustomType.Setter
        public Builder recv(Integer recv) {
            if (recv == null) {
              throw new MissingRequiredPropertyException("GetSwitchPortsStatusesItemUsageInKb", "recv");
            }
            this.recv = recv;
            return this;
        }
        @CustomType.Setter
        public Builder sent(Integer sent) {
            if (sent == null) {
              throw new MissingRequiredPropertyException("GetSwitchPortsStatusesItemUsageInKb", "sent");
            }
            this.sent = sent;
            return this;
        }
        @CustomType.Setter
        public Builder total(Integer total) {
            if (total == null) {
              throw new MissingRequiredPropertyException("GetSwitchPortsStatusesItemUsageInKb", "total");
            }
            this.total = total;
            return this;
        }
        public GetSwitchPortsStatusesItemUsageInKb build() {
            final var _resultValue = new GetSwitchPortsStatusesItemUsageInKb();
            _resultValue.recv = recv;
            _resultValue.sent = sent;
            _resultValue.total = total;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy