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

com.softlayer.api.service.network.lbaas.LoadBalancerStatistics Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.network.lbaas;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.math.BigDecimal;

/**
 * SoftLayer_Network_LBaaS_LoadBalancerStatistics is a collection of metrics retrieved from a load balancer instance. The available metrics are: 
  • NUmber of members up
  • Number of members down
  • Total number of active connections
  • Throughput
  • Data processed by month
  • Connection rate
* * @see SoftLayer_Network_LBaaS_LoadBalancerStatistics */ @ApiType("SoftLayer_Network_LBaaS_LoadBalancerStatistics") public class LoadBalancerStatistics extends Entity { /** * Number of connections seen at the */ @ApiProperty(canBeNullOrNotSet = true) protected Long connectionRate; public Long getConnectionRate() { return connectionRate; } public void setConnectionRate(Long connectionRate) { connectionRateSpecified = true; this.connectionRate = connectionRate; } protected boolean connectionRateSpecified; public boolean isConnectionRateSpecified() { return connectionRateSpecified; } public void unsetConnectionRate() { connectionRate = null; connectionRateSpecified = false; } /** * Data processed by month is the total of bin and bout */ @ApiProperty(canBeNullOrNotSet = true) protected Long dataProcessedByMonth; public Long getDataProcessedByMonth() { return dataProcessedByMonth; } public void setDataProcessedByMonth(Long dataProcessedByMonth) { dataProcessedByMonthSpecified = true; this.dataProcessedByMonth = dataProcessedByMonth; } protected boolean dataProcessedByMonthSpecified; public boolean isDataProcessedByMonthSpecified() { return dataProcessedByMonthSpecified; } public void unsetDataProcessedByMonth() { dataProcessedByMonth = null; dataProcessedByMonthSpecified = false; } /** * Number of members in DOWN health state */ @ApiProperty(canBeNullOrNotSet = true) protected Long numberOfMembersDown; public Long getNumberOfMembersDown() { return numberOfMembersDown; } public void setNumberOfMembersDown(Long numberOfMembersDown) { numberOfMembersDownSpecified = true; this.numberOfMembersDown = numberOfMembersDown; } protected boolean numberOfMembersDownSpecified; public boolean isNumberOfMembersDownSpecified() { return numberOfMembersDownSpecified; } public void unsetNumberOfMembersDown() { numberOfMembersDown = null; numberOfMembersDownSpecified = false; } /** * Number of members in UP health state */ @ApiProperty(canBeNullOrNotSet = true) protected Long numberOfMembersUp; public Long getNumberOfMembersUp() { return numberOfMembersUp; } public void setNumberOfMembersUp(Long numberOfMembersUp) { numberOfMembersUpSpecified = true; this.numberOfMembersUp = numberOfMembersUp; } protected boolean numberOfMembersUpSpecified; public boolean isNumberOfMembersUpSpecified() { return numberOfMembersUpSpecified; } public void unsetNumberOfMembersUp() { numberOfMembersUp = null; numberOfMembersUpSpecified = false; } /** * Throughput measures the total number of bits */ @ApiProperty(canBeNullOrNotSet = true) protected BigDecimal throughput; public BigDecimal getThroughput() { return throughput; } public void setThroughput(BigDecimal throughput) { throughputSpecified = true; this.throughput = throughput; } protected boolean throughputSpecified; public boolean isThroughputSpecified() { return throughputSpecified; } public void unsetThroughput() { throughput = null; throughputSpecified = false; } /** * Number of total active established connections */ @ApiProperty(canBeNullOrNotSet = true) protected Long totalConnections; public Long getTotalConnections() { return totalConnections; } public void setTotalConnections(Long totalConnections) { totalConnectionsSpecified = true; this.totalConnections = totalConnections; } protected boolean totalConnectionsSpecified; public boolean isTotalConnectionsSpecified() { return totalConnectionsSpecified; } public void unsetTotalConnections() { totalConnections = null; totalConnectionsSpecified = false; } public static class Mask extends com.softlayer.api.service.Entity.Mask { public Mask connectionRate() { withLocalProperty("connectionRate"); return this; } public Mask dataProcessedByMonth() { withLocalProperty("dataProcessedByMonth"); return this; } public Mask numberOfMembersDown() { withLocalProperty("numberOfMembersDown"); return this; } public Mask numberOfMembersUp() { withLocalProperty("numberOfMembersUp"); return this; } public Mask throughput() { withLocalProperty("throughput"); return this; } public Mask totalConnections() { withLocalProperty("totalConnections"); return this; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy