@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WebACLSummary extends Object implements Serializable, Cloneable, StructuredPojo
High-level information about a WebACL, returned by operations like create and list. This provides information
like the ID, that you can use to retrieve and manage a WebACL
, and the ARN, that you provide to
operations like AssociateWebACL.
Constructor and Description |
---|
WebACLSummary() |
Modifier and Type | Method and Description |
---|---|
WebACLSummary |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The Amazon Resource Name (ARN) of the entity.
|
String |
getDescription()
A description of the web ACL that helps with identification.
|
String |
getId()
The unique identifier for the web ACL.
|
String |
getLockToken()
A token used for optimistic locking.
|
String |
getName()
The name of the web ACL.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setARN(String aRN)
The Amazon Resource Name (ARN) of the entity.
|
void |
setDescription(String description)
A description of the web ACL that helps with identification.
|
void |
setId(String id)
The unique identifier for the web ACL.
|
void |
setLockToken(String lockToken)
A token used for optimistic locking.
|
void |
setName(String name)
The name of the web ACL.
|
String |
toString()
Returns a string representation of this object.
|
WebACLSummary |
withARN(String aRN)
The Amazon Resource Name (ARN) of the entity.
|
WebACLSummary |
withDescription(String description)
A description of the web ACL that helps with identification.
|
WebACLSummary |
withId(String id)
The unique identifier for the web ACL.
|
WebACLSummary |
withLockToken(String lockToken)
A token used for optimistic locking.
|
WebACLSummary |
withName(String name)
The name of the web ACL.
|
public void setName(String name)
The name of the web ACL. You cannot change the name of a web ACL after you create it.
name
- The name of the web ACL. You cannot change the name of a web ACL after you create it.public String getName()
The name of the web ACL. You cannot change the name of a web ACL after you create it.
public WebACLSummary withName(String name)
The name of the web ACL. You cannot change the name of a web ACL after you create it.
name
- The name of the web ACL. You cannot change the name of a web ACL after you create it.public void setId(String id)
The unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
id
- The unique identifier for the web ACL. This ID is returned in the responses to create and list commands.
You provide it to operations like update and delete.public String getId()
The unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
public WebACLSummary withId(String id)
The unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
id
- The unique identifier for the web ACL. This ID is returned in the responses to create and list commands.
You provide it to operations like update and delete.public void setDescription(String description)
A description of the web ACL that helps with identification.
description
- A description of the web ACL that helps with identification.public String getDescription()
A description of the web ACL that helps with identification.
public WebACLSummary withDescription(String description)
A description of the web ACL that helps with identification.
description
- A description of the web ACL that helps with identification.public void setLockToken(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.
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.public String getLockToken()
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 WebACLSummary withLockToken(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.
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.public void setARN(String aRN)
The Amazon Resource Name (ARN) of the entity.
aRN
- The Amazon Resource Name (ARN) of the entity.public String getARN()
The Amazon Resource Name (ARN) of the entity.
public WebACLSummary withARN(String aRN)
The Amazon Resource Name (ARN) of the entity.
aRN
- The Amazon Resource Name (ARN) of the entity.public String toString()
toString
in class Object
Object.toString()
public WebACLSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.