@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDiscoveredResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDiscoveredResourcesResult() |
Modifier and Type | Method and Description |
---|---|
ListDiscoveredResourcesResult |
clone() |
boolean |
equals(Object obj) |
List<DiscoveredResource> |
getItems()
Details of the resources that were discovered.
|
String |
getNextToken()
When you request a list of objects with a
MaxResults setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Firewall Manager returns a
NextToken value in the response. |
int |
hashCode() |
void |
setItems(Collection<DiscoveredResource> items)
Details of the resources that were discovered.
|
void |
setNextToken(String nextToken)
When you request a list of objects with a
MaxResults setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Firewall Manager returns a
NextToken value in the response. |
String |
toString()
Returns a string representation of this object.
|
ListDiscoveredResourcesResult |
withItems(Collection<DiscoveredResource> items)
Details of the resources that were discovered.
|
ListDiscoveredResourcesResult |
withItems(DiscoveredResource... items)
Details of the resources that were discovered.
|
ListDiscoveredResourcesResult |
withNextToken(String nextToken)
When you request a list of objects with a
MaxResults setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Firewall Manager returns a
NextToken value in the response. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DiscoveredResource> getItems()
Details of the resources that were discovered.
public void setItems(Collection<DiscoveredResource> items)
Details of the resources that were discovered.
items
- Details of the resources that were discovered.public ListDiscoveredResourcesResult withItems(DiscoveredResource... items)
Details of the resources that were discovered.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- Details of the resources that were discovered.public ListDiscoveredResourcesResult withItems(Collection<DiscoveredResource> items)
Details of the resources that were discovered.
items
- Details of the resources that were discovered.public void setNextToken(String nextToken)
When you request a list of objects with a MaxResults
setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Firewall Manager returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token returned from
the prior request in your next request.
nextToken
- When you request a list of objects with a MaxResults
setting, if the number of objects that
are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token
returned from the prior request in your next request.public String getNextToken()
When you request a list of objects with a MaxResults
setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Firewall Manager returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token returned from
the prior request in your next request.
MaxResults
setting, if the number of objects that
are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token
returned from the prior request in your next request.public ListDiscoveredResourcesResult withNextToken(String nextToken)
When you request a list of objects with a MaxResults
setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Firewall Manager returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token returned from
the prior request in your next request.
nextToken
- When you request a list of objects with a MaxResults
setting, if the number of objects that
are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token
returned from the prior request in your next request.public String toString()
toString
in class Object
Object.toString()
public ListDiscoveredResourcesResult clone()