Class ListRuleGroupsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.networkfirewall.model.NetworkFirewallRequest
-
- software.amazon.awssdk.services.networkfirewall.model.ListRuleGroupsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListRuleGroupsRequest.Builder,ListRuleGroupsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListRuleGroupsRequest extends NetworkFirewallRequest implements ToCopyableBuilder<ListRuleGroupsRequest.Builder,ListRuleGroupsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListRuleGroupsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListRuleGroupsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResourceManagedTypemanagedType()Indicates the general category of the Amazon Web Services managed rule group.StringmanagedTypeAsString()Indicates the general category of the Amazon Web Services managed rule group.IntegermaxResults()The maximum number of objects that you want Network Firewall to return for this request.StringnextToken()When you request a list of objects with aMaxResultssetting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns aNextTokenvalue in the response.ResourceManagedStatusscope()The scope of the request.StringscopeAsString()The scope of the request.List<SdkField<?>>sdkFields()static Class<? extends ListRuleGroupsRequest.Builder>serializableBuilderClass()ListRuleGroupsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.RuleGroupTypetype()Indicates whether the rule group is stateless or stateful.StringtypeAsString()Indicates whether the rule group is stateless or stateful.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
nextToken
public final String nextToken()
When you request a list of objects with a
MaxResultssetting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns aNextTokenvalue in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.- Returns:
- When you request a list of objects with a
MaxResultssetting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns aNextTokenvalue in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
-
maxResults
public final 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
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.- Returns:
- 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
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.
-
scope
public final ResourceManagedStatus scope()
The scope of the request. The default setting of
ACCOUNTor a setting ofNULLreturns all of the rule groups in your account. A setting ofMANAGEDreturns all available managed rule groups.If the service returns an enum value that is not available in the current SDK version,
scopewill returnResourceManagedStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- The scope of the request. The default setting of
ACCOUNTor a setting ofNULLreturns all of the rule groups in your account. A setting ofMANAGEDreturns all available managed rule groups. - See Also:
ResourceManagedStatus
-
scopeAsString
public final String scopeAsString()
The scope of the request. The default setting of
ACCOUNTor a setting ofNULLreturns all of the rule groups in your account. A setting ofMANAGEDreturns all available managed rule groups.If the service returns an enum value that is not available in the current SDK version,
scopewill returnResourceManagedStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- The scope of the request. The default setting of
ACCOUNTor a setting ofNULLreturns all of the rule groups in your account. A setting ofMANAGEDreturns all available managed rule groups. - See Also:
ResourceManagedStatus
-
managedType
public final ResourceManagedType managedType()
Indicates the general category of the Amazon Web Services managed rule group.
If the service returns an enum value that is not available in the current SDK version,
managedTypewill returnResourceManagedType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommanagedTypeAsString().- Returns:
- Indicates the general category of the Amazon Web Services managed rule group.
- See Also:
ResourceManagedType
-
managedTypeAsString
public final String managedTypeAsString()
Indicates the general category of the Amazon Web Services managed rule group.
If the service returns an enum value that is not available in the current SDK version,
managedTypewill returnResourceManagedType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommanagedTypeAsString().- Returns:
- Indicates the general category of the Amazon Web Services managed rule group.
- See Also:
ResourceManagedType
-
type
public final 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.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRuleGroupType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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.
- See Also:
RuleGroupType
-
typeAsString
public final String typeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRuleGroupType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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.
- See Also:
RuleGroupType
-
toBuilder
public ListRuleGroupsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListRuleGroupsRequest.Builder,ListRuleGroupsRequest>- Specified by:
toBuilderin classNetworkFirewallRequest
-
builder
public static ListRuleGroupsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListRuleGroupsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-