Class CfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.guardduty.CfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty>
- Enclosing interface:
CfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty
@Stability(Stable)
public static final class CfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationArn(String destinationArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationArn
@Stability(Stable) public CfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty.Builder destinationArn(String destinationArn) Sets the value ofCfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty.getDestinationArn()- Parameters:
destinationArn- The ARN of the resource where the findings are published.- Returns:
this
-
kmsKeyArn
@Stability(Stable) public CfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty.getKmsKeyArn()- Parameters:
kmsKeyArn- The ARN of the KMS key to use for encryption.- Returns:
this
-
build
@Stability(Stable) public CfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty>- Returns:
- a new instance of
CfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-