public class ListActiveViolationsResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ListActiveViolationsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<ActiveViolation> |
getActiveViolations()
The list of active violations.
|
java.lang.String |
getNextToken()
A token that can be used to retrieve the next set of results, or
null if there are no additional results. |
int |
hashCode() |
void |
setActiveViolations(java.util.Collection<ActiveViolation> activeViolations)
The list of active violations.
|
void |
setNextToken(java.lang.String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional results. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListActiveViolationsResult |
withActiveViolations(ActiveViolation... activeViolations)
The list of active violations.
|
ListActiveViolationsResult |
withActiveViolations(java.util.Collection<ActiveViolation> activeViolations)
The list of active violations.
|
ListActiveViolationsResult |
withNextToken(java.lang.String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional results. |
public java.util.List<ActiveViolation> getActiveViolations()
The list of active violations.
The list of active violations.
public void setActiveViolations(java.util.Collection<ActiveViolation> activeViolations)
The list of active violations.
activeViolations - The list of active violations.
public ListActiveViolationsResult withActiveViolations(ActiveViolation... activeViolations)
The list of active violations.
Returns a reference to this object so that method calls can be chained together.
activeViolations - The list of active violations.
public ListActiveViolationsResult withActiveViolations(java.util.Collection<ActiveViolation> activeViolations)
The list of active violations.
Returns a reference to this object so that method calls can be chained together.
activeViolations - The list of active violations.
public java.lang.String getNextToken()
A token that can be used to retrieve the next set of results, or
null if there are no additional results.
A token that can be used to retrieve the next set of results, or
null if there are no additional results.
public void setNextToken(java.lang.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 ListActiveViolationsResult withNextToken(java.lang.String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional results.
Returns a reference to this object so that method calls can be chained together.
nextToken -
A token that can be used to retrieve the next set of results,
or null if there are no additional results.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.