@Generated(value="software.amazon.awssdk:codegen") public final class AttackProperty extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AttackProperty.Builder,AttackProperty>
Details of the described attack.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AttackProperty.Builder |
| Modifier and Type | Method and Description |
|---|---|
AttackLayer |
attackLayer()
The type of distributed denial of service (DDoS) event that was observed.
|
String |
attackLayerAsString()
The type of distributed denial of service (DDoS) event that was observed.
|
AttackPropertyIdentifier |
attackPropertyIdentifier()
Defines the DDoS attack property information that is provided.
|
String |
attackPropertyIdentifierAsString()
Defines the DDoS attack property information that is provided.
|
static AttackProperty.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTopContributors()
Returns true if the TopContributors property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AttackProperty.Builder> |
serializableBuilderClass() |
AttackProperty.Builder |
toBuilder() |
List<Contributor> |
topContributors()
The array of contributor objects that includes the top five contributors to an attack.
|
String |
toString()
Returns a string representation of this object.
|
Long |
total()
The total contributions made to this attack by all contributors, not just the five listed in the
TopContributors list. |
Unit |
unit()
The unit of the
Value of the contributions. |
String |
unitAsString()
The unit of the
Value of the contributions. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AttackLayer attackLayer()
The type of distributed denial of service (DDoS) event that was observed. NETWORK indicates layer 3
and layer 4 events and APPLICATION indicates layer 7 events.
If the service returns an enum value that is not available in the current SDK version, attackLayer will
return AttackLayer.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
attackLayerAsString().
NETWORK indicates
layer 3 and layer 4 events and APPLICATION indicates layer 7 events.AttackLayerpublic final String attackLayerAsString()
The type of distributed denial of service (DDoS) event that was observed. NETWORK indicates layer 3
and layer 4 events and APPLICATION indicates layer 7 events.
If the service returns an enum value that is not available in the current SDK version, attackLayer will
return AttackLayer.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
attackLayerAsString().
NETWORK indicates
layer 3 and layer 4 events and APPLICATION indicates layer 7 events.AttackLayerpublic final AttackPropertyIdentifier attackPropertyIdentifier()
Defines the DDoS attack property information that is provided. The WORDPRESS_PINGBACK_REFLECTOR and
WORDPRESS_PINGBACK_SOURCE values are valid only for WordPress reflective pingback DDoS attacks.
If the service returns an enum value that is not available in the current SDK version,
attackPropertyIdentifier will return AttackPropertyIdentifier.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from attackPropertyIdentifierAsString().
WORDPRESS_PINGBACK_REFLECTOR and WORDPRESS_PINGBACK_SOURCE values are valid
only for WordPress reflective pingback DDoS attacks.AttackPropertyIdentifierpublic final String attackPropertyIdentifierAsString()
Defines the DDoS attack property information that is provided. The WORDPRESS_PINGBACK_REFLECTOR and
WORDPRESS_PINGBACK_SOURCE values are valid only for WordPress reflective pingback DDoS attacks.
If the service returns an enum value that is not available in the current SDK version,
attackPropertyIdentifier will return AttackPropertyIdentifier.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from attackPropertyIdentifierAsString().
WORDPRESS_PINGBACK_REFLECTOR and WORDPRESS_PINGBACK_SOURCE values are valid
only for WordPress reflective pingback DDoS attacks.AttackPropertyIdentifierpublic final boolean hasTopContributors()
public final List<Contributor> topContributors()
The array of contributor objects that includes the top five contributors to an attack.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTopContributors() to see if a value was sent in this field.
public final Unit unit()
The unit of the Value of the contributions.
If the service returns an enum value that is not available in the current SDK version, unit will return
Unit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
Value of the contributions.Unitpublic final String unitAsString()
The unit of the Value of the contributions.
If the service returns an enum value that is not available in the current SDK version, unit will return
Unit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
Value of the contributions.Unitpublic final Long total()
The total contributions made to this attack by all contributors, not just the five listed in the
TopContributors list.
TopContributors list.public AttackProperty.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AttackProperty.Builder,AttackProperty>public static AttackProperty.Builder builder()
public static Class<? extends AttackProperty.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.