Class CfnEventAction.AutoExportRevisionDestinationEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dataexchange.CfnEventAction.AutoExportRevisionDestinationEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventAction.AutoExportRevisionDestinationEntryProperty>
- Enclosing interface:
CfnEventAction.AutoExportRevisionDestinationEntryProperty
@Stability(Stable)
public static final class CfnEventAction.AutoExportRevisionDestinationEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventAction.AutoExportRevisionDestinationEntryProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnEventAction.AutoExportRevisionDestinationEntryProperty.getBucket()build()Builds the configured instance.keyPattern(String keyPattern)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnEventAction.AutoExportRevisionDestinationEntryProperty.Builder bucket(String bucket) Sets the value ofCfnEventAction.AutoExportRevisionDestinationEntryProperty.getBucket()- Parameters:
bucket- The Amazon S3 bucket that is the destination for the event action. This parameter is required.- Returns:
this
-
keyPattern
@Stability(Stable) public CfnEventAction.AutoExportRevisionDestinationEntryProperty.Builder keyPattern(String keyPattern) - Parameters:
keyPattern- A string representing the pattern for generated names of the individual assets in the revision.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventAction.AutoExportRevisionDestinationEntryProperty>- Returns:
- a new instance of
CfnEventAction.AutoExportRevisionDestinationEntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-