@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedRuleSetVersion extends Object implements Serializable, Cloneable, StructuredPojo
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
.
Constructor and Description |
---|
ManagedRuleSetVersion() |
Modifier and Type | Method and Description |
---|---|
ManagedRuleSetVersion |
clone() |
boolean |
equals(Object obj) |
String |
getAssociatedRuleGroupArn()
The Amazon Resource Name (ARN) of the vendor rule group that's used to define the published version of your
managed rule group.
|
Long |
getCapacity()
The web ACL capacity units (WCUs) required for this rule group.
|
Date |
getExpiryTimestamp()
The time that this version is set to expire.
|
Integer |
getForecastedLifetime()
The amount of time you expect this version of your managed rule group to last, in days.
|
Date |
getLastUpdateTimestamp()
The last time that you updated this version.
|
Date |
getPublishTimestamp()
The time that you first published this version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociatedRuleGroupArn(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.
|
void |
setCapacity(Long capacity)
The web ACL capacity units (WCUs) required for this rule group.
|
void |
setExpiryTimestamp(Date expiryTimestamp)
The time that this version is set to expire.
|
void |
setForecastedLifetime(Integer forecastedLifetime)
The amount of time you expect this version of your managed rule group to last, in days.
|
void |
setLastUpdateTimestamp(Date lastUpdateTimestamp)
The last time that you updated this version.
|
void |
setPublishTimestamp(Date publishTimestamp)
The time that you first published this version.
|
String |
toString()
Returns a string representation of this object.
|
ManagedRuleSetVersion |
withAssociatedRuleGroupArn(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 |
withCapacity(Long capacity)
The web ACL capacity units (WCUs) required for this rule group.
|
ManagedRuleSetVersion |
withExpiryTimestamp(Date expiryTimestamp)
The time that this version is set to expire.
|
ManagedRuleSetVersion |
withForecastedLifetime(Integer forecastedLifetime)
The amount of time you expect this version of your managed rule group to last, in days.
|
ManagedRuleSetVersion |
withLastUpdateTimestamp(Date lastUpdateTimestamp)
The last time that you updated this version.
|
ManagedRuleSetVersion |
withPublishTimestamp(Date publishTimestamp)
The time that you first published this version.
|
public void setAssociatedRuleGroupArn(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.
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 String getAssociatedRuleGroupArn()
The Amazon Resource Name (ARN) of the vendor rule group that's used to define the published version of your managed rule group.
public ManagedRuleSetVersion withAssociatedRuleGroupArn(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.
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 void setCapacity(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.
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.
public Long getCapacity()
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 ManagedRuleSetVersion withCapacity(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.
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.
public void setForecastedLifetime(Integer forecastedLifetime)
The amount of time you expect this version of your managed rule group to last, in days.
forecastedLifetime
- The amount of time you expect this version of your managed rule group to last, in days.public Integer getForecastedLifetime()
The amount of time you expect this version of your managed rule group to last, in days.
public ManagedRuleSetVersion withForecastedLifetime(Integer forecastedLifetime)
The amount of time you expect this version of your managed rule group to last, in days.
forecastedLifetime
- The amount of time you expect this version of your managed rule group to last, in days.public void setPublishTimestamp(Date 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".
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".
public Date getPublishTimestamp()
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 ManagedRuleSetVersion withPublishTimestamp(Date 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".
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".
public void setLastUpdateTimestamp(Date 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".
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".
public Date getLastUpdateTimestamp()
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 ManagedRuleSetVersion withLastUpdateTimestamp(Date 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".
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".
public void setExpiryTimestamp(Date 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".
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".
public Date getExpiryTimestamp()
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 withExpiryTimestamp(Date 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".
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".
public String toString()
toString
in class Object
Object.toString()
public ManagedRuleSetVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.