@Generated(value="software.amazon.awssdk:codegen") public final class ManagedRuleSetVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManagedRuleSetVersion.Builder,ManagedRuleSetVersion>
Information for a single version of 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ManagedRuleSetVersion.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
associatedRuleGroupArn()
The Amazon Resource Name (ARN) of the vendor rule group that's used to define the published version of your
managed rule group.
|
static ManagedRuleSetVersion.Builder |
builder() |
Long |
capacity()
The web ACL capacity units (WCUs) required for this rule group.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
expiryTimestamp()
The time that this version is set to expire.
|
Integer |
forecastedLifetime()
The amount of time you expect this version of your managed rule group to last, in days.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdateTimestamp()
The last time that you updated this version.
|
Instant |
publishTimestamp()
The time that you first published this version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ManagedRuleSetVersion.Builder> |
serializableBuilderClass() |
ManagedRuleSetVersion.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String associatedRuleGroupArn()
The Amazon Resource Name (ARN) of the vendor rule group that's used to define the published version of your managed rule group.
public final Long capacity()
The web ACL capacity units (WCUs) required for this rule group.
WAF uses WCUs to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. WAF calculates capacity differently for each rule type, to reflect the relative cost of each rule. Simple rules that cost little to run use fewer WCUs than more complex rules that use more processing power. Rule group capacity is fixed at creation, which helps users plan their web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) in the WAF Developer Guide.
WAF uses WCUs to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. WAF calculates capacity differently for each rule type, to reflect the relative cost of each rule. Simple rules that cost little to run use fewer WCUs than more complex rules that use more processing power. Rule group capacity is fixed at creation, which helps users plan their web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) in the WAF Developer Guide.
public final Integer forecastedLifetime()
The amount of time you expect this version of your managed rule group to last, in days.
public final Instant publishTimestamp()
The time that you first published this version.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
public final Instant lastUpdateTimestamp()
The last time that you updated this version.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
public final Instant expiryTimestamp()
The time that this version is set to expire.
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".
public ManagedRuleSetVersion.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ManagedRuleSetVersion.Builder,ManagedRuleSetVersion>public static ManagedRuleSetVersion.Builder builder()
public static Class<? extends ManagedRuleSetVersion.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.