@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.
|
List<AttackProperty> |
getAttackProperties()
The array of AttackProperty objects.
|
Date |
getEndTime()
The time the attack ended, in Unix time in seconds.
|
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 Unix time in seconds.
|
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 |
setAttackProperties(Collection<AttackProperty> attackProperties)
The array of AttackProperty objects.
|
void |
setEndTime(Date endTime)
The time the attack ended, in Unix time in seconds.
|
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 Unix time in seconds.
|
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.
|
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 |
withAttackProperties(AttackProperty... attackProperties)
The array of AttackProperty objects.
|
AttackDetail |
withAttackProperties(Collection<AttackProperty> attackProperties)
The array of AttackProperty objects.
|
AttackDetail |
withEndTime(Date endTime)
The time the attack ended, in Unix time in seconds.
|
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 Unix time in seconds.
|
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 Unix time in seconds. For more information see timestamp.
startTime
- The time the attack started, in Unix time in seconds. For more information see timestamp.public Date getStartTime()
The time the attack started, in Unix time in seconds. For more information see timestamp.
public AttackDetail withStartTime(Date startTime)
The time the attack started, in Unix time in seconds. For more information see timestamp.
startTime
- The time the attack started, in Unix time in seconds. For more information see timestamp.public void setEndTime(Date endTime)
The time the attack ended, in Unix time in seconds. For more information see timestamp.
endTime
- The time the attack ended, in Unix time in seconds. For more information see timestamp.public Date getEndTime()
The time the attack ended, in Unix time in seconds. For more information see timestamp.
public AttackDetail withEndTime(Date endTime)
The time the attack ended, in Unix time in seconds. For more information see timestamp.
endTime
- The time the attack ended, in Unix time in seconds. For more information see timestamp.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<AttackProperty> getAttackProperties()
The array of AttackProperty objects.
public void setAttackProperties(Collection<AttackProperty> attackProperties)
The array of AttackProperty objects.
attackProperties
- The array of AttackProperty objects.public AttackDetail withAttackProperties(AttackProperty... attackProperties)
The array of AttackProperty objects.
NOTE: This method appends the values to the existing list (if any). Use
setAttackProperties(java.util.Collection)
or withAttackProperties(java.util.Collection)
if you
want to override the existing values.
attackProperties
- The array of AttackProperty objects.public AttackDetail withAttackProperties(Collection<AttackProperty> attackProperties)
The array of AttackProperty objects.
attackProperties
- The array of AttackProperty objects.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.