public class AttackSummary extends Object implements Serializable, Cloneable
Summarizes all DDoS attacks for a specified time period.
Constructor and Description |
---|
AttackSummary() |
Modifier and Type | Method and Description |
---|---|
AttackSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAttackId()
The unique identifier (ID) of the attack.
|
List<AttackVectorDescription> |
getAttackVectors()
The list of attacks for a specified time period.
|
Date |
getEndTime()
The end time of the attack, in the format 2016-12-16T13:50Z.
|
String |
getResourceArn()
The ARN (Amazon Resource Name) of the resource that was attacked.
|
Date |
getStartTime()
The start time of the attack, in the format 2016-12-16T13:50Z.
|
int |
hashCode() |
void |
setAttackId(String attackId)
The unique identifier (ID) of the attack.
|
void |
setAttackVectors(Collection<AttackVectorDescription> attackVectors)
The list of attacks for a specified time period.
|
void |
setEndTime(Date endTime)
The end time of the attack, in the format 2016-12-16T13:50Z.
|
void |
setResourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource that was attacked.
|
void |
setStartTime(Date startTime)
The start time of the attack, in the format 2016-12-16T13:50Z.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AttackSummary |
withAttackId(String attackId)
The unique identifier (ID) of the attack.
|
AttackSummary |
withAttackVectors(AttackVectorDescription... attackVectors)
The list of attacks for a specified time period.
|
AttackSummary |
withAttackVectors(Collection<AttackVectorDescription> attackVectors)
The list of attacks for a specified time period.
|
AttackSummary |
withEndTime(Date endTime)
The end time of the attack, in the format 2016-12-16T13:50Z.
|
AttackSummary |
withResourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource that was attacked.
|
AttackSummary |
withStartTime(Date startTime)
The start time of the attack, in the format 2016-12-16T13:50Z.
|
public void setAttackId(String attackId)
The unique identifier (ID) of the attack.
attackId
- The unique identifier (ID) of the attack.public String getAttackId()
The unique identifier (ID) of the attack.
public AttackSummary withAttackId(String attackId)
The unique identifier (ID) of the attack.
attackId
- The unique identifier (ID) of the attack.public void setResourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource that was attacked.
resourceArn
- The ARN (Amazon Resource Name) of the resource that was attacked.public String getResourceArn()
The ARN (Amazon Resource Name) of the resource that was attacked.
public AttackSummary withResourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource that was attacked.
resourceArn
- The ARN (Amazon Resource Name) of the resource that was attacked.public void setStartTime(Date startTime)
The start time of the attack, in the format 2016-12-16T13:50Z.
startTime
- The start time of the attack, in the format 2016-12-16T13:50Z.public Date getStartTime()
The start time of the attack, in the format 2016-12-16T13:50Z.
public AttackSummary withStartTime(Date startTime)
The start time of the attack, in the format 2016-12-16T13:50Z.
startTime
- The start time of the attack, in the format 2016-12-16T13:50Z.public void setEndTime(Date endTime)
The end time of the attack, in the format 2016-12-16T13:50Z.
endTime
- The end time of the attack, in the format 2016-12-16T13:50Z.public Date getEndTime()
The end time of the attack, in the format 2016-12-16T13:50Z.
public AttackSummary withEndTime(Date endTime)
The end time of the attack, in the format 2016-12-16T13:50Z.
endTime
- The end time of the attack, in the format 2016-12-16T13:50Z.public List<AttackVectorDescription> getAttackVectors()
The list of attacks for a specified time period.
public void setAttackVectors(Collection<AttackVectorDescription> attackVectors)
The list of attacks for a specified time period.
attackVectors
- The list of attacks for a specified time period.public AttackSummary withAttackVectors(AttackVectorDescription... attackVectors)
The list of attacks for a specified time period.
NOTE: This method appends the values to the existing list (if any). Use
setAttackVectors(java.util.Collection)
or withAttackVectors(java.util.Collection)
if you want
to override the existing values.
attackVectors
- The list of attacks for a specified time period.public AttackSummary withAttackVectors(Collection<AttackVectorDescription> attackVectors)
The list of attacks for a specified time period.
attackVectors
- The list of attacks for a specified time period.public String toString()
toString
in class Object
Object.toString()
public AttackSummary clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.