Class CfnAutomationRuleV2.AutomationRulesActionV2Property.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnAutomationRuleV2.AutomationRulesActionV2Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRuleV2.AutomationRulesActionV2Property>
- Enclosing interface:
CfnAutomationRuleV2.AutomationRulesActionV2Property
@Stability(Stable)
public static final class CfnAutomationRuleV2.AutomationRulesActionV2Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRuleV2.AutomationRulesActionV2Property>
A builder for
CfnAutomationRuleV2.AutomationRulesActionV2Property
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.externalIntegrationConfiguration
(IResolvable externalIntegrationConfiguration) externalIntegrationConfiguration
(CfnAutomationRuleV2.ExternalIntegrationConfigurationProperty externalIntegrationConfiguration) findingFieldsUpdate
(IResolvable findingFieldsUpdate) findingFieldsUpdate
(CfnAutomationRuleV2.AutomationRulesFindingFieldsUpdateV2Property findingFieldsUpdate) Sets the value ofCfnAutomationRuleV2.AutomationRulesActionV2Property.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnAutomationRuleV2.AutomationRulesActionV2Property.Builder type(String type) Sets the value ofCfnAutomationRuleV2.AutomationRulesActionV2Property.getType()
- Parameters:
type
- Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule. This parameter is required.- Returns:
this
-
externalIntegrationConfiguration
@Stability(Stable) public CfnAutomationRuleV2.AutomationRulesActionV2Property.Builder externalIntegrationConfiguration(IResolvable externalIntegrationConfiguration) Sets the value ofCfnAutomationRuleV2.AutomationRulesActionV2Property.getExternalIntegrationConfiguration()
- Parameters:
externalIntegrationConfiguration
- The settings for integrating automation rule actions with external systems or service.- Returns:
this
-
externalIntegrationConfiguration
@Stability(Stable) public CfnAutomationRuleV2.AutomationRulesActionV2Property.Builder externalIntegrationConfiguration(CfnAutomationRuleV2.ExternalIntegrationConfigurationProperty externalIntegrationConfiguration) Sets the value ofCfnAutomationRuleV2.AutomationRulesActionV2Property.getExternalIntegrationConfiguration()
- Parameters:
externalIntegrationConfiguration
- The settings for integrating automation rule actions with external systems or service.- Returns:
this
-
findingFieldsUpdate
@Stability(Stable) public CfnAutomationRuleV2.AutomationRulesActionV2Property.Builder findingFieldsUpdate(IResolvable findingFieldsUpdate) - Parameters:
findingFieldsUpdate
- Specifies that the automation rule action is an update to a finding field.- Returns:
this
-
findingFieldsUpdate
@Stability(Stable) public CfnAutomationRuleV2.AutomationRulesActionV2Property.Builder findingFieldsUpdate(CfnAutomationRuleV2.AutomationRulesFindingFieldsUpdateV2Property findingFieldsUpdate) - Parameters:
findingFieldsUpdate
- Specifies that the automation rule action is an update to a finding field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAutomationRuleV2.AutomationRulesActionV2Property>
- Returns:
- a new instance of
CfnAutomationRuleV2.AutomationRulesActionV2Property
- Throws:
NullPointerException
- if any required attribute was not provided
-