Class CustomDetectionRuleAssociationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.guardduty.CustomDetectionRuleAssociationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CustomDetectionRuleAssociationReference>
- Enclosing interface:
CustomDetectionRuleAssociationReference
@Stability(Stable)
public static final class CustomDetectionRuleAssociationReference.Builder
extends Object
implements software.amazon.jsii.Builder<CustomDetectionRuleAssociationReference>
A builder for
CustomDetectionRuleAssociationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociationId(String associationId) Sets the value ofCustomDetectionRuleAssociationReference.getAssociationId()build()Builds the configured instance.customDetectionRuleAssociationArn(String customDetectionRuleAssociationArn) Sets the value ofCustomDetectionRuleAssociationReference.getRuleId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associationId
@Stability(Stable) public CustomDetectionRuleAssociationReference.Builder associationId(String associationId) Sets the value ofCustomDetectionRuleAssociationReference.getAssociationId()- Parameters:
associationId- The AssociationId of the CustomDetectionRuleAssociation resource. This parameter is required.- Returns:
this
-
customDetectionRuleAssociationArn
@Stability(Stable) public CustomDetectionRuleAssociationReference.Builder customDetectionRuleAssociationArn(String customDetectionRuleAssociationArn) - Parameters:
customDetectionRuleAssociationArn- The ARN of the CustomDetectionRuleAssociation resource. This parameter is required.- Returns:
this
-
ruleId
Sets the value ofCustomDetectionRuleAssociationReference.getRuleId()- Parameters:
ruleId- The RuleId of the CustomDetectionRuleAssociation resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CustomDetectionRuleAssociationReference>- Returns:
- a new instance of
CustomDetectionRuleAssociationReference - Throws:
NullPointerException- if any required attribute was not provided
-