@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedRuleSetSummary extends Object implements Serializable, Cloneable, StructuredPojo
High-level information for a managed rule set.
This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.
Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group
offerings for your customers. The APIs are ListManagedRuleSets
, GetManagedRuleSet
,
PutManagedRuleSetVersions
, and UpdateManagedRuleSetVersionExpiryDate
.
Constructor and Description |
---|
ManagedRuleSetSummary() |
Modifier and Type | Method and Description |
---|---|
ManagedRuleSetSummary |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The Amazon Resource Name (ARN) of the entity.
|
String |
getDescription()
A description of the set that helps with identification.
|
String |
getId()
A unique identifier for the managed rule set.
|
String |
getLabelNamespace()
The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set.
|
String |
getLockToken()
A token used for optimistic locking.
|
String |
getName()
The name of the managed rule set.
|
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 set that helps with identification.
|
void |
setId(String id)
A unique identifier for the managed rule set.
|
void |
setLabelNamespace(String labelNamespace)
The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set.
|
void |
setLockToken(String lockToken)
A token used for optimistic locking.
|
void |
setName(String name)
The name of the managed rule set.
|
String |
toString()
Returns a string representation of this object.
|
ManagedRuleSetSummary |
withARN(String aRN)
The Amazon Resource Name (ARN) of the entity.
|
ManagedRuleSetSummary |
withDescription(String description)
A description of the set that helps with identification.
|
ManagedRuleSetSummary |
withId(String id)
A unique identifier for the managed rule set.
|
ManagedRuleSetSummary |
withLabelNamespace(String labelNamespace)
The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set.
|
ManagedRuleSetSummary |
withLockToken(String lockToken)
A token used for optimistic locking.
|
ManagedRuleSetSummary |
withName(String name)
The name of the managed rule set.
|
public void setName(String name)
The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.
This name is assigned to the corresponding managed rule group, which your customers can access and use.
name
- The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.
This name is assigned to the corresponding managed rule group, which your customers can access and use.
public String getName()
The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.
This name is assigned to the corresponding managed rule group, which your customers can access and use.
This name is assigned to the corresponding managed rule group, which your customers can access and use.
public ManagedRuleSetSummary withName(String name)
The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.
This name is assigned to the corresponding managed rule group, which your customers can access and use.
name
- The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.
This name is assigned to the corresponding managed rule group, which your customers can access and use.
public void setId(String id)
A unique identifier for the managed rule set. The ID is returned in the responses to commands like
list
. You provide it to operations like get
and update
.
id
- A unique identifier for the managed rule set. The ID is returned in the responses to commands like
list
. You provide it to operations like get
and update
.public String getId()
A unique identifier for the managed rule set. The ID is returned in the responses to commands like
list
. You provide it to operations like get
and update
.
list
. You provide it to operations like get
and update
.public ManagedRuleSetSummary withId(String id)
A unique identifier for the managed rule set. The ID is returned in the responses to commands like
list
. You provide it to operations like get
and update
.
id
- A unique identifier for the managed rule set. The ID is returned in the responses to commands like
list
. You provide it to operations like get
and update
.public void setDescription(String description)
A description of the set that helps with identification.
description
- A description of the set that helps with identification.public String getDescription()
A description of the set that helps with identification.
public ManagedRuleSetSummary withDescription(String description)
A description of the set that helps with identification.
description
- A description of the set 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 ManagedRuleSetSummary 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 ManagedRuleSetSummary withARN(String aRN)
The Amazon Resource Name (ARN) of the entity.
aRN
- The Amazon Resource Name (ARN) of the entity.public void setLabelNamespace(String labelNamespace)
The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set. All labels that are added by rules in the managed rule group have this prefix.
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
:
When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
labelNamespace
- The label namespace prefix for the managed rule groups that are offered to customers from this managed
rule set. All labels that are added by rules in the managed rule group have this prefix.
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
:
When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
public String getLabelNamespace()
The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set. All labels that are added by rules in the managed rule group have this prefix.
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
:
When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
:
When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
public ManagedRuleSetSummary withLabelNamespace(String labelNamespace)
The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set. All labels that are added by rules in the managed rule group have this prefix.
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
:
When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
labelNamespace
- The label namespace prefix for the managed rule groups that are offered to customers from this managed
rule set. All labels that are added by rules in the managed rule group have this prefix.
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
:
When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
public String toString()
toString
in class Object
Object.toString()
public ManagedRuleSetSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.