@Stability(value=Stable) public static final class CfnBucket.InventoryConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.InventoryConfigurationProperty>
CfnBucket.InventoryConfigurationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnBucket.InventoryConfigurationProperty.Builder destination(CfnBucket.DestinationProperty destination)
CfnBucket.InventoryConfigurationProperty.getDestination()destination - Contains information about where to publish the inventory results. This parameter is required.this@Stability(value=Stable) public CfnBucket.InventoryConfigurationProperty.Builder destination(IResolvable destination)
CfnBucket.InventoryConfigurationProperty.getDestination()destination - Contains information about where to publish the inventory results. This parameter is required.this@Stability(value=Stable) public CfnBucket.InventoryConfigurationProperty.Builder enabled(Boolean enabled)
CfnBucket.InventoryConfigurationProperty.getEnabled()enabled - Specifies whether the inventory is enabled or disabled. This parameter is required.
If set to True , an inventory list is generated. If set to False , no inventory list is generated.this@Stability(value=Stable) public CfnBucket.InventoryConfigurationProperty.Builder enabled(IResolvable enabled)
CfnBucket.InventoryConfigurationProperty.getEnabled()enabled - Specifies whether the inventory is enabled or disabled. This parameter is required.
If set to True , an inventory list is generated. If set to False , no inventory list is generated.this@Stability(value=Stable) public CfnBucket.InventoryConfigurationProperty.Builder id(String id)
CfnBucket.InventoryConfigurationProperty.getId()id - The ID used to identify the inventory configuration. This parameter is required.this@Stability(value=Stable) public CfnBucket.InventoryConfigurationProperty.Builder includedObjectVersions(String includedObjectVersions)
CfnBucket.InventoryConfigurationProperty.getIncludedObjectVersions()includedObjectVersions - Object versions to include in the inventory list. This parameter is required.
If set to All , the list includes all the object versions, which adds the version-related fields VersionId , IsLatest , and DeleteMarker to the list. If set to Current , the list does not contain these version-related fields.this@Stability(value=Stable) public CfnBucket.InventoryConfigurationProperty.Builder scheduleFrequency(String scheduleFrequency)
CfnBucket.InventoryConfigurationProperty.getScheduleFrequency()scheduleFrequency - Specifies the schedule for generating inventory results. This parameter is required.
Allowed values : Daily | Weeklythis@Stability(value=Stable) public CfnBucket.InventoryConfigurationProperty.Builder optionalFields(List<String> optionalFields)
CfnBucket.InventoryConfigurationProperty.getOptionalFields()optionalFields - Contains the optional fields that are included in the inventory results.
Valid values : Size | LastModifiedDate | StorageClass | ETag | IsMultipartUploaded | ReplicationStatus | EncryptionStatus | ObjectLockRetainUntilDate | ObjectLockMode | ObjectLockLegalHoldStatus | IntelligentTieringAccessTier | BucketKeyStatusthis@Stability(value=Stable) public CfnBucket.InventoryConfigurationProperty.Builder prefix(String prefix)
CfnBucket.InventoryConfigurationProperty.getPrefix()prefix - Specifies the inventory filter prefix.this@Stability(value=Stable) public CfnBucket.InventoryConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.InventoryConfigurationProperty>CfnBucket.InventoryConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.