public class ListViolationEventsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior, or thing (device).
Constructor and Description |
---|
ListViolationEventsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBehaviorCriteriaType()
The criteria for a behavior.
|
java.util.Date |
getEndTime()
The end time for the alerts to be listed.
|
java.lang.Boolean |
getListSuppressedAlerts()
A list of all suppressed alerts.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return at one time.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
java.lang.String |
getSecurityProfileName()
A filter to limit results to those alerts generated by the specified
security profile.
|
java.util.Date |
getStartTime()
The start time for the alerts to be listed.
|
java.lang.String |
getThingName()
A filter to limit results to those alerts caused by the specified thing.
|
int |
hashCode() |
java.lang.Boolean |
isListSuppressedAlerts()
A list of all suppressed alerts.
|
void |
setBehaviorCriteriaType(BehaviorCriteriaType behaviorCriteriaType)
The criteria for a behavior.
|
void |
setBehaviorCriteriaType(java.lang.String behaviorCriteriaType)
The criteria for a behavior.
|
void |
setEndTime(java.util.Date endTime)
The end time for the alerts to be listed.
|
void |
setListSuppressedAlerts(java.lang.Boolean listSuppressedAlerts)
A list of all suppressed alerts.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
void |
setSecurityProfileName(java.lang.String securityProfileName)
A filter to limit results to those alerts generated by the specified
security profile.
|
void |
setStartTime(java.util.Date startTime)
The start time for the alerts to be listed.
|
void |
setThingName(java.lang.String thingName)
A filter to limit results to those alerts caused by the specified thing.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListViolationEventsRequest |
withBehaviorCriteriaType(BehaviorCriteriaType behaviorCriteriaType)
The criteria for a behavior.
|
ListViolationEventsRequest |
withBehaviorCriteriaType(java.lang.String behaviorCriteriaType)
The criteria for a behavior.
|
ListViolationEventsRequest |
withEndTime(java.util.Date endTime)
The end time for the alerts to be listed.
|
ListViolationEventsRequest |
withListSuppressedAlerts(java.lang.Boolean listSuppressedAlerts)
A list of all suppressed alerts.
|
ListViolationEventsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
|
ListViolationEventsRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
ListViolationEventsRequest |
withSecurityProfileName(java.lang.String securityProfileName)
A filter to limit results to those alerts generated by the specified
security profile.
|
ListViolationEventsRequest |
withStartTime(java.util.Date startTime)
The start time for the alerts to be listed.
|
ListViolationEventsRequest |
withThingName(java.lang.String thingName)
A filter to limit results to those alerts caused by the specified thing.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.Date getStartTime()
The start time for the alerts to be listed.
The start time for the alerts to be listed.
public void setStartTime(java.util.Date startTime)
The start time for the alerts to be listed.
startTime
- The start time for the alerts to be listed.
public ListViolationEventsRequest withStartTime(java.util.Date startTime)
The start time for the alerts to be listed.
Returns a reference to this object so that method calls can be chained together.
startTime
- The start time for the alerts to be listed.
public java.util.Date getEndTime()
The end time for the alerts to be listed.
The end time for the alerts to be listed.
public void setEndTime(java.util.Date endTime)
The end time for the alerts to be listed.
endTime
- The end time for the alerts to be listed.
public ListViolationEventsRequest withEndTime(java.util.Date endTime)
The end time for the alerts to be listed.
Returns a reference to this object so that method calls can be chained together.
endTime
- The end time for the alerts to be listed.
public java.lang.String getThingName()
A filter to limit results to those alerts caused by the specified thing.
Constraints:
Length: 1 - 128
A filter to limit results to those alerts caused by the specified thing.
public void setThingName(java.lang.String thingName)
A filter to limit results to those alerts caused by the specified thing.
Constraints:
Length: 1 - 128
thingName
- A filter to limit results to those alerts caused by the specified thing.
public ListViolationEventsRequest withThingName(java.lang.String thingName)
A filter to limit results to those alerts caused by the specified thing.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
thingName
- A filter to limit results to those alerts caused by the specified thing.
public java.lang.String getSecurityProfileName()
A filter to limit results to those alerts generated by the specified security profile.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
A filter to limit results to those alerts generated by the specified security profile.
public void setSecurityProfileName(java.lang.String securityProfileName)
A filter to limit results to those alerts generated by the specified security profile.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
securityProfileName
- A filter to limit results to those alerts generated by the specified security profile.
public ListViolationEventsRequest withSecurityProfileName(java.lang.String securityProfileName)
A filter to limit results to those alerts generated by the specified 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
- A filter to limit results to those alerts generated by the specified security profile.
public java.lang.String getBehaviorCriteriaType()
The criteria for a behavior.
Constraints:
Allowed Values: STATIC, STATISTICAL, MACHINE_LEARNING
The criteria for a behavior.
BehaviorCriteriaType
public void setBehaviorCriteriaType(java.lang.String behaviorCriteriaType)
The criteria for a behavior.
Constraints:
Allowed Values: STATIC, STATISTICAL, MACHINE_LEARNING
behaviorCriteriaType
- The criteria for a behavior.
BehaviorCriteriaType
public ListViolationEventsRequest withBehaviorCriteriaType(java.lang.String behaviorCriteriaType)
The criteria for a behavior.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STATIC, STATISTICAL, MACHINE_LEARNING
behaviorCriteriaType
- The criteria for a behavior.
BehaviorCriteriaType
public void setBehaviorCriteriaType(BehaviorCriteriaType behaviorCriteriaType)
The criteria for a behavior.
Constraints:
Allowed Values: STATIC, STATISTICAL, MACHINE_LEARNING
behaviorCriteriaType
- The criteria for a behavior.
BehaviorCriteriaType
public ListViolationEventsRequest withBehaviorCriteriaType(BehaviorCriteriaType behaviorCriteriaType)
The criteria for a behavior.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STATIC, STATISTICAL, MACHINE_LEARNING
behaviorCriteriaType
- The criteria for a behavior.
BehaviorCriteriaType
public java.lang.Boolean isListSuppressedAlerts()
A list of all suppressed alerts.
A list of all suppressed alerts.
public java.lang.Boolean getListSuppressedAlerts()
A list of all suppressed alerts.
A list of all suppressed alerts.
public void setListSuppressedAlerts(java.lang.Boolean listSuppressedAlerts)
A list of all suppressed alerts.
listSuppressedAlerts
- A list of all suppressed alerts.
public ListViolationEventsRequest withListSuppressedAlerts(java.lang.Boolean listSuppressedAlerts)
A list of all suppressed alerts.
Returns a reference to this object so that method calls can be chained together.
listSuppressedAlerts
- A list of all suppressed alerts.
public java.lang.String getNextToken()
The token for the next set of results.
The token for the next set of results.
public void setNextToken(java.lang.String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.
public ListViolationEventsRequest withNextToken(java.lang.String nextToken)
The token for the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token for the next set of results.
public java.lang.Integer getMaxResults()
The maximum number of results to return at one time.
Constraints:
Range: 1 - 250
The maximum number of results to return at one time.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
Constraints:
Range: 1 - 250
maxResults
- The maximum number of results to return at one time.
public ListViolationEventsRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 250
maxResults
- The maximum number of results to return at one time.
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.