@Generated(value="software.amazon.awssdk:codegen") public final class SummarizedCounter extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SummarizedCounter.Builder> |
serializableBuilderClass() |
Double |
sum()
The total of counter values for a specified time period.
|
SummarizedCounter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
unit()
The unit of the counters.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The counter name.
public final Double max()
The maximum value of the counter for a specified time period.
public final Double average()
The average value of the counter for a specified time period.
public final Double sum()
The total of counter values for a specified time period.
public final Integer n()
The number of counters for a specified time period.
public final String unit()
The unit of the counters.
public SummarizedCounter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SummarizedCounter.Builder,SummarizedCounter>public static SummarizedCounter.Builder builder()
public static Class<? extends SummarizedCounter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.