@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttackSummary extends Object implements Serializable, Cloneable, StructuredPojo
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 Unix time in seconds.
|
String |
getResourceArn()
The ARN (Amazon Resource Name) of the resource that was attacked.
|
Date |
getStartTime()
The start time of the attack, in Unix time in seconds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 Unix time in seconds.
|
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 Unix time in seconds.
|
String |
toString()
Returns a string representation of this object.
|
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 Unix time in seconds.
|
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 Unix time in seconds.
|
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 Unix time in seconds.
startTime
- The start time of the attack, in Unix time in seconds.public Date getStartTime()
The start time of the attack, in Unix time in seconds.
public AttackSummary withStartTime(Date startTime)
The start time of the attack, in Unix time in seconds.
startTime
- The start time of the attack, in Unix time in seconds.public void setEndTime(Date endTime)
The end time of the attack, in Unix time in seconds.
endTime
- The end time of the attack, in Unix time in seconds.public Date getEndTime()
The end time of the attack, in Unix time in seconds.
public AttackSummary withEndTime(Date endTime)
The end time of the attack, in Unix time in seconds.
endTime
- The end time of the attack, in Unix time in seconds.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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.