public class StartDetectMitigationActionsTaskRequest extends AmazonWebServiceRequest implements java.io.Serializable
Starts a Device Defender ML Detect mitigation actions task.
Constructor and Description |
---|
StartDetectMitigationActionsTaskRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getActions()
The actions to be performed when a device has unexpected behavior.
|
java.lang.String |
getClientRequestToken()
Each mitigation action task must have a unique client request token.
|
java.lang.Boolean |
getIncludeOnlyActiveViolations()
Specifies to list only active violations.
|
java.lang.Boolean |
getIncludeSuppressedAlerts()
Specifies to include suppressed alerts.
|
DetectMitigationActionsTaskTarget |
getTarget()
Specifies the ML Detect findings to which the mitigation actions are
applied.
|
java.lang.String |
getTaskId()
The unique identifier of the task.
|
ViolationEventOccurrenceRange |
getViolationEventOccurrenceRange()
Specifies the time period of which violation events occurred between.
|
int |
hashCode() |
java.lang.Boolean |
isIncludeOnlyActiveViolations()
Specifies to list only active violations.
|
java.lang.Boolean |
isIncludeSuppressedAlerts()
Specifies to include suppressed alerts.
|
void |
setActions(java.util.Collection<java.lang.String> actions)
The actions to be performed when a device has unexpected behavior.
|
void |
setClientRequestToken(java.lang.String clientRequestToken)
Each mitigation action task must have a unique client request token.
|
void |
setIncludeOnlyActiveViolations(java.lang.Boolean includeOnlyActiveViolations)
Specifies to list only active violations.
|
void |
setIncludeSuppressedAlerts(java.lang.Boolean includeSuppressedAlerts)
Specifies to include suppressed alerts.
|
void |
setTarget(DetectMitigationActionsTaskTarget target)
Specifies the ML Detect findings to which the mitigation actions are
applied.
|
void |
setTaskId(java.lang.String taskId)
The unique identifier of the task.
|
void |
setViolationEventOccurrenceRange(ViolationEventOccurrenceRange violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartDetectMitigationActionsTaskRequest |
withActions(java.util.Collection<java.lang.String> actions)
The actions to be performed when a device has unexpected behavior.
|
StartDetectMitigationActionsTaskRequest |
withActions(java.lang.String... actions)
The actions to be performed when a device has unexpected behavior.
|
StartDetectMitigationActionsTaskRequest |
withClientRequestToken(java.lang.String clientRequestToken)
Each mitigation action task must have a unique client request token.
|
StartDetectMitigationActionsTaskRequest |
withIncludeOnlyActiveViolations(java.lang.Boolean includeOnlyActiveViolations)
Specifies to list only active violations.
|
StartDetectMitigationActionsTaskRequest |
withIncludeSuppressedAlerts(java.lang.Boolean includeSuppressedAlerts)
Specifies to include suppressed alerts.
|
StartDetectMitigationActionsTaskRequest |
withTarget(DetectMitigationActionsTaskTarget target)
Specifies the ML Detect findings to which the mitigation actions are
applied.
|
StartDetectMitigationActionsTaskRequest |
withTaskId(java.lang.String taskId)
The unique identifier of the task.
|
StartDetectMitigationActionsTaskRequest |
withViolationEventOccurrenceRange(ViolationEventOccurrenceRange violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public StartDetectMitigationActionsTaskRequest()
public java.lang.String getTaskId()
The unique identifier of the task.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The unique identifier of the task.
public void setTaskId(java.lang.String taskId)
The unique identifier of the task.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
taskId
- The unique identifier of the task.
public StartDetectMitigationActionsTaskRequest withTaskId(java.lang.String taskId)
The unique identifier of the task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
taskId
- The unique identifier of the task.
public DetectMitigationActionsTaskTarget getTarget()
Specifies the ML Detect findings to which the mitigation actions are applied.
Specifies the ML Detect findings to which the mitigation actions are applied.
public void setTarget(DetectMitigationActionsTaskTarget target)
Specifies the ML Detect findings to which the mitigation actions are applied.
target
- Specifies the ML Detect findings to which the mitigation actions are applied.
public StartDetectMitigationActionsTaskRequest withTarget(DetectMitigationActionsTaskTarget target)
Specifies the ML Detect findings to which the mitigation actions are applied.
Returns a reference to this object so that method calls can be chained together.
target
- Specifies the ML Detect findings to which the mitigation actions are applied.
public java.util.List<java.lang.String> getActions()
The actions to be performed when a device has unexpected behavior.
The actions to be performed when a device has unexpected behavior.
public void setActions(java.util.Collection<java.lang.String> actions)
The actions to be performed when a device has unexpected behavior.
actions
- The actions to be performed when a device has unexpected behavior.
public StartDetectMitigationActionsTaskRequest withActions(java.lang.String... actions)
The actions to be performed when a device has unexpected behavior.
Returns a reference to this object so that method calls can be chained together.
actions
- The actions to be performed when a device has unexpected behavior.
public StartDetectMitigationActionsTaskRequest withActions(java.util.Collection<java.lang.String> actions)
The actions to be performed when a device has unexpected behavior.
Returns a reference to this object so that method calls can be chained together.
actions
- The actions to be performed when a device has unexpected behavior.
public ViolationEventOccurrenceRange getViolationEventOccurrenceRange()
Specifies the time period of which violation events occurred between.
Specifies the time period of which violation events occurred between.
public void setViolationEventOccurrenceRange(ViolationEventOccurrenceRange violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
violationEventOccurrenceRange
- Specifies the time period of which violation events occurred between.
public StartDetectMitigationActionsTaskRequest withViolationEventOccurrenceRange(ViolationEventOccurrenceRange violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
Returns a reference to this object so that method calls can be chained together.
violationEventOccurrenceRange
- Specifies the time period of which violation events occurred between.
public java.lang.Boolean isIncludeOnlyActiveViolations()
Specifies to list only active violations.
Specifies to list only active violations.
public java.lang.Boolean getIncludeOnlyActiveViolations()
Specifies to list only active violations.
Specifies to list only active violations.
public void setIncludeOnlyActiveViolations(java.lang.Boolean includeOnlyActiveViolations)
Specifies to list only active violations.
includeOnlyActiveViolations
- Specifies to list only active violations.
public StartDetectMitigationActionsTaskRequest withIncludeOnlyActiveViolations(java.lang.Boolean includeOnlyActiveViolations)
Specifies to list only active violations.
Returns a reference to this object so that method calls can be chained together.
includeOnlyActiveViolations
- Specifies to list only active violations.
public java.lang.Boolean isIncludeSuppressedAlerts()
Specifies to include suppressed alerts.
Specifies to include suppressed alerts.
public java.lang.Boolean getIncludeSuppressedAlerts()
Specifies to include suppressed alerts.
Specifies to include suppressed alerts.
public void setIncludeSuppressedAlerts(java.lang.Boolean includeSuppressedAlerts)
Specifies to include suppressed alerts.
includeSuppressedAlerts
- Specifies to include suppressed alerts.
public StartDetectMitigationActionsTaskRequest withIncludeSuppressedAlerts(java.lang.Boolean includeSuppressedAlerts)
Specifies to include suppressed alerts.
Returns a reference to this object so that method calls can be chained together.
includeSuppressedAlerts
- Specifies to include suppressed alerts.
public java.lang.String getClientRequestToken()
Each mitigation action task must have a unique client request token. If you try to create a new task with the same token as a task that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
Constraints:
Length: 1 - 64
Pattern: ^[a-zA-Z0-9-_]+$
Each mitigation action task must have a unique client request token. If you try to create a new task with the same token as a task that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
public void setClientRequestToken(java.lang.String clientRequestToken)
Each mitigation action task must have a unique client request token. If you try to create a new task with the same token as a task that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
Constraints:
Length: 1 - 64
Pattern: ^[a-zA-Z0-9-_]+$
clientRequestToken
- Each mitigation action task must have a unique client request token. If you try to create a new task with the same token as a task that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
public StartDetectMitigationActionsTaskRequest withClientRequestToken(java.lang.String clientRequestToken)
Each mitigation action task must have a unique client request token. If you try to create a new task with the same token as a task that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: ^[a-zA-Z0-9-_]+$
clientRequestToken
- Each mitigation action task must have a unique client request token. If you try to create a new task with the same token as a task that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
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.