@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDetectorModelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDetectorModelsResult() |
Modifier and Type | Method and Description |
---|---|
ListDetectorModelsResult |
clone() |
boolean |
equals(Object obj) |
List<DetectorModelSummary> |
getDetectorModelSummaries()
Summary information about the detector models.
|
String |
getNextToken()
A token to retrieve the next set of results, or
null if there are no additional results. |
int |
hashCode() |
void |
setDetectorModelSummaries(Collection<DetectorModelSummary> detectorModelSummaries)
Summary information about the detector models.
|
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.
|
ListDetectorModelsResult |
withDetectorModelSummaries(Collection<DetectorModelSummary> detectorModelSummaries)
Summary information about the detector models.
|
ListDetectorModelsResult |
withDetectorModelSummaries(DetectorModelSummary... detectorModelSummaries)
Summary information about the detector models.
|
ListDetectorModelsResult |
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<DetectorModelSummary> getDetectorModelSummaries()
Summary information about the detector models.
public void setDetectorModelSummaries(Collection<DetectorModelSummary> detectorModelSummaries)
Summary information about the detector models.
detectorModelSummaries
- Summary information about the detector models.public ListDetectorModelsResult withDetectorModelSummaries(DetectorModelSummary... detectorModelSummaries)
Summary information about the detector models.
NOTE: This method appends the values to the existing list (if any). Use
setDetectorModelSummaries(java.util.Collection)
or
withDetectorModelSummaries(java.util.Collection)
if you want to override the existing values.
detectorModelSummaries
- Summary information about the detector models.public ListDetectorModelsResult withDetectorModelSummaries(Collection<DetectorModelSummary> detectorModelSummaries)
Summary information about the detector models.
detectorModelSummaries
- Summary information about the detector models.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 ListDetectorModelsResult 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 ListDetectorModelsResult clone()