@Generated(value="software.amazon.awssdk:codegen") public final class IPSetSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IPSetSummary.Builder,IPSetSummary>
High-level information about an IPSet, returned by operations like create and list. This provides information
like the ID, that you can use to retrieve and manage an IPSet, and the ARN, that you provide to the
IPSetReferenceStatement to use the address set in a Rule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IPSetSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the entity.
|
static IPSetSummary.Builder |
builder() |
String |
description()
A description of the IP set 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 set.
|
String |
lockToken()
A token used for optimistic locking.
|
String |
name()
The name of the IP set.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends IPSetSummary.Builder> |
serializableBuilderClass() |
IPSetSummary.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 IP set. You cannot change the name of an IPSet after you create it.
IPSet after you create it.public final String id()
A unique identifier for the set. 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 IP set 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 IPSetSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IPSetSummary.Builder,IPSetSummary>public static IPSetSummary.Builder builder()
public static Class<? extends IPSetSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.