@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListScansResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListScansResult() |
Modifier and Type | Method and Description |
---|---|
ListScansResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A pagination token.
|
List<ScanSummary> |
getSummaries()
A list of
ScanSummary objects with information about all scans in an account. |
int |
hashCode() |
void |
setNextToken(String nextToken)
A pagination token.
|
void |
setSummaries(Collection<ScanSummary> summaries)
A list of
ScanSummary objects with information about all scans in an account. |
String |
toString()
Returns a string representation of this object.
|
ListScansResult |
withNextToken(String nextToken)
A pagination token.
|
ListScansResult |
withSummaries(Collection<ScanSummary> summaries)
A list of
ScanSummary objects with information about all scans in an account. |
ListScansResult |
withSummaries(ScanSummary... summaries)
A list of
ScanSummary objects with information about all scans in an account. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A pagination token. You can use this in future calls to ListScans
to continue listing results after
the current page.
nextToken
- A pagination token. You can use this in future calls to ListScans
to continue listing results
after the current page.public String getNextToken()
A pagination token. You can use this in future calls to ListScans
to continue listing results after
the current page.
ListScans
to continue listing
results after the current page.public ListScansResult withNextToken(String nextToken)
A pagination token. You can use this in future calls to ListScans
to continue listing results after
the current page.
nextToken
- A pagination token. You can use this in future calls to ListScans
to continue listing results
after the current page.public List<ScanSummary> getSummaries()
A list of ScanSummary
objects with information about all scans in an account.
ScanSummary
objects with information about all scans in an account.public void setSummaries(Collection<ScanSummary> summaries)
A list of ScanSummary
objects with information about all scans in an account.
summaries
- A list of ScanSummary
objects with information about all scans in an account.public ListScansResult withSummaries(ScanSummary... summaries)
A list of ScanSummary
objects with information about all scans in an account.
NOTE: This method appends the values to the existing list (if any). Use
setSummaries(java.util.Collection)
or withSummaries(java.util.Collection)
if you want to
override the existing values.
summaries
- A list of ScanSummary
objects with information about all scans in an account.public ListScansResult withSummaries(Collection<ScanSummary> summaries)
A list of ScanSummary
objects with information about all scans in an account.
summaries
- A list of ScanSummary
objects with information about all scans in an account.public String toString()
toString
in class Object
Object.toString()
public ListScansResult clone()