@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRuleGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListRuleGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
ListRuleGroupsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getManagedType()
Indicates the general category of the Amazon Web Services managed rule group.
|
Integer |
getMaxResults()
The maximum number of objects that you want Network Firewall to return for this request.
|
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. |
String |
getScope()
The scope of the request.
|
String |
getType()
Indicates whether the rule group is stateless or stateful.
|
int |
hashCode() |
void |
setManagedType(String managedType)
Indicates the general category of the Amazon Web Services managed rule group.
|
void |
setMaxResults(Integer maxResults)
The maximum number of objects that you want Network Firewall to return for this request.
|
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 |
setScope(String scope)
The scope of the request.
|
void |
setType(String type)
Indicates whether the rule group is stateless or stateful.
|
String |
toString()
Returns a string representation of this object.
|
ListRuleGroupsRequest |
withManagedType(ResourceManagedType managedType)
Indicates the general category of the Amazon Web Services managed rule group.
|
ListRuleGroupsRequest |
withManagedType(String managedType)
Indicates the general category of the Amazon Web Services managed rule group.
|
ListRuleGroupsRequest |
withMaxResults(Integer maxResults)
The maximum number of objects that you want Network Firewall to return for this request.
|
ListRuleGroupsRequest |
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. |
ListRuleGroupsRequest |
withScope(ResourceManagedStatus scope)
The scope of the request.
|
ListRuleGroupsRequest |
withScope(String scope)
The scope of the request.
|
ListRuleGroupsRequest |
withType(RuleGroupType type)
Indicates whether the rule group is stateless or stateful.
|
ListRuleGroupsRequest |
withType(String type)
Indicates whether the rule group is stateless or stateful.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 ListRuleGroupsRequest 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 void setMaxResults(Integer maxResults)
The maximum number of objects that you want Network Firewall to return for this request. If more objects are
available, in the response, Network Firewall provides a NextToken
value that you can use in a
subsequent call to get the next batch of objects.
maxResults
- The maximum number of objects that you want Network Firewall to return for this request. If more objects
are available, in the response, Network Firewall provides a NextToken
value that you can use
in a subsequent call to get the next batch of objects.public Integer getMaxResults()
The maximum number of objects that you want Network Firewall to return for this request. If more objects are
available, in the response, Network Firewall provides a NextToken
value that you can use in a
subsequent call to get the next batch of objects.
NextToken
value that you can use
in a subsequent call to get the next batch of objects.public ListRuleGroupsRequest withMaxResults(Integer maxResults)
The maximum number of objects that you want Network Firewall to return for this request. If more objects are
available, in the response, Network Firewall provides a NextToken
value that you can use in a
subsequent call to get the next batch of objects.
maxResults
- The maximum number of objects that you want Network Firewall to return for this request. If more objects
are available, in the response, Network Firewall provides a NextToken
value that you can use
in a subsequent call to get the next batch of objects.public void setScope(String scope)
The scope of the request. The default setting of ACCOUNT
or a setting of NULL
returns
all of the rule groups in your account. A setting of MANAGED
returns all available managed rule
groups.
scope
- The scope of the request. The default setting of ACCOUNT
or a setting of NULL
returns all of the rule groups in your account. A setting of MANAGED
returns all available
managed rule groups.ResourceManagedStatus
public String getScope()
The scope of the request. The default setting of ACCOUNT
or a setting of NULL
returns
all of the rule groups in your account. A setting of MANAGED
returns all available managed rule
groups.
ACCOUNT
or a setting of NULL
returns all of the rule groups in your account. A setting of MANAGED
returns all available
managed rule groups.ResourceManagedStatus
public ListRuleGroupsRequest withScope(String scope)
The scope of the request. The default setting of ACCOUNT
or a setting of NULL
returns
all of the rule groups in your account. A setting of MANAGED
returns all available managed rule
groups.
scope
- The scope of the request. The default setting of ACCOUNT
or a setting of NULL
returns all of the rule groups in your account. A setting of MANAGED
returns all available
managed rule groups.ResourceManagedStatus
public ListRuleGroupsRequest withScope(ResourceManagedStatus scope)
The scope of the request. The default setting of ACCOUNT
or a setting of NULL
returns
all of the rule groups in your account. A setting of MANAGED
returns all available managed rule
groups.
scope
- The scope of the request. The default setting of ACCOUNT
or a setting of NULL
returns all of the rule groups in your account. A setting of MANAGED
returns all available
managed rule groups.ResourceManagedStatus
public void setManagedType(String managedType)
Indicates the general category of the Amazon Web Services managed rule group.
managedType
- Indicates the general category of the Amazon Web Services managed rule group.ResourceManagedType
public String getManagedType()
Indicates the general category of the Amazon Web Services managed rule group.
ResourceManagedType
public ListRuleGroupsRequest withManagedType(String managedType)
Indicates the general category of the Amazon Web Services managed rule group.
managedType
- Indicates the general category of the Amazon Web Services managed rule group.ResourceManagedType
public ListRuleGroupsRequest withManagedType(ResourceManagedType managedType)
Indicates the general category of the Amazon Web Services managed rule group.
managedType
- Indicates the general category of the Amazon Web Services managed rule group.ResourceManagedType
public void setType(String type)
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
type
- Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
stateless rules. If it is stateful, it contains stateful rules.RuleGroupType
public String getType()
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
RuleGroupType
public ListRuleGroupsRequest withType(String type)
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
type
- Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
stateless rules. If it is stateful, it contains stateful rules.RuleGroupType
public ListRuleGroupsRequest withType(RuleGroupType type)
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
type
- Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
stateless rules. If it is stateful, it contains stateful rules.RuleGroupType
public String toString()
toString
in class Object
Object.toString()
public ListRuleGroupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()