@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttackProperty extends Object implements Serializable, Cloneable, StructuredPojo
Details of a Shield event. This is provided as part of an AttackDetail.
Constructor and Description |
---|
AttackProperty() |
Modifier and Type | Method and Description |
---|---|
AttackProperty |
clone() |
boolean |
equals(Object obj) |
String |
getAttackLayer()
The type of Shield event that was observed.
|
String |
getAttackPropertyIdentifier()
Defines the Shield event property information that is provided.
|
List<Contributor> |
getTopContributors()
Contributor objects for the top five contributors to a Shield event.
|
Long |
getTotal()
The total contributions made to this Shield event by all contributors.
|
String |
getUnit()
The unit used for the
Contributor Value property. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttackLayer(String attackLayer)
The type of Shield event that was observed.
|
void |
setAttackPropertyIdentifier(String attackPropertyIdentifier)
Defines the Shield event property information that is provided.
|
void |
setTopContributors(Collection<Contributor> topContributors)
Contributor objects for the top five contributors to a Shield event.
|
void |
setTotal(Long total)
The total contributions made to this Shield event by all contributors.
|
void |
setUnit(String unit)
The unit used for the
Contributor Value property. |
String |
toString()
Returns a string representation of this object.
|
AttackProperty |
withAttackLayer(AttackLayer attackLayer)
The type of Shield event that was observed.
|
AttackProperty |
withAttackLayer(String attackLayer)
The type of Shield event that was observed.
|
AttackProperty |
withAttackPropertyIdentifier(AttackPropertyIdentifier attackPropertyIdentifier)
Defines the Shield event property information that is provided.
|
AttackProperty |
withAttackPropertyIdentifier(String attackPropertyIdentifier)
Defines the Shield event property information that is provided.
|
AttackProperty |
withTopContributors(Collection<Contributor> topContributors)
Contributor objects for the top five contributors to a Shield event.
|
AttackProperty |
withTopContributors(Contributor... topContributors)
Contributor objects for the top five contributors to a Shield event.
|
AttackProperty |
withTotal(Long total)
The total contributions made to this Shield event by all contributors.
|
AttackProperty |
withUnit(String unit)
The unit used for the
Contributor Value property. |
AttackProperty |
withUnit(Unit unit)
The unit used for the
Contributor Value property. |
public void setAttackLayer(String attackLayer)
The type of Shield event that was observed. NETWORK
indicates layer 3 and layer 4 events and
APPLICATION
indicates layer 7 events.
For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
attackLayer
- The type of Shield event that was observed. NETWORK
indicates layer 3 and layer 4 events and
APPLICATION
indicates layer 7 events.
For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
AttackLayer
public String getAttackLayer()
The type of Shield event that was observed. NETWORK
indicates layer 3 and layer 4 events and
APPLICATION
indicates layer 7 events.
For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
NETWORK
indicates layer 3 and layer 4 events and
APPLICATION
indicates layer 7 events.
For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
AttackLayer
public AttackProperty withAttackLayer(String attackLayer)
The type of Shield event that was observed. NETWORK
indicates layer 3 and layer 4 events and
APPLICATION
indicates layer 7 events.
For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
attackLayer
- The type of Shield event that was observed. NETWORK
indicates layer 3 and layer 4 events and
APPLICATION
indicates layer 7 events.
For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
AttackLayer
public AttackProperty withAttackLayer(AttackLayer attackLayer)
The type of Shield event that was observed. NETWORK
indicates layer 3 and layer 4 events and
APPLICATION
indicates layer 7 events.
For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
attackLayer
- The type of Shield event that was observed. NETWORK
indicates layer 3 and layer 4 events and
APPLICATION
indicates layer 7 events.
For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
AttackLayer
public void setAttackPropertyIdentifier(String attackPropertyIdentifier)
Defines the Shield event property information that is provided. The WORDPRESS_PINGBACK_REFLECTOR
and
WORDPRESS_PINGBACK_SOURCE
values are valid only for WordPress reflective pingback events.
attackPropertyIdentifier
- Defines the Shield event property information that is provided. The
WORDPRESS_PINGBACK_REFLECTOR
and WORDPRESS_PINGBACK_SOURCE
values are valid only
for WordPress reflective pingback events.AttackPropertyIdentifier
public String getAttackPropertyIdentifier()
Defines the Shield event property information that is provided. The WORDPRESS_PINGBACK_REFLECTOR
and
WORDPRESS_PINGBACK_SOURCE
values are valid only for WordPress reflective pingback events.
WORDPRESS_PINGBACK_REFLECTOR
and WORDPRESS_PINGBACK_SOURCE
values are valid
only for WordPress reflective pingback events.AttackPropertyIdentifier
public AttackProperty withAttackPropertyIdentifier(String attackPropertyIdentifier)
Defines the Shield event property information that is provided. The WORDPRESS_PINGBACK_REFLECTOR
and
WORDPRESS_PINGBACK_SOURCE
values are valid only for WordPress reflective pingback events.
attackPropertyIdentifier
- Defines the Shield event property information that is provided. The
WORDPRESS_PINGBACK_REFLECTOR
and WORDPRESS_PINGBACK_SOURCE
values are valid only
for WordPress reflective pingback events.AttackPropertyIdentifier
public AttackProperty withAttackPropertyIdentifier(AttackPropertyIdentifier attackPropertyIdentifier)
Defines the Shield event property information that is provided. The WORDPRESS_PINGBACK_REFLECTOR
and
WORDPRESS_PINGBACK_SOURCE
values are valid only for WordPress reflective pingback events.
attackPropertyIdentifier
- Defines the Shield event property information that is provided. The
WORDPRESS_PINGBACK_REFLECTOR
and WORDPRESS_PINGBACK_SOURCE
values are valid only
for WordPress reflective pingback events.AttackPropertyIdentifier
public List<Contributor> getTopContributors()
Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.
public void setTopContributors(Collection<Contributor> topContributors)
Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.
topContributors
- Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic
that Shield Advanced identifies as responsible for some or all of an event.public AttackProperty withTopContributors(Contributor... topContributors)
Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.
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
- Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic
that Shield Advanced identifies as responsible for some or all of an event.public AttackProperty withTopContributors(Collection<Contributor> topContributors)
Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.
topContributors
- Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic
that Shield Advanced identifies as responsible for some or all of an event.public void setUnit(String unit)
The unit used for the Contributor
Value
property.
unit
- The unit used for the Contributor
Value
property.Unit
public String getUnit()
The unit used for the Contributor
Value
property.
Contributor
Value
property.Unit
public AttackProperty withUnit(String unit)
The unit used for the Contributor
Value
property.
unit
- The unit used for the Contributor
Value
property.Unit
public AttackProperty withUnit(Unit unit)
The unit used for the Contributor
Value
property.
unit
- The unit used for the Contributor
Value
property.Unit
public void setTotal(Long total)
The total contributions made to this Shield event by all contributors.
total
- The total contributions made to this Shield event by all contributors.public Long getTotal()
The total contributions made to this Shield event by all contributors.
public AttackProperty withTotal(Long total)
The total contributions made to this Shield event by all contributors.
total
- The total contributions made to this Shield event by all contributors.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.