@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRuleGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRuleGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListRuleGroupsResult |
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, Network Firewall returns a
NextToken value in the response. |
List<RuleGroupMetadata> |
getRuleGroups()
The rule group metadata objects that you've defined.
|
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, Network Firewall returns a
NextToken value in the response. |
void |
setRuleGroups(Collection<RuleGroupMetadata> ruleGroups)
The rule group metadata objects that you've defined.
|
String |
toString()
Returns a string representation of this object.
|
ListRuleGroupsResult |
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, Network Firewall returns a
NextToken value in the response. |
ListRuleGroupsResult |
withRuleGroups(Collection<RuleGroupMetadata> ruleGroups)
The rule group metadata objects that you've defined.
|
ListRuleGroupsResult |
withRuleGroups(RuleGroupMetadata... ruleGroups)
The rule group metadata objects that you've defined.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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, Network Firewall 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, Network Firewall 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, Network Firewall 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, Network Firewall 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 ListRuleGroupsResult 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, Network Firewall 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, Network Firewall 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 List<RuleGroupMetadata> getRuleGroups()
The rule group metadata objects that you've defined. Depending on your setting for max results and the number of rule groups, this might not be the full list.
public void setRuleGroups(Collection<RuleGroupMetadata> ruleGroups)
The rule group metadata objects that you've defined. Depending on your setting for max results and the number of rule groups, this might not be the full list.
ruleGroups
- The rule group metadata objects that you've defined. Depending on your setting for max results and the
number of rule groups, this might not be the full list.public ListRuleGroupsResult withRuleGroups(RuleGroupMetadata... ruleGroups)
The rule group metadata objects that you've defined. Depending on your setting for max results and the number of rule groups, this might not be the full list.
NOTE: This method appends the values to the existing list (if any). Use
setRuleGroups(java.util.Collection)
or withRuleGroups(java.util.Collection)
if you want to
override the existing values.
ruleGroups
- The rule group metadata objects that you've defined. Depending on your setting for max results and the
number of rule groups, this might not be the full list.public ListRuleGroupsResult withRuleGroups(Collection<RuleGroupMetadata> ruleGroups)
The rule group metadata objects that you've defined. Depending on your setting for max results and the number of rule groups, this might not be the full list.
ruleGroups
- The rule group metadata objects that you've defined. Depending on your setting for max results and the
number of rule groups, this might not be the full list.public String toString()
toString
in class Object
Object.toString()
public ListRuleGroupsResult clone()