@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectMitigationActionsTaskTarget extends Object implements Serializable, Cloneable, StructuredPojo
The target of a mitigation action task.
| Constructor and Description |
|---|
DetectMitigationActionsTaskTarget() |
| Modifier and Type | Method and Description |
|---|---|
DetectMitigationActionsTaskTarget |
clone() |
boolean |
equals(Object obj) |
String |
getBehaviorName()
The name of the behavior.
|
String |
getSecurityProfileName()
The name of the security profile.
|
List<String> |
getViolationIds()
The unique identifiers of the violations.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBehaviorName(String behaviorName)
The name of the behavior.
|
void |
setSecurityProfileName(String securityProfileName)
The name of the security profile.
|
void |
setViolationIds(Collection<String> violationIds)
The unique identifiers of the violations.
|
String |
toString()
Returns a string representation of this object.
|
DetectMitigationActionsTaskTarget |
withBehaviorName(String behaviorName)
The name of the behavior.
|
DetectMitigationActionsTaskTarget |
withSecurityProfileName(String securityProfileName)
The name of the security profile.
|
DetectMitigationActionsTaskTarget |
withViolationIds(Collection<String> violationIds)
The unique identifiers of the violations.
|
DetectMitigationActionsTaskTarget |
withViolationIds(String... violationIds)
The unique identifiers of the violations.
|
public List<String> getViolationIds()
The unique identifiers of the violations.
public void setViolationIds(Collection<String> violationIds)
The unique identifiers of the violations.
violationIds - The unique identifiers of the violations.public DetectMitigationActionsTaskTarget withViolationIds(String... violationIds)
The unique identifiers of the violations.
NOTE: This method appends the values to the existing list (if any). Use
setViolationIds(java.util.Collection) or withViolationIds(java.util.Collection) if you want to
override the existing values.
violationIds - The unique identifiers of the violations.public DetectMitigationActionsTaskTarget withViolationIds(Collection<String> violationIds)
The unique identifiers of the violations.
violationIds - The unique identifiers of the violations.public void setSecurityProfileName(String securityProfileName)
The name of the security profile.
securityProfileName - The name of the security profile.public String getSecurityProfileName()
The name of the security profile.
public DetectMitigationActionsTaskTarget withSecurityProfileName(String securityProfileName)
The name of the security profile.
securityProfileName - The name of the security profile.public void setBehaviorName(String behaviorName)
The name of the behavior.
behaviorName - The name of the behavior.public String getBehaviorName()
The name of the behavior.
public DetectMitigationActionsTaskTarget withBehaviorName(String behaviorName)
The name of the behavior.
behaviorName - The name of the behavior.public String toString()
toString in class ObjectObject.toString()public DetectMitigationActionsTaskTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.