Class RuleGroupSummary
- java.lang.Object
-
- software.amazon.awssdk.services.wafv2.model.RuleGroupSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuleGroupSummary.Builder,RuleGroupSummary>
@Generated("software.amazon.awssdk:codegen") public final class RuleGroupSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleGroupSummary.Builder,RuleGroupSummary>
High-level information about a RuleGroup, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a
RuleGroup, and the ARN, that you provide to the RuleGroupReferenceStatement to use the rule group in a Rule.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRuleGroupSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the entity.static RuleGroupSummary.Builderbuilder()Stringdescription()A description of the rule group that helps with identification.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()A unique identifier for the rule group.StringlockToken()A token used for optimistic locking.Stringname()The name of the data type instance.List<SdkField<?>>sdkFields()static Class<? extends RuleGroupSummary.Builder>serializableBuilderClass()RuleGroupSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
name
public final String name()
The name of the data type instance. You cannot change the name after you create the instance.
- Returns:
- The name of the data type instance. You cannot change the name after you create the instance.
-
id
public final String id()
A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
- Returns:
- A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
-
description
public final String description()
A description of the rule group that helps with identification.
- Returns:
- A description of the rule group that helps with identification.
-
lockToken
public final String lockToken()
A token used for optimistic locking. WAF returns a token to your
getandlistrequests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations likeupdateanddelete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with aWAFOptimisticLockException. If this happens, perform anotherget, and use the new token returned by that operation.- Returns:
- A token used for optimistic locking. WAF returns a token to your
getandlistrequests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations likeupdateanddelete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with aWAFOptimisticLockException. If this happens, perform anotherget, and use the new token returned by that operation.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the entity.
- Returns:
- The Amazon Resource Name (ARN) of the entity.
-
toBuilder
public RuleGroupSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleGroupSummary.Builder,RuleGroupSummary>
-
builder
public static RuleGroupSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends RuleGroupSummary.Builder> serializableBuilderClass()
-
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.
-
-