@Generated(value="software.amazon.awssdk:codegen") public class SummarizedCounter extends Object implements StructuredPojo, ToCopyableBuilder<SummarizedCounter.Builder,SummarizedCounter>
The counter that describes a DDoS attack.
Modifier and Type | Class and Description |
---|---|
static interface |
SummarizedCounter.Builder |
Modifier and Type | Method and Description |
---|---|
Double |
average()
The average value of the counter for a specified time period.
|
static SummarizedCounter.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Double |
max()
The maximum value of the counter for a specified time period.
|
Integer |
n()
The number of counters for a specified time period.
|
String |
name()
The counter name.
|
static Class<? extends SummarizedCounter.Builder> |
serializableBuilderClass() |
Double |
sum()
The total of counter values for a specified time period.
|
SummarizedCounter.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
unit()
The unit of the counters.
|
copy
public String name()
The counter name.
public Double max()
The maximum value of the counter for a specified time period.
public Double average()
The average value of the counter for a specified time period.
public Double sum()
The total of counter values for a specified time period.
public Integer n()
The number of counters for a specified time period.
public String unit()
The unit of the counters.
public SummarizedCounter.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SummarizedCounter.Builder,SummarizedCounter>
public static SummarizedCounter.Builder builder()
public static Class<? extends SummarizedCounter.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.