Class ManagedRuleSetVersion
- All Implemented Interfaces:
Serializable,SdkPojo,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Amazon Resource Name (ARN) of the vendor rule group that's used to define the published version of your managed rule group.builder()final Longcapacity()The web ACL capacity units (WCUs) required for this rule group.final booleanfinal booleanequalsBySdkFields(Object obj) final InstantThe time that this version is set to expire.final IntegerThe amount of time you expect this version of your managed rule group to last, in days.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe last time that you updated this version.final InstantThe time that you first published this version.static Class<? extends ManagedRuleSetVersion.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
associatedRuleGroupArn
The Amazon Resource Name (ARN) of the vendor rule group that's used to define the published version of your managed rule group.
- Returns:
- The Amazon Resource Name (ARN) of the vendor rule group that's used to define the published version of your managed rule group.
-
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.
- Returns:
- 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.
-
forecastedLifetime
The amount of time you expect this version of your managed rule group to last, in days.
- Returns:
- The amount of time you expect this version of your managed rule group to last, in days.
-
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".
- Returns:
- 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".
-
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".
- Returns:
- 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".
-
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".
- Returns:
- 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".
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ManagedRuleSetVersion.Builder,ManagedRuleSetVersion>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-