@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttackProperty extends Object implements Serializable, Cloneable, StructuredPojo
Details of the described attack.
Constructor and Description |
---|
AttackProperty() |
Modifier and Type | Method and Description |
---|---|
AttackProperty |
clone() |
boolean |
equals(Object obj) |
String |
getAttackLayer()
The type of distributed denial of service (DDoS) event that was observed.
|
String |
getAttackPropertyIdentifier()
Defines the DDoS attack property information that is provided.
|
List<Contributor> |
getTopContributors()
The array of contributor objects that includes the top five contributors to an attack.
|
Long |
getTotal()
The total contributions made to this attack by all contributors, not just the five listed in the
TopContributors list. |
String |
getUnit()
The unit of the
Value of the contributions. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttackLayer(String attackLayer)
The type of distributed denial of service (DDoS) event that was observed.
|
void |
setAttackPropertyIdentifier(String attackPropertyIdentifier)
Defines the DDoS attack property information that is provided.
|
void |
setTopContributors(Collection<Contributor> topContributors)
The array of contributor objects that includes the top five contributors to an attack.
|
void |
setTotal(Long total)
The total contributions made to this attack by all contributors, not just the five listed in the
TopContributors list. |
void |
setUnit(String unit)
The unit of the
Value of the contributions. |
String |
toString()
Returns a string representation of this object.
|
AttackProperty |
withAttackLayer(AttackLayer attackLayer)
The type of distributed denial of service (DDoS) event that was observed.
|
AttackProperty |
withAttackLayer(String attackLayer)
The type of distributed denial of service (DDoS) event that was observed.
|
AttackProperty |
withAttackPropertyIdentifier(AttackPropertyIdentifier attackPropertyIdentifier)
Defines the DDoS attack property information that is provided.
|
AttackProperty |
withAttackPropertyIdentifier(String attackPropertyIdentifier)
Defines the DDoS attack property information that is provided.
|
AttackProperty |
withTopContributors(Collection<Contributor> topContributors)
The array of contributor objects that includes the top five contributors to an attack.
|
AttackProperty |
withTopContributors(Contributor... topContributors)
The array of contributor objects that includes the top five contributors to an attack.
|
AttackProperty |
withTotal(Long total)
The total contributions made to this attack by all contributors, not just the five listed in the
TopContributors list. |
AttackProperty |
withUnit(String unit)
The unit of the
Value of the contributions. |
AttackProperty |
withUnit(Unit unit)
The unit of the
Value of the contributions. |
public void setAttackLayer(String 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.
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.AttackLayer
public String getAttackLayer()
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.
NETWORK
indicates
layer 3 and layer 4 events and APPLICATION
indicates layer 7 events.AttackLayer
public AttackProperty withAttackLayer(String 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.
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.AttackLayer
public AttackProperty withAttackLayer(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.
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.AttackLayer
public void setAttackPropertyIdentifier(String 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.
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.AttackPropertyIdentifier
public String getAttackPropertyIdentifier()
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.
WORDPRESS_PINGBACK_REFLECTOR
and WORDPRESS_PINGBACK_SOURCE
values are valid
only for WordPress reflective pingback DDoS attacks.AttackPropertyIdentifier
public AttackProperty withAttackPropertyIdentifier(String 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.
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.AttackPropertyIdentifier
public AttackProperty withAttackPropertyIdentifier(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.
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.AttackPropertyIdentifier
public List<Contributor> getTopContributors()
The array of contributor objects that includes the top five contributors to an attack.
public void setTopContributors(Collection<Contributor> topContributors)
The array of contributor objects that includes the top five contributors to an attack.
topContributors
- The array of contributor objects that includes the top five contributors to an attack.public AttackProperty withTopContributors(Contributor... topContributors)
The array of contributor objects that includes the top five contributors to an attack.
NOTE: This method appends the values to the existing list (if any). Use
setTopContributors(java.util.Collection)
or withTopContributors(java.util.Collection)
if you
want to override the existing values.
topContributors
- The array of contributor objects that includes the top five contributors to an attack.public AttackProperty withTopContributors(Collection<Contributor> topContributors)
The array of contributor objects that includes the top five contributors to an attack.
topContributors
- The array of contributor objects that includes the top five contributors to an attack.public void setUnit(String unit)
The unit of the Value
of the contributions.
unit
- The unit of the Value
of the contributions.Unit
public String getUnit()
The unit of the Value
of the contributions.
Value
of the contributions.Unit
public AttackProperty withUnit(String unit)
The unit of the Value
of the contributions.
unit
- The unit of the Value
of the contributions.Unit
public AttackProperty withUnit(Unit unit)
The unit of the Value
of the contributions.
unit
- The unit of the Value
of the contributions.Unit
public void setTotal(Long total)
The total contributions made to this attack by all contributors, not just the five listed in the
TopContributors
list.
total
- The total contributions made to this attack by all contributors, not just the five listed in the
TopContributors
list.public Long getTotal()
The total contributions made to this attack by all contributors, not just the five listed in the
TopContributors
list.
TopContributors
list.public AttackProperty withTotal(Long total)
The total contributions made to this attack by all contributors, not just the five listed in the
TopContributors
list.
total
- The total contributions made to this attack by all contributors, not just the five listed in the
TopContributors
list.public String toString()
toString
in class Object
Object.toString()
public AttackProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.