Class CfnBucket.MetadataConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.MetadataConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.MetadataConfigurationProperty>
- Enclosing interface:
CfnBucket.MetadataConfigurationProperty
@Stability(Stable)
public static final class CfnBucket.MetadataConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.MetadataConfigurationProperty>
A builder for
CfnBucket.MetadataConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotationTableConfiguration(IResolvable annotationTableConfiguration) annotationTableConfiguration(CfnBucket.AnnotationTableConfigurationProperty annotationTableConfiguration) build()Builds the configured instance.destination(IResolvable destination) Sets the value ofCfnBucket.MetadataConfigurationProperty.getDestination()destination(CfnBucket.MetadataDestinationProperty destination) Sets the value ofCfnBucket.MetadataConfigurationProperty.getDestination()inventoryTableConfiguration(IResolvable inventoryTableConfiguration) Sets the value ofCfnBucket.MetadataConfigurationProperty.getInventoryTableConfiguration()inventoryTableConfiguration(CfnBucket.InventoryTableConfigurationProperty inventoryTableConfiguration) Sets the value ofCfnBucket.MetadataConfigurationProperty.getInventoryTableConfiguration()journalTableConfiguration(IResolvable journalTableConfiguration) Sets the value ofCfnBucket.MetadataConfigurationProperty.getJournalTableConfiguration()journalTableConfiguration(CfnBucket.JournalTableConfigurationProperty journalTableConfiguration) Sets the value ofCfnBucket.MetadataConfigurationProperty.getJournalTableConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
journalTableConfiguration
@Stability(Stable) public CfnBucket.MetadataConfigurationProperty.Builder journalTableConfiguration(IResolvable journalTableConfiguration) Sets the value ofCfnBucket.MetadataConfigurationProperty.getJournalTableConfiguration()- Parameters:
journalTableConfiguration- The journal table configuration for a metadata configuration. This parameter is required.- Returns:
this
-
journalTableConfiguration
@Stability(Stable) public CfnBucket.MetadataConfigurationProperty.Builder journalTableConfiguration(CfnBucket.JournalTableConfigurationProperty journalTableConfiguration) Sets the value ofCfnBucket.MetadataConfigurationProperty.getJournalTableConfiguration()- Parameters:
journalTableConfiguration- The journal table configuration for a metadata configuration. This parameter is required.- Returns:
this
-
annotationTableConfiguration
@Stability(Stable) public CfnBucket.MetadataConfigurationProperty.Builder annotationTableConfiguration(IResolvable annotationTableConfiguration) - 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 CfnBucket.MetadataConfigurationProperty.Builder annotationTableConfiguration(CfnBucket.AnnotationTableConfigurationProperty annotationTableConfiguration) - 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 CfnBucket.MetadataConfigurationProperty.Builder destination(IResolvable destination) Sets the value ofCfnBucket.MetadataConfigurationProperty.getDestination()- Parameters:
destination- The destination information for the S3 Metadata configuration.- Returns:
this
-
destination
@Stability(Stable) public CfnBucket.MetadataConfigurationProperty.Builder destination(CfnBucket.MetadataDestinationProperty destination) Sets the value ofCfnBucket.MetadataConfigurationProperty.getDestination()- Parameters:
destination- The destination information for the S3 Metadata configuration.- Returns:
this
-
inventoryTableConfiguration
@Stability(Stable) public CfnBucket.MetadataConfigurationProperty.Builder inventoryTableConfiguration(IResolvable inventoryTableConfiguration) Sets the value ofCfnBucket.MetadataConfigurationProperty.getInventoryTableConfiguration()- Parameters:
inventoryTableConfiguration- The inventory table configuration for a metadata configuration.- Returns:
this
-
inventoryTableConfiguration
@Stability(Stable) public CfnBucket.MetadataConfigurationProperty.Builder inventoryTableConfiguration(CfnBucket.InventoryTableConfigurationProperty inventoryTableConfiguration) Sets the value ofCfnBucket.MetadataConfigurationProperty.getInventoryTableConfiguration()- Parameters:
inventoryTableConfiguration- The inventory table configuration for a metadata configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucket.MetadataConfigurationProperty>- Returns:
- a new instance of
CfnBucket.MetadataConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-