@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourceSetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListResourceSetsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListResourceSetsResult |
clone() |
boolean |
equals(Object obj) |
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. |
List<ResourceSetSummary> |
getResourceSets()
An array of
ResourceSetSummary objects. |
int |
hashCode() |
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. |
void |
setResourceSets(Collection<ResourceSetSummary> resourceSets)
An array of
ResourceSetSummary objects. |
String |
toString()
Returns a string representation of this object.
|
ListResourceSetsResult |
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. |
ListResourceSetsResult |
withResourceSets(Collection<ResourceSetSummary> resourceSets)
An array of
ResourceSetSummary objects. |
ListResourceSetsResult |
withResourceSets(ResourceSetSummary... resourceSets)
An array of
ResourceSetSummary objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ResourceSetSummary> getResourceSets()
An array of ResourceSetSummary objects.
ResourceSetSummary objects.public void setResourceSets(Collection<ResourceSetSummary> resourceSets)
An array of ResourceSetSummary objects.
resourceSets - An array of ResourceSetSummary objects.public ListResourceSetsResult withResourceSets(ResourceSetSummary... resourceSets)
An array of ResourceSetSummary objects.
NOTE: This method appends the values to the existing list (if any). Use
setResourceSets(java.util.Collection) or withResourceSets(java.util.Collection) if you want to
override the existing values.
resourceSets - An array of ResourceSetSummary objects.public ListResourceSetsResult withResourceSets(Collection<ResourceSetSummary> resourceSets)
An array of ResourceSetSummary objects.
resourceSets - An array of ResourceSetSummary objects.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 ListResourceSetsResult 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 ObjectObject.toString()public ListResourceSetsResult clone()