Class CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3express.CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty>
- Enclosing interface:
CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty
@Stability(Stable)
public static final class CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destination(IResolvable destination) Sets the value ofCfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.getEnabled()Sets the value ofCfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.getId()includedObjectVersions(String includedObjectVersions) optionalFields(List<String> optionalFields) Sets the value ofCfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.getPrefix()scheduleFrequency(String scheduleFrequency)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
@Stability(Stable) public CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.Builder destination(IResolvable destination) - Parameters:
destination- Specifies information about where to publish inventory reports for an Amazon S3 Express bucket.- Returns:
this
-
destination
@Stability(Stable) public CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.Builder destination(CfnDirectoryBucketPropsMixin.DestinationProperty destination) - Parameters:
destination- Specifies information about where to publish inventory reports for an Amazon S3 Express bucket.- Returns:
this
-
enabled
@Stability(Stable) public CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.getEnabled()- Parameters:
enabled- Specifies whether the inventory is enabled or disabled.- Returns:
this
-
enabled
@Stability(Stable) public CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.getEnabled()- Parameters:
enabled- Specifies whether the inventory is enabled or disabled.- Returns:
this
-
id
@Stability(Stable) public CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.Builder id(String id) Sets the value ofCfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.getId()- Parameters:
id- The ID used to identify the inventory configuration.- Returns:
this
-
includedObjectVersions
@Stability(Stable) public CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.Builder includedObjectVersions(String includedObjectVersions) Sets the value ofCfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.getIncludedObjectVersions()- Parameters:
includedObjectVersions- Object versions to include in the inventory list.- Returns:
this
-
optionalFields
@Stability(Stable) public CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.Builder optionalFields(List<String> optionalFields) - Parameters:
optionalFields- Contains the optional fields that are included in the inventory results.- Returns:
this
-
prefix
@Stability(Stable) public CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.Builder prefix(String prefix) Sets the value ofCfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.getPrefix()- Parameters:
prefix- The prefix that is prepended to all inventory results.- Returns:
this
-
scheduleFrequency
@Stability(Stable) public CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.Builder scheduleFrequency(String scheduleFrequency) Sets the value ofCfnDirectoryBucketPropsMixin.InventoryConfigurationProperty.getScheduleFrequency()- Parameters:
scheduleFrequency- Specifies the schedule for generating inventory results.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty>- Returns:
- a new instance of
CfnDirectoryBucketPropsMixin.InventoryConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-