Class CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty>
- Enclosing interface:
CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty
@Stability(Stable)
public static final class CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.confidence(Number confidence) criticality(Number criticality) note(IResolvable note) relatedFindings(List<? extends Object> relatedFindings) relatedFindings(IResolvable relatedFindings) severity(IResolvable severity) userDefinedFields(Map<String, String> userDefinedFields) userDefinedFields(IResolvable userDefinedFields) verificationState(String verificationState) workflow(IResolvable workflow)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
confidence
@Stability(Stable) public CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder confidence(Number confidence) Sets the value ofCfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.getConfidence()- Parameters:
confidence- The rule action updates theConfidencefield of a finding.- Returns:
this
-
criticality
@Stability(Stable) public CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder criticality(Number criticality) Sets the value ofCfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.getCriticality()- Parameters:
criticality- The rule action updates theCriticalityfield of a finding.- Returns:
this
-
note
@Stability(Stable) public CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder note(IResolvable note) - Parameters:
note- The rule action will update theNotefield of a finding.- Returns:
this
-
note
@Stability(Stable) public CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder note(CfnAutomationRulePropsMixin.NoteUpdateProperty note) - Parameters:
note- The rule action will update theNotefield of a finding.- Returns:
this
-
severity
@Stability(Stable) public CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder severity(IResolvable severity) Sets the value ofCfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.getSeverity()- Parameters:
severity- The rule action will update theSeverityfield of a finding.- Returns:
this
-
severity
@Stability(Stable) public CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder severity(CfnAutomationRulePropsMixin.SeverityUpdateProperty severity) Sets the value ofCfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.getSeverity()- Parameters:
severity- The rule action will update theSeverityfield of a finding.- Returns:
this
-
types
@Stability(Stable) public CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder types(List<String> types) - Parameters:
types- The rule action updates theTypesfield of a finding.- Returns:
this
-
userDefinedFields
@Stability(Stable) public CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder userDefinedFields(Map<String, String> userDefinedFields) Sets the value ofCfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.getUserDefinedFields()- Parameters:
userDefinedFields- The rule action updates theUserDefinedFieldsfield of a finding.- Returns:
this
-
userDefinedFields
@Stability(Stable) public CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder userDefinedFields(IResolvable userDefinedFields) Sets the value ofCfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.getUserDefinedFields()- Parameters:
userDefinedFields- The rule action updates theUserDefinedFieldsfield of a finding.- Returns:
this
-
verificationState
@Stability(Stable) public CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder verificationState(String verificationState) Sets the value ofCfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.getVerificationState()- Parameters:
verificationState- The rule action updates theVerificationStatefield of a finding.- Returns:
this
-
workflow
@Stability(Stable) public CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder workflow(IResolvable workflow) Sets the value ofCfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.getWorkflow()- Parameters:
workflow- The rule action will update theWorkflowfield of a finding.- Returns:
this
-
workflow
@Stability(Stable) public CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.Builder workflow(CfnAutomationRulePropsMixin.WorkflowUpdateProperty workflow) Sets the value ofCfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty.getWorkflow()- Parameters:
workflow- The rule action will update theWorkflowfield of a finding.- Returns:
this
-
build
@Stability(Stable) public CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty>- Returns:
- a new instance of
CfnAutomationRulePropsMixin.AutomationRulesFindingFieldsUpdateProperty - Throws:
NullPointerException- if any required attribute was not provided
-