@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuleGroupSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the entity.
|
static RuleGroupSummary.Builder |
builder() |
String |
description()
A description of the rule group that helps with identification.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
A unique identifier for the rule group.
|
String |
lockToken()
A token used for optimistic locking.
|
String |
name()
The name of the data type instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RuleGroupSummary.Builder> |
serializableBuilderClass() |
RuleGroupSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the data type instance. You cannot change the name after you create the instance.
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.
public final String description()
A description of the rule group that helps with identification.
public final String lockToken()
A token used for optimistic locking. WAF returns a token to your get and list requests,
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 like update and delete. 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 a WAFOptimisticLockException. If this happens, perform another
get, and use the new token returned by that operation.
get and list
requests, 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 like update and
delete. 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 a
WAFOptimisticLockException. If this happens, perform another get, and use the
new token returned by that operation.public final String arn()
The Amazon Resource Name (ARN) of the entity.
public RuleGroupSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RuleGroupSummary.Builder,RuleGroupSummary>public static RuleGroupSummary.Builder builder()
public static Class<? extends RuleGroupSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.