@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttackDetail extends Object implements Serializable, Cloneable, StructuredPojo
The details of a DDoS attack.
Constructor and Description |
---|
AttackDetail() |
Modifier and Type | Method and Description |
---|---|
AttackDetail |
clone() |
boolean |
equals(Object obj) |
List<SummarizedCounter> |
getAttackCounters()
List of counters that describe the attack for the specified time period.
|
String |
getAttackId()
The unique identifier (ID) of the attack.
|
Date |
getEndTime()
The time the attack ended, in the format 2016-12-16T13:50Z.
|
List<Mitigation> |
getMitigations()
List of mitigation actions taken for the attack.
|
String |
getResourceArn()
The ARN (Amazon Resource Name) of the resource that was attacked.
|
Date |
getStartTime()
The time the attack started, in the format 2016-12-16T13:50Z.
|
List<SubResourceSummary> |
getSubResources()
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttackCounters(Collection<SummarizedCounter> attackCounters)
List of counters that describe the attack for the specified time period.
|
void |
setAttackId(String attackId)
The unique identifier (ID) of the attack.
|
void |
setEndTime(Date endTime)
The time the attack ended, in the format 2016-12-16T13:50Z.
|
void |
setMitigations(Collection<Mitigation> mitigations)
List of mitigation actions taken for the attack.
|
void |
setResourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource that was attacked.
|
void |
setStartTime(Date startTime)
The time the attack started, in the format 2016-12-16T13:50Z.
|
void |
setSubResources(Collection<SubResourceSummary> subResources)
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AttackDetail |
withAttackCounters(Collection<SummarizedCounter> attackCounters)
List of counters that describe the attack for the specified time period.
|
AttackDetail |
withAttackCounters(SummarizedCounter... attackCounters)
List of counters that describe the attack for the specified time period.
|
AttackDetail |
withAttackId(String attackId)
The unique identifier (ID) of the attack.
|
AttackDetail |
withEndTime(Date endTime)
The time the attack ended, in the format 2016-12-16T13:50Z.
|
AttackDetail |
withMitigations(Collection<Mitigation> mitigations)
List of mitigation actions taken for the attack.
|
AttackDetail |
withMitigations(Mitigation... mitigations)
List of mitigation actions taken for the attack.
|
AttackDetail |
withResourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource that was attacked.
|
AttackDetail |
withStartTime(Date startTime)
The time the attack started, in the format 2016-12-16T13:50Z.
|
AttackDetail |
withSubResources(Collection<SubResourceSummary> subResources)
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
|
AttackDetail |
withSubResources(SubResourceSummary... subResources)
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
|
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 AttackDetail 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 AttackDetail 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 List<SubResourceSummary> getSubResources()
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
public void setSubResources(Collection<SubResourceSummary> subResources)
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
subResources
- If applicable, additional detail about the resource being attacked, for example, IP address or URL.public AttackDetail withSubResources(SubResourceSummary... subResources)
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
NOTE: This method appends the values to the existing list (if any). Use
setSubResources(java.util.Collection)
or withSubResources(java.util.Collection)
if you want to
override the existing values.
subResources
- If applicable, additional detail about the resource being attacked, for example, IP address or URL.public AttackDetail withSubResources(Collection<SubResourceSummary> subResources)
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
subResources
- If applicable, additional detail about the resource being attacked, for example, IP address or URL.public void setStartTime(Date startTime)
The time the attack started, in the format 2016-12-16T13:50Z.
startTime
- The time the attack started, in the format 2016-12-16T13:50Z.public Date getStartTime()
The time the attack started, in the format 2016-12-16T13:50Z.
public AttackDetail withStartTime(Date startTime)
The time the attack started, in the format 2016-12-16T13:50Z.
startTime
- The time the attack started, in the format 2016-12-16T13:50Z.public void setEndTime(Date endTime)
The time the attack ended, in the format 2016-12-16T13:50Z.
endTime
- The time the attack ended, in the format 2016-12-16T13:50Z.public Date getEndTime()
The time the attack ended, in the format 2016-12-16T13:50Z.
public AttackDetail withEndTime(Date endTime)
The time the attack ended, in the format 2016-12-16T13:50Z.
endTime
- The time the attack ended, in the format 2016-12-16T13:50Z.public List<SummarizedCounter> getAttackCounters()
List of counters that describe the attack for the specified time period.
public void setAttackCounters(Collection<SummarizedCounter> attackCounters)
List of counters that describe the attack for the specified time period.
attackCounters
- List of counters that describe the attack for the specified time period.public AttackDetail withAttackCounters(SummarizedCounter... attackCounters)
List of counters that describe the attack for the specified time period.
NOTE: This method appends the values to the existing list (if any). Use
setAttackCounters(java.util.Collection)
or withAttackCounters(java.util.Collection)
if you want
to override the existing values.
attackCounters
- List of counters that describe the attack for the specified time period.public AttackDetail withAttackCounters(Collection<SummarizedCounter> attackCounters)
List of counters that describe the attack for the specified time period.
attackCounters
- List of counters that describe the attack for the specified time period.public List<Mitigation> getMitigations()
List of mitigation actions taken for the attack.
public void setMitigations(Collection<Mitigation> mitigations)
List of mitigation actions taken for the attack.
mitigations
- List of mitigation actions taken for the attack.public AttackDetail withMitigations(Mitigation... mitigations)
List of mitigation actions taken for the attack.
NOTE: This method appends the values to the existing list (if any). Use
setMitigations(java.util.Collection)
or withMitigations(java.util.Collection)
if you want to
override the existing values.
mitigations
- List of mitigation actions taken for the attack.public AttackDetail withMitigations(Collection<Mitigation> mitigations)
List of mitigation actions taken for the attack.
mitigations
- List of mitigation actions taken for the attack.public String toString()
toString
in class Object
Object.toString()
public AttackDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.