Package org.jclouds.elasticstack.domain
Class ServerMetrics.Builder
- java.lang.Object
-
- org.jclouds.elasticstack.domain.ServerMetrics.Builder
-
- Enclosing class:
- ServerMetrics
public static class ServerMetrics.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,? extends DriveMetrics>
driveMetrics
protected long
rx
protected long
rxPackets
protected long
tx
protected long
txPackets
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
txPackets
protected long txPackets
-
tx
protected long tx
-
rxPackets
protected long rxPackets
-
rx
protected long rx
-
driveMetrics
protected Map<String,? extends DriveMetrics> driveMetrics
-
-
Method Detail
-
txPackets
public ServerMetrics.Builder txPackets(long txPackets)
-
tx
public ServerMetrics.Builder tx(long tx)
-
rxPackets
public ServerMetrics.Builder rxPackets(long rxPackets)
-
rx
public ServerMetrics.Builder rx(long rx)
-
driveMetrics
public ServerMetrics.Builder driveMetrics(Map<String,? extends DriveMetrics> driveMetrics)
-
build
public ServerMetrics build()
-
-