@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDetectorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDetectorsResult() |
Modifier and Type | Method and Description |
---|---|
ListDetectorsResult |
clone() |
boolean |
equals(Object obj) |
List<DetectorSummary> |
getDetectorSummaries()
A list of summary information about the detectors (instances).
|
String |
getNextToken()
The token that you can use to return the next set of results, or
null if there are no more results. |
int |
hashCode() |
void |
setDetectorSummaries(Collection<DetectorSummary> detectorSummaries)
A list of summary information about the detectors (instances).
|
void |
setNextToken(String nextToken)
The token that you can use to return the next set of results, or
null if there are no more results. |
String |
toString()
Returns a string representation of this object.
|
ListDetectorsResult |
withDetectorSummaries(Collection<DetectorSummary> detectorSummaries)
A list of summary information about the detectors (instances).
|
ListDetectorsResult |
withDetectorSummaries(DetectorSummary... detectorSummaries)
A list of summary information about the detectors (instances).
|
ListDetectorsResult |
withNextToken(String nextToken)
The token that you can use to return the next set of results, or
null if there are no more results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DetectorSummary> getDetectorSummaries()
A list of summary information about the detectors (instances).
public void setDetectorSummaries(Collection<DetectorSummary> detectorSummaries)
A list of summary information about the detectors (instances).
detectorSummaries
- A list of summary information about the detectors (instances).public ListDetectorsResult withDetectorSummaries(DetectorSummary... detectorSummaries)
A list of summary information about the detectors (instances).
NOTE: This method appends the values to the existing list (if any). Use
setDetectorSummaries(java.util.Collection)
or withDetectorSummaries(java.util.Collection)
if
you want to override the existing values.
detectorSummaries
- A list of summary information about the detectors (instances).public ListDetectorsResult withDetectorSummaries(Collection<DetectorSummary> detectorSummaries)
A list of summary information about the detectors (instances).
detectorSummaries
- A list of summary information about the detectors (instances).public void setNextToken(String nextToken)
The token that you can use to return the next set of results, or null
if there are no more results.
nextToken
- The token that you can use to return the next set of results, or null
if there are no more
results.public String getNextToken()
The token that you can use to return the next set of results, or null
if there are no more results.
null
if there are no more
results.public ListDetectorsResult withNextToken(String nextToken)
The token that you can use to return the next set of results, or null
if there are no more results.
nextToken
- The token that you can use to return the next set of results, or null
if there are no more
results.public String toString()
toString
in class Object
Object.toString()
public ListDetectorsResult clone()