@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SummarizedCounter extends Object implements Serializable, Cloneable, StructuredPojo
The counter that describes a DDoS attack.
Constructor and Description |
---|
SummarizedCounter() |
Modifier and Type | Method and Description |
---|---|
SummarizedCounter |
clone() |
boolean |
equals(Object obj) |
Double |
getAverage()
The average value of the counter for a specified time period.
|
Double |
getMax()
The maximum value of the counter for a specified time period.
|
Integer |
getN()
The number of counters for a specified time period.
|
String |
getName()
The counter name.
|
Double |
getSum()
The total of counter values for a specified time period.
|
String |
getUnit()
The unit of the counters.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAverage(Double average)
The average value of the counter for a specified time period.
|
void |
setMax(Double max)
The maximum value of the counter for a specified time period.
|
void |
setN(Integer n)
The number of counters for a specified time period.
|
void |
setName(String name)
The counter name.
|
void |
setSum(Double sum)
The total of counter values for a specified time period.
|
void |
setUnit(String unit)
The unit of the counters.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SummarizedCounter |
withAverage(Double average)
The average value of the counter for a specified time period.
|
SummarizedCounter |
withMax(Double max)
The maximum value of the counter for a specified time period.
|
SummarizedCounter |
withN(Integer n)
The number of counters for a specified time period.
|
SummarizedCounter |
withName(String name)
The counter name.
|
SummarizedCounter |
withSum(Double sum)
The total of counter values for a specified time period.
|
SummarizedCounter |
withUnit(String unit)
The unit of the counters.
|
public void setName(String name)
The counter name.
name
- The counter name.public String getName()
The counter name.
public SummarizedCounter withName(String name)
The counter name.
name
- The counter name.public void setMax(Double max)
The maximum value of the counter for a specified time period.
max
- The maximum value of the counter for a specified time period.public Double getMax()
The maximum value of the counter for a specified time period.
public SummarizedCounter withMax(Double max)
The maximum value of the counter for a specified time period.
max
- The maximum value of the counter for a specified time period.public void setAverage(Double average)
The average value of the counter for a specified time period.
average
- The average value of the counter for a specified time period.public Double getAverage()
The average value of the counter for a specified time period.
public SummarizedCounter withAverage(Double average)
The average value of the counter for a specified time period.
average
- The average value of the counter for a specified time period.public void setSum(Double sum)
The total of counter values for a specified time period.
sum
- The total of counter values for a specified time period.public Double getSum()
The total of counter values for a specified time period.
public SummarizedCounter withSum(Double sum)
The total of counter values for a specified time period.
sum
- The total of counter values for a specified time period.public void setN(Integer n)
The number of counters for a specified time period.
n
- The number of counters for a specified time period.public Integer getN()
The number of counters for a specified time period.
public SummarizedCounter withN(Integer n)
The number of counters for a specified time period.
n
- The number of counters for a specified time period.public void setUnit(String unit)
The unit of the counters.
unit
- The unit of the counters.public String getUnit()
The unit of the counters.
public SummarizedCounter withUnit(String unit)
The unit of the counters.
unit
- The unit of the counters.public String toString()
toString
in class Object
Object.toString()
public SummarizedCounter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.