public class ListActiveViolationsResult extends Object implements Serializable
| Constructor and Description |
|---|
ListActiveViolationsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<ActiveViolation> |
getActiveViolations()
The list of active violations.
|
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(Collection<ActiveViolation> activeViolations)
The list of active violations.
|
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. |
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(Collection<ActiveViolation> activeViolations)
The list of active violations.
|
ListActiveViolationsResult |
withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional results. |
public List<ActiveViolation> getActiveViolations()
The list of active violations.
The list of active violations.
public void setActiveViolations(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(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 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(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(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 String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.