Class CfnAutomationRulePropsMixin.SeverityUpdateProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnAutomationRulePropsMixin.SeverityUpdateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRulePropsMixin.SeverityUpdateProperty>
- Enclosing interface:
CfnAutomationRulePropsMixin.SeverityUpdateProperty
@Stability(Stable)
public static final class CfnAutomationRulePropsMixin.SeverityUpdateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRulePropsMixin.SeverityUpdateProperty>
A builder for
CfnAutomationRulePropsMixin.SeverityUpdateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAutomationRulePropsMixin.SeverityUpdateProperty.getLabel()normalized(Number normalized) Sets the value ofCfnAutomationRulePropsMixin.SeverityUpdateProperty.getNormalized()Sets the value ofCfnAutomationRulePropsMixin.SeverityUpdateProperty.getProduct()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
label
@Stability(Stable) public CfnAutomationRulePropsMixin.SeverityUpdateProperty.Builder label(String label) Sets the value ofCfnAutomationRulePropsMixin.SeverityUpdateProperty.getLabel()- Parameters:
label- The severity value of the finding. The allowed values are the following.INFORMATIONAL- No issue was found.LOW- The issue does not require action on its own.MEDIUM- The issue must be addressed but not urgently.HIGH- The issue must be addressed as a priority.CRITICAL- The issue must be remediated immediately to avoid it escalating.
- Returns:
this
-
normalized
@Stability(Stable) public CfnAutomationRulePropsMixin.SeverityUpdateProperty.Builder normalized(Number normalized) Sets the value ofCfnAutomationRulePropsMixin.SeverityUpdateProperty.getNormalized()- Parameters:
normalized- The normalized severity for the finding. This attribute is to be deprecated in favor ofLabel. If you provideNormalizedand don't provideLabel,Labelis set automatically as follows.- 0 -
INFORMATIONAL - 1–39 -
LOW - 40–69 -
MEDIUM - 70–89 -
HIGH - 90–100 -
CRITICAL
- 0 -
- Returns:
this
-
product
@Stability(Stable) public CfnAutomationRulePropsMixin.SeverityUpdateProperty.Builder product(Number product) Sets the value ofCfnAutomationRulePropsMixin.SeverityUpdateProperty.getProduct()- Parameters:
product- The native severity as defined by the AWS service or integrated partner product that generated the finding.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutomationRulePropsMixin.SeverityUpdateProperty>- Returns:
- a new instance of
CfnAutomationRulePropsMixin.SeverityUpdateProperty - Throws:
NullPointerException- if any required attribute was not provided
-