Class CfnPublishingDestinationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.guardduty.CfnPublishingDestinationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublishingDestinationPropsMixin>
- Enclosing class:
CfnPublishingDestinationPropsMixin
@Stability(Stable)
public static final class CfnPublishingDestinationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPublishingDestinationPropsMixin>
A fluent builder for
CfnPublishingDestinationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) destinationProperties(CfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty destinationProperties) Contains the Amazon Resource Name (ARN) of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings.destinationProperties(IResolvable destinationProperties) Contains the Amazon Resource Name (ARN) of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings.destinationType(String destinationType) The type of publishing destination.detectorId(String detectorId) The ID of the GuardDuty detector where the publishing destination exists.tags(List<? extends CfnPublishingDestinationPropsMixin.TagItemProperty> tags) Describes a tag.
-
Method Details
-
create
@Stability(Stable) public static CfnPublishingDestinationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPublishingDestinationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPublishingDestinationPropsMixin.Builder.
-
destinationProperties
@Stability(Stable) public CfnPublishingDestinationPropsMixin.Builder destinationProperties(IResolvable destinationProperties) Contains the Amazon Resource Name (ARN) of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings.- Parameters:
destinationProperties- Contains the Amazon Resource Name (ARN) of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings. This parameter is required.- Returns:
this- See Also:
-
destinationProperties
@Stability(Stable) public CfnPublishingDestinationPropsMixin.Builder destinationProperties(CfnPublishingDestinationPropsMixin.CFNDestinationPropertiesProperty destinationProperties) Contains the Amazon Resource Name (ARN) of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings.- Parameters:
destinationProperties- Contains the Amazon Resource Name (ARN) of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings. This parameter is required.- Returns:
this- See Also:
-
destinationType
@Stability(Stable) public CfnPublishingDestinationPropsMixin.Builder destinationType(String destinationType) The type of publishing destination.GuardDuty supports Amazon S3 buckets as a publishing destination.
- Parameters:
destinationType- The type of publishing destination. This parameter is required.- Returns:
this- See Also:
-
detectorId
The ID of the GuardDuty detector where the publishing destination exists.- Parameters:
detectorId- The ID of the GuardDuty detector where the publishing destination exists. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnPublishingDestinationPropsMixin.Builder tags(List<? extends CfnPublishingDestinationPropsMixin.TagItemProperty> tags) Describes a tag.- Parameters:
tags- Describes a tag. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPublishingDestinationPropsMixin>- Returns:
- a newly built instance of
CfnPublishingDestinationPropsMixin.
-