org.jclouds.elasticstack.domain
Class ServerMetrics.Builder

java.lang.Object
  extended by org.jclouds.elasticstack.domain.ServerMetrics.Builder
Enclosing class:
ServerMetrics

public static class ServerMetrics.Builder
extends Object


Field Summary
protected  Map<String,DriveMetrics> driveMetrics
           
protected  long rx
           
protected  long rxPackets
           
protected  long tx
           
protected  long txPackets
           
 
Constructor Summary
ServerMetrics.Builder()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

txPackets

protected long txPackets

tx

protected long tx

rxPackets

protected long rxPackets

rx

protected long rx

driveMetrics

protected Map<String,DriveMetrics> driveMetrics
Constructor Detail

ServerMetrics.Builder

public ServerMetrics.Builder()
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()


Copyright © 2009-2011 jclouds. All Rights Reserved.