Class CfnAutomationRule.SeverityUpdateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnAutomationRule.SeverityUpdateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRule.SeverityUpdateProperty>
- Enclosing interface:
CfnAutomationRule.SeverityUpdateProperty
@Stability(Stable)
public static final class CfnAutomationRule.SeverityUpdateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRule.SeverityUpdateProperty>
A builder for
CfnAutomationRule.SeverityUpdateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAutomationRule.SeverityUpdateProperty.getLabel()normalized(Number normalized) Sets the value ofCfnAutomationRule.SeverityUpdateProperty.getNormalized()Sets the value ofCfnAutomationRule.SeverityUpdateProperty.getProduct()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
label
Sets the value ofCfnAutomationRule.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 CfnAutomationRule.SeverityUpdateProperty.Builder normalized(Number normalized) Sets the value ofCfnAutomationRule.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
Sets the value ofCfnAutomationRule.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<CfnAutomationRule.SeverityUpdateProperty>- Returns:
- a new instance of
CfnAutomationRule.SeverityUpdateProperty - Throws:
NullPointerException- if any required attribute was not provided
-