@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartDetectMitigationActionsTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartDetectMitigationActionsTaskRequest() |
Modifier and Type | Method and Description |
---|---|
StartDetectMitigationActionsTaskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getActions()
The actions to be performed when a device has unexpected behavior.
|
String |
getClientRequestToken()
Each mitigation action task must have a unique client request token.
|
Boolean |
getIncludeOnlyActiveViolations()
Specifies to list only active violations.
|
Boolean |
getIncludeSuppressedAlerts()
Specifies to include suppressed alerts.
|
DetectMitigationActionsTaskTarget |
getTarget()
Specifies the ML Detect findings to which the mitigation actions are applied.
|
String |
getTaskId()
The unique identifier of the task.
|
ViolationEventOccurrenceRange |
getViolationEventOccurrenceRange()
Specifies the time period of which violation events occurred between.
|
int |
hashCode() |
Boolean |
isIncludeOnlyActiveViolations()
Specifies to list only active violations.
|
Boolean |
isIncludeSuppressedAlerts()
Specifies to include suppressed alerts.
|
void |
setActions(Collection<String> actions)
The actions to be performed when a device has unexpected behavior.
|
void |
setClientRequestToken(String clientRequestToken)
Each mitigation action task must have a unique client request token.
|
void |
setIncludeOnlyActiveViolations(Boolean includeOnlyActiveViolations)
Specifies to list only active violations.
|
void |
setIncludeSuppressedAlerts(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(String taskId)
The unique identifier of the task.
|
void |
setViolationEventOccurrenceRange(ViolationEventOccurrenceRange violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
|
String |
toString()
Returns a string representation of this object.
|
StartDetectMitigationActionsTaskRequest |
withActions(Collection<String> actions)
The actions to be performed when a device has unexpected behavior.
|
StartDetectMitigationActionsTaskRequest |
withActions(String... actions)
The actions to be performed when a device has unexpected behavior.
|
StartDetectMitigationActionsTaskRequest |
withClientRequestToken(String clientRequestToken)
Each mitigation action task must have a unique client request token.
|
StartDetectMitigationActionsTaskRequest |
withIncludeOnlyActiveViolations(Boolean includeOnlyActiveViolations)
Specifies to list only active violations.
|
StartDetectMitigationActionsTaskRequest |
withIncludeSuppressedAlerts(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(String taskId)
The unique identifier of the task.
|
StartDetectMitigationActionsTaskRequest |
withViolationEventOccurrenceRange(ViolationEventOccurrenceRange violationEventOccurrenceRange)
Specifies the time period of which violation events occurred between.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public StartDetectMitigationActionsTaskRequest()
public void setTaskId(String taskId)
The unique identifier of the task.
taskId
- The unique identifier of the task.public String getTaskId()
The unique identifier of the task.
public StartDetectMitigationActionsTaskRequest withTaskId(String taskId)
The unique identifier of the task.
taskId
- The unique identifier of the task.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 DetectMitigationActionsTaskTarget getTarget()
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.
target
- Specifies the ML Detect findings to which the mitigation actions are applied.public List<String> getActions()
The actions to be performed when a device has unexpected behavior.
public void setActions(Collection<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(String... actions)
The actions to be performed when a device has unexpected behavior.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection)
or withActions(java.util.Collection)
if you want to override
the existing values.
actions
- The actions to be performed when a device has unexpected behavior.public StartDetectMitigationActionsTaskRequest withActions(Collection<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 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 ViolationEventOccurrenceRange getViolationEventOccurrenceRange()
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.
violationEventOccurrenceRange
- Specifies the time period of which violation events occurred between.public void setIncludeOnlyActiveViolations(Boolean includeOnlyActiveViolations)
Specifies to list only active violations.
includeOnlyActiveViolations
- Specifies to list only active violations.public Boolean getIncludeOnlyActiveViolations()
Specifies to list only active violations.
public StartDetectMitigationActionsTaskRequest withIncludeOnlyActiveViolations(Boolean includeOnlyActiveViolations)
Specifies to list only active violations.
includeOnlyActiveViolations
- Specifies to list only active violations.public Boolean isIncludeOnlyActiveViolations()
Specifies to list only active violations.
public void setIncludeSuppressedAlerts(Boolean includeSuppressedAlerts)
Specifies to include suppressed alerts.
includeSuppressedAlerts
- Specifies to include suppressed alerts.public Boolean getIncludeSuppressedAlerts()
Specifies to include suppressed alerts.
public StartDetectMitigationActionsTaskRequest withIncludeSuppressedAlerts(Boolean includeSuppressedAlerts)
Specifies to include suppressed alerts.
includeSuppressedAlerts
- Specifies to include suppressed alerts.public Boolean isIncludeSuppressedAlerts()
Specifies to include suppressed alerts.
public void setClientRequestToken(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, Amazon Web Services SDKs will automatically generate a unique client request.
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, Amazon Web
Services SDKs will automatically generate a unique client request.public 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, Amazon Web Services SDKs will automatically generate a unique client request.
public StartDetectMitigationActionsTaskRequest withClientRequestToken(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, Amazon Web Services SDKs will automatically generate a unique client request.
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, Amazon Web
Services SDKs will automatically generate a unique client request.public String toString()
toString
in class Object
Object.toString()
public StartDetectMitigationActionsTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()