@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()
A token to retrieve the next set of results, or
null if there are no additional results. |
int |
hashCode() |
void |
setDetectorSummaries(Collection<DetectorSummary> detectorSummaries)
A list of summary information about the detectors (instances).
|
void |
setNextToken(String nextToken)
A token to retrieve the next set of results, or
null if there are no additional 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)
A token to retrieve the next set of results, or
null if there are no additional 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)
A token to retrieve the next set of results, or null
if there are no additional results.
nextToken
- A token to retrieve the next set of results, or null
if there are no additional results.public String getNextToken()
A token to retrieve the next set of results, or null
if there are no additional results.
null
if there are no additional results.public ListDetectorsResult withNextToken(String nextToken)
A token to retrieve the next set of results, or null
if there are no additional results.
nextToken
- A token 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 ListDetectorsResult clone()