Class CfnBucketPropsMixin.MetadataConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.MetadataConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.MetadataConfigurationProperty>
- Enclosing interface:
CfnBucketPropsMixin.MetadataConfigurationProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.MetadataConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.MetadataConfigurationProperty>
A builder for
CfnBucketPropsMixin.MetadataConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotationTableConfiguration(CfnBucketPropsMixin.AnnotationTableConfigurationProperty annotationTableConfiguration) annotationTableConfiguration(IResolvable annotationTableConfiguration) build()Builds the configured instance.Sets the value ofCfnBucketPropsMixin.MetadataConfigurationProperty.getDestination()destination(IResolvable destination) Sets the value ofCfnBucketPropsMixin.MetadataConfigurationProperty.getDestination()inventoryTableConfiguration(CfnBucketPropsMixin.InventoryTableConfigurationProperty inventoryTableConfiguration) inventoryTableConfiguration(IResolvable inventoryTableConfiguration) journalTableConfiguration(CfnBucketPropsMixin.JournalTableConfigurationProperty journalTableConfiguration) journalTableConfiguration(IResolvable journalTableConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
annotationTableConfiguration
@Stability(Stable) public CfnBucketPropsMixin.MetadataConfigurationProperty.Builder annotationTableConfiguration(IResolvable annotationTableConfiguration) Sets the value ofCfnBucketPropsMixin.MetadataConfigurationProperty.getAnnotationTableConfiguration()- Parameters:
annotationTableConfiguration- The annotation table configuration for an S3 Metadata configuration. The annotation table tracks all annotations on objects in your bucket so that you can query annotation data at scale. If you've disabled your annotation table configuration and now want to re-enable it, you must first manually delete the old annotation table from your AWS managed table bucket. Otherwise, the newly re-enabled annotation table configuration will enter a failed state because the annotation table already exists in the table bucket.- Returns:
this
-
annotationTableConfiguration
@Stability(Stable) public CfnBucketPropsMixin.MetadataConfigurationProperty.Builder annotationTableConfiguration(CfnBucketPropsMixin.AnnotationTableConfigurationProperty annotationTableConfiguration) Sets the value ofCfnBucketPropsMixin.MetadataConfigurationProperty.getAnnotationTableConfiguration()- Parameters:
annotationTableConfiguration- The annotation table configuration for an S3 Metadata configuration. The annotation table tracks all annotations on objects in your bucket so that you can query annotation data at scale. If you've disabled your annotation table configuration and now want to re-enable it, you must first manually delete the old annotation table from your AWS managed table bucket. Otherwise, the newly re-enabled annotation table configuration will enter a failed state because the annotation table already exists in the table bucket.- Returns:
this
-
destination
@Stability(Stable) public CfnBucketPropsMixin.MetadataConfigurationProperty.Builder destination(IResolvable destination) Sets the value ofCfnBucketPropsMixin.MetadataConfigurationProperty.getDestination()- Parameters:
destination- The destination information for the S3 Metadata configuration.- Returns:
this
-
destination
@Stability(Stable) public CfnBucketPropsMixin.MetadataConfigurationProperty.Builder destination(CfnBucketPropsMixin.MetadataDestinationProperty destination) Sets the value ofCfnBucketPropsMixin.MetadataConfigurationProperty.getDestination()- Parameters:
destination- The destination information for the S3 Metadata configuration.- Returns:
this
-
inventoryTableConfiguration
@Stability(Stable) public CfnBucketPropsMixin.MetadataConfigurationProperty.Builder inventoryTableConfiguration(IResolvable inventoryTableConfiguration) Sets the value ofCfnBucketPropsMixin.MetadataConfigurationProperty.getInventoryTableConfiguration()- Parameters:
inventoryTableConfiguration- The inventory table configuration for a metadata configuration.- Returns:
this
-
inventoryTableConfiguration
@Stability(Stable) public CfnBucketPropsMixin.MetadataConfigurationProperty.Builder inventoryTableConfiguration(CfnBucketPropsMixin.InventoryTableConfigurationProperty inventoryTableConfiguration) Sets the value ofCfnBucketPropsMixin.MetadataConfigurationProperty.getInventoryTableConfiguration()- Parameters:
inventoryTableConfiguration- The inventory table configuration for a metadata configuration.- Returns:
this
-
journalTableConfiguration
@Stability(Stable) public CfnBucketPropsMixin.MetadataConfigurationProperty.Builder journalTableConfiguration(IResolvable journalTableConfiguration) - Parameters:
journalTableConfiguration- The journal table configuration for a metadata configuration.- Returns:
this
-
journalTableConfiguration
@Stability(Stable) public CfnBucketPropsMixin.MetadataConfigurationProperty.Builder journalTableConfiguration(CfnBucketPropsMixin.JournalTableConfigurationProperty journalTableConfiguration) - Parameters:
journalTableConfiguration- The journal table configuration for a metadata configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucketPropsMixin.MetadataConfigurationProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.MetadataConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-