@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListViolationEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListViolationEventsResult() |
Modifier and Type | Method and Description |
---|---|
ListViolationEventsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
List<ViolationEvent> |
getViolationEvents()
The security profile violation alerts issued for this account during the given time period, potentially filtered
by security profile, behavior violated, or thing (device) violating.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
void |
setViolationEvents(Collection<ViolationEvent> violationEvents)
The security profile violation alerts issued for this account during the given time period, potentially filtered
by security profile, behavior violated, or thing (device) violating.
|
String |
toString()
Returns a string representation of this object.
|
ListViolationEventsResult |
withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
ListViolationEventsResult |
withViolationEvents(Collection<ViolationEvent> violationEvents)
The security profile violation alerts issued for this account during the given time period, potentially filtered
by security profile, behavior violated, or thing (device) violating.
|
ListViolationEventsResult |
withViolationEvents(ViolationEvent... violationEvents)
The security profile violation alerts issued for this account during the given time period, potentially filtered
by security profile, behavior violated, or thing (device) violating.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ViolationEvent> getViolationEvents()
The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.
public void setViolationEvents(Collection<ViolationEvent> violationEvents)
The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.
violationEvents
- The security profile violation alerts issued for this account during the given time period, potentially
filtered by security profile, behavior violated, or thing (device) violating.public ListViolationEventsResult withViolationEvents(ViolationEvent... violationEvents)
The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.
NOTE: This method appends the values to the existing list (if any). Use
setViolationEvents(java.util.Collection)
or withViolationEvents(java.util.Collection)
if you
want to override the existing values.
violationEvents
- The security profile violation alerts issued for this account during the given time period, potentially
filtered by security profile, behavior violated, or thing (device) violating.public ListViolationEventsResult withViolationEvents(Collection<ViolationEvent> violationEvents)
The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.
violationEvents
- The security profile violation alerts issued for this account during the given time period, potentially
filtered by security profile, behavior violated, or thing (device) violating.public void setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no
additional results.public String getNextToken()
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
null
if there are no
additional results.public ListViolationEventsResult withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no
additional results.public String toString()
toString
in class Object
Object.toString()
public ListViolationEventsResult clone()