public static class ServerMetrics.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,DriveMetrics> |
driveMetrics |
protected long |
rx |
protected long |
rxPackets |
protected long |
tx |
protected long |
txPackets |
Constructor and Description |
---|
ServerMetrics.Builder() |
Modifier and Type | Method and Description |
---|---|
ServerMetrics |
build() |
ServerMetrics.Builder |
driveMetrics(Map<String,? extends DriveMetrics> driveMetrics) |
ServerMetrics.Builder |
rx(long rx) |
ServerMetrics.Builder |
rxPackets(long rxPackets) |
ServerMetrics.Builder |
tx(long tx) |
ServerMetrics.Builder |
txPackets(long txPackets) |
protected long txPackets
protected long tx
protected long rxPackets
protected long rx
protected Map<String,DriveMetrics> driveMetrics
public ServerMetrics.Builder txPackets(long txPackets)
public ServerMetrics.Builder tx(long tx)
public ServerMetrics.Builder rxPackets(long rxPackets)
public ServerMetrics.Builder rx(long rx)
public ServerMetrics.Builder driveMetrics(Map<String,? extends DriveMetrics> driveMetrics)
public ServerMetrics build()
Copyright © 2009-2013 jclouds. All Rights Reserved.