@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDetectorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetDetectorsResult() |
Modifier and Type | Method and Description |
---|---|
GetDetectorsResult |
clone() |
boolean |
equals(Object obj) |
List<Detector> |
getDetectors()
The detectors.
|
String |
getNextToken()
The next page token.
|
int |
hashCode() |
void |
setDetectors(Collection<Detector> detectors)
The detectors.
|
void |
setNextToken(String nextToken)
The next page token.
|
String |
toString()
Returns a string representation of this object.
|
GetDetectorsResult |
withDetectors(Collection<Detector> detectors)
The detectors.
|
GetDetectorsResult |
withDetectors(Detector... detectors)
The detectors.
|
GetDetectorsResult |
withNextToken(String nextToken)
The next page token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDetectors(Collection<Detector> detectors)
The detectors.
detectors
- The detectors.public GetDetectorsResult withDetectors(Detector... detectors)
The detectors.
NOTE: This method appends the values to the existing list (if any). Use
setDetectors(java.util.Collection)
or withDetectors(java.util.Collection)
if you want to
override the existing values.
detectors
- The detectors.public GetDetectorsResult withDetectors(Collection<Detector> detectors)
The detectors.
detectors
- The detectors.public void setNextToken(String nextToken)
The next page token.
nextToken
- The next page token.public String getNextToken()
The next page token.
public GetDetectorsResult withNextToken(String nextToken)
The next page token.
nextToken
- The next page token.public String toString()
toString
in class Object
Object.toString()
public GetDetectorsResult clone()