public class DetectMitigationActionsTaskTarget
extends java.lang.Object
implements java.io.Serializable
The target of a mitigation action task.
Constructor and Description |
---|
DetectMitigationActionsTaskTarget() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBehaviorName()
The name of the behavior.
|
java.lang.String |
getSecurityProfileName()
The name of the security profile.
|
java.util.List<java.lang.String> |
getViolationIds()
The unique identifiers of the violations.
|
int |
hashCode() |
void |
setBehaviorName(java.lang.String behaviorName)
The name of the behavior.
|
void |
setSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
|
void |
setViolationIds(java.util.Collection<java.lang.String> violationIds)
The unique identifiers of the violations.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectMitigationActionsTaskTarget |
withBehaviorName(java.lang.String behaviorName)
The name of the behavior.
|
DetectMitigationActionsTaskTarget |
withSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
|
DetectMitigationActionsTaskTarget |
withViolationIds(java.util.Collection<java.lang.String> violationIds)
The unique identifiers of the violations.
|
DetectMitigationActionsTaskTarget |
withViolationIds(java.lang.String... violationIds)
The unique identifiers of the violations.
|
public java.util.List<java.lang.String> getViolationIds()
The unique identifiers of the violations.
The unique identifiers of the violations.
public void setViolationIds(java.util.Collection<java.lang.String> violationIds)
The unique identifiers of the violations.
violationIds
- The unique identifiers of the violations.
public DetectMitigationActionsTaskTarget withViolationIds(java.lang.String... violationIds)
The unique identifiers of the violations.
Returns a reference to this object so that method calls can be chained together.
violationIds
- The unique identifiers of the violations.
public DetectMitigationActionsTaskTarget withViolationIds(java.util.Collection<java.lang.String> violationIds)
The unique identifiers of the violations.
Returns a reference to this object so that method calls can be chained together.
violationIds
- The unique identifiers of the violations.
public java.lang.String getSecurityProfileName()
The name of the security profile.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the security profile.
public void setSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
securityProfileName
- The name of the security profile.
public DetectMitigationActionsTaskTarget withSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
securityProfileName
- The name of the security profile.
public java.lang.String getBehaviorName()
The name of the behavior.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the behavior.
public void setBehaviorName(java.lang.String behaviorName)
The name of the behavior.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
behaviorName
- The name of the behavior.
public DetectMitigationActionsTaskTarget withBehaviorName(java.lang.String behaviorName)
The name of the behavior.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
behaviorName
- The name of the behavior.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.