@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourceScanResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResourceScanResourcesResult() |
Modifier and Type | Method and Description |
---|---|
ListResourceScanResourcesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the request doesn't return all the remaining results,
NextToken is set to a token. |
List<ScannedResource> |
getResources()
List of up to
MaxResults resources in the specified resource scan that match all of the specified
filters. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If the request doesn't return all the remaining results,
NextToken is set to a token. |
void |
setResources(Collection<ScannedResource> resources)
List of up to
MaxResults resources in the specified resource scan that match all of the specified
filters. |
String |
toString()
Returns a string representation of this object.
|
ListResourceScanResourcesResult |
withNextToken(String nextToken)
If the request doesn't return all the remaining results,
NextToken is set to a token. |
ListResourceScanResourcesResult |
withResources(Collection<ScannedResource> resources)
List of up to
MaxResults resources in the specified resource scan that match all of the specified
filters. |
ListResourceScanResourcesResult |
withResources(ScannedResource... resources)
List of up to
MaxResults resources in the specified resource scan that match all of the specified
filters. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ScannedResource> getResources()
List of up to MaxResults
resources in the specified resource scan that match all of the specified
filters.
MaxResults
resources in the specified resource scan that match all of the
specified filters.public void setResources(Collection<ScannedResource> resources)
List of up to MaxResults
resources in the specified resource scan that match all of the specified
filters.
resources
- List of up to MaxResults
resources in the specified resource scan that match all of the
specified filters.public ListResourceScanResourcesResult withResources(ScannedResource... resources)
List of up to MaxResults
resources in the specified resource scan that match all of the specified
filters.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- List of up to MaxResults
resources in the specified resource scan that match all of the
specified filters.public ListResourceScanResourcesResult withResources(Collection<ScannedResource> resources)
List of up to MaxResults
resources in the specified resource scan that match all of the specified
filters.
resources
- List of up to MaxResults
resources in the specified resource scan that match all of the
specified filters.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 ListResourceScanResources
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 ListResourceScanResources
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 ListResourceScanResources
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 ListResourceScanResources
again and use that value
for the NextToken
parameter. If the request returns all results, NextToken
is
set to an empty string.public ListResourceScanResourcesResult 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 ListResourceScanResources
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 ListResourceScanResources
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 ListResourceScanResourcesResult clone()