| Package | Description |
|---|---|
| com.amazonaws.services.securityhub.model |
| Modifier and Type | Method and Description |
|---|---|
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails |
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.clone() |
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails |
AwsS3BucketObjectLockConfigurationRuleDetails.getDefaultRetention()
The default Object Lock retention mode and period that you want to apply to new objects placed in the specified
bucket.
|
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails |
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.withDays(Integer days)
The number of days that you want to specify for the default retention period.
|
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails |
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.withMode(String mode)
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.
|
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails |
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.withYears(Integer years)
The number of years that you want to specify for the default retention period.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AwsS3BucketObjectLockConfigurationRuleDetails.setDefaultRetention(AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails defaultRetention)
The default Object Lock retention mode and period that you want to apply to new objects placed in the specified
bucket.
|
AwsS3BucketObjectLockConfigurationRuleDetails |
AwsS3BucketObjectLockConfigurationRuleDetails.withDefaultRetention(AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails defaultRetention)
The default Object Lock retention mode and period that you want to apply to new objects placed in the specified
bucket.
|
Copyright © 2023. All rights reserved.