@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 DDoS event that was observed.
|
String |
attackLayerAsString()
The type of 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AttackProperty.Builder> |
serializableBuilderClass() |
AttackProperty.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
List<Contributor> |
topContributors()
The array of Contributor objects that includes the top five contributors to an attack.
|
String |
toString() |
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. |
copy
public AttackLayer attackLayer()
The type of 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.AttackLayer
public String attackLayerAsString()
The type of 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.AttackLayer
public AttackPropertyIdentifier attackPropertyIdentifier()
Defines the DDoS attack property information that is provided.
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()
.
AttackPropertyIdentifier
public String attackPropertyIdentifierAsString()
Defines the DDoS attack property information that is provided.
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()
.
AttackPropertyIdentifier
public 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.
public 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.Unit
public 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.Unit
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AttackProperty.Builder,AttackProperty>
public static AttackProperty.Builder builder()
public static Class<? extends AttackProperty.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.