Interface ManagedRuleSetVersion.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedRuleSetVersion.Builder,ManagedRuleSetVersion>,SdkBuilder<ManagedRuleSetVersion.Builder,ManagedRuleSetVersion>,SdkPojo
- Enclosing class:
- ManagedRuleSetVersion
public static interface ManagedRuleSetVersion.Builder extends SdkPojo, CopyableBuilder<ManagedRuleSetVersion.Builder,ManagedRuleSetVersion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedRuleSetVersion.BuilderassociatedRuleGroupArn(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.ManagedRuleSetVersion.Buildercapacity(Long capacity)The web ACL capacity units (WCUs) required for this rule group.ManagedRuleSetVersion.BuilderexpiryTimestamp(Instant expiryTimestamp)The time that this version is set to expire.ManagedRuleSetVersion.BuilderforecastedLifetime(Integer forecastedLifetime)The amount of time you expect this version of your managed rule group to last, in days.ManagedRuleSetVersion.BuilderlastUpdateTimestamp(Instant lastUpdateTimestamp)The last time that you updated this version.ManagedRuleSetVersion.BuilderpublishTimestamp(Instant publishTimestamp)The time that you first published this version.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
associatedRuleGroupArn
ManagedRuleSetVersion.Builder associatedRuleGroupArn(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
capacity
ManagedRuleSetVersion.Builder capacity(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
forecastedLifetime
ManagedRuleSetVersion.Builder forecastedLifetime(Integer forecastedLifetime)
The amount of time you expect this version of your managed rule group to last, in days.
- Parameters:
forecastedLifetime- The amount of time you expect this version of your managed rule group to last, in days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publishTimestamp
ManagedRuleSetVersion.Builder publishTimestamp(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".
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTimestamp
ManagedRuleSetVersion.Builder lastUpdateTimestamp(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".
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
expiryTimestamp
ManagedRuleSetVersion.Builder expiryTimestamp(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".
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-