@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourceScansResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResourceScansResult() |
Modifier and Type | Method and Description |
---|---|
ListResourceScansResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the request doesn't return all the remaining results,
NextToken is set to a token. |
List<ResourceScanSummary> |
getResourceScanSummaries()
The list of scans returned.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the request doesn't return all the remaining results,
NextToken is set to a token. |
void |
setResourceScanSummaries(Collection<ResourceScanSummary> resourceScanSummaries)
The list of scans returned.
|
String |
toString()
Returns a string representation of this object.
|
ListResourceScansResult |
withNextToken(String nextToken)
If the request doesn't return all the remaining results,
NextToken is set to a token. |
ListResourceScansResult |
withResourceScanSummaries(Collection<ResourceScanSummary> resourceScanSummaries)
The list of scans returned.
|
ListResourceScansResult |
withResourceScanSummaries(ResourceScanSummary... resourceScanSummaries)
The list of scans returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ResourceScanSummary> getResourceScanSummaries()
The list of scans returned.
public void setResourceScanSummaries(Collection<ResourceScanSummary> resourceScanSummaries)
The list of scans returned.
resourceScanSummaries
- The list of scans returned.public ListResourceScansResult withResourceScanSummaries(ResourceScanSummary... resourceScanSummaries)
The list of scans returned.
NOTE: This method appends the values to the existing list (if any). Use
setResourceScanSummaries(java.util.Collection)
or
withResourceScanSummaries(java.util.Collection)
if you want to override the existing values.
resourceScanSummaries
- The list of scans returned.public ListResourceScansResult withResourceScanSummaries(Collection<ResourceScanSummary> resourceScanSummaries)
The list of scans returned.
resourceScanSummaries
- The list of scans returned.public void setNextToken(String nextToken)
If the request doesn't return all the remaining results, NextToken
is set to a token. To retrieve
the next set of results, call ListResourceScans
again and use that value for the
NextToken
parameter. If the request returns all results, NextToken
is set to an empty
string.
nextToken
- If the request doesn't return all the remaining results, NextToken
is set to a token. To
retrieve the next set of results, call ListResourceScans
again and use that value for the
NextToken
parameter. If the request returns all results, NextToken
is set to an
empty string.public String getNextToken()
If the request doesn't return all the remaining results, NextToken
is set to a token. To retrieve
the next set of results, call ListResourceScans
again and use that value for the
NextToken
parameter. If the request returns all results, NextToken
is set to an empty
string.
NextToken
is set to a token. To
retrieve the next set of results, call ListResourceScans
again and use that value for the
NextToken
parameter. If the request returns all results, NextToken
is set to an
empty string.public ListResourceScansResult withNextToken(String nextToken)
If the request doesn't return all the remaining results, NextToken
is set to a token. To retrieve
the next set of results, call ListResourceScans
again and use that value for the
NextToken
parameter. If the request returns all results, NextToken
is set to an empty
string.
nextToken
- If the request doesn't return all the remaining results, NextToken
is set to a token. To
retrieve the next set of results, call ListResourceScans
again and use that value for the
NextToken
parameter. If the request returns all results, NextToken
is set to an
empty string.public String toString()
toString
in class Object
Object.toString()
public ListResourceScansResult clone()