@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 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 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 DDoS event that was observed.
|
AttackProperty |
withAttackLayer(String attackLayer)
The type of 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 DDoS event that was observed. NETWORK indicates layer 3 and layer 4 events and
APPLICATION indicates layer 7 events.
attackLayer - The type of DDoS event that was observed. NETWORK indicates layer 3 and layer 4 events and
APPLICATION indicates layer 7 events.AttackLayerpublic String getAttackLayer()
The type of 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.AttackLayerpublic AttackProperty withAttackLayer(String attackLayer)
The type of DDoS event that was observed. NETWORK indicates layer 3 and layer 4 events and
APPLICATION indicates layer 7 events.
attackLayer - The type of DDoS event that was observed. NETWORK indicates layer 3 and layer 4 events and
APPLICATION indicates layer 7 events.AttackLayerpublic AttackProperty withAttackLayer(AttackLayer attackLayer)
The type of DDoS event that was observed. NETWORK indicates layer 3 and layer 4 events and
APPLICATION indicates layer 7 events.
attackLayer - The type of DDoS event that was observed. NETWORK indicates layer 3 and layer 4 events and
APPLICATION indicates layer 7 events.AttackLayerpublic void setAttackPropertyIdentifier(String attackPropertyIdentifier)
Defines the DDoS attack property information that is provided.
attackPropertyIdentifier - Defines the DDoS attack property information that is provided.AttackPropertyIdentifierpublic String getAttackPropertyIdentifier()
Defines the DDoS attack property information that is provided.
AttackPropertyIdentifierpublic AttackProperty withAttackPropertyIdentifier(String attackPropertyIdentifier)
Defines the DDoS attack property information that is provided.
attackPropertyIdentifier - Defines the DDoS attack property information that is provided.AttackPropertyIdentifierpublic AttackProperty withAttackPropertyIdentifier(AttackPropertyIdentifier attackPropertyIdentifier)
Defines the DDoS attack property information that is provided.
attackPropertyIdentifier - Defines the DDoS attack property information that is provided.AttackPropertyIdentifierpublic 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.Unitpublic String getUnit()
The unit of the Value of the contributions.
Value of the contributions.Unitpublic AttackProperty withUnit(String unit)
The unit of the Value of the contributions.
unit - The unit of the Value of the contributions.Unitpublic AttackProperty withUnit(Unit unit)
The unit of the Value of the contributions.
unit - The unit of the Value of the contributions.Unitpublic 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 ObjectObject.toString()public AttackProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.