Class CfnAutomationRulePropsMixin.RelatedFindingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnAutomationRulePropsMixin.RelatedFindingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRulePropsMixin.RelatedFindingProperty>
- Enclosing interface:
CfnAutomationRulePropsMixin.RelatedFindingProperty
@Stability(Stable)
public static final class CfnAutomationRulePropsMixin.RelatedFindingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRulePropsMixin.RelatedFindingProperty>
A builder for
CfnAutomationRulePropsMixin.RelatedFindingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAutomationRulePropsMixin.RelatedFindingProperty.getId()productArn(String productArn) Sets the value ofCfnAutomationRulePropsMixin.RelatedFindingProperty.getProductArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnAutomationRulePropsMixin.RelatedFindingProperty.getId()- Parameters:
id- The product-generated identifier for a related finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.- Returns:
this
-
productArn
@Stability(Stable) public CfnAutomationRulePropsMixin.RelatedFindingProperty.Builder productArn(String productArn) Sets the value ofCfnAutomationRulePropsMixin.RelatedFindingProperty.getProductArn()- Parameters:
productArn- The Amazon Resource Name (ARN) for the product that generated a related finding.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutomationRulePropsMixin.RelatedFindingProperty>- Returns:
- a new instance of
CfnAutomationRulePropsMixin.RelatedFindingProperty - Throws:
NullPointerException- if any required attribute was not provided
-