Package com.pulumi.aws.s3.outputs
Class BucketV2ObjectLockConfiguration
- java.lang.Object
-
- com.pulumi.aws.s3.outputs.BucketV2ObjectLockConfiguration
-
public final class BucketV2ObjectLockConfiguration extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBucketV2ObjectLockConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BucketV2ObjectLockConfiguration.Builderbuilder()static BucketV2ObjectLockConfiguration.Builderbuilder(BucketV2ObjectLockConfiguration defaults)java.util.Optional<java.lang.String>objectLockEnabled()Deprecated.object_lock_enabled is deprecated.java.util.List<BucketV2ObjectLockConfigurationRule>rules()Deprecated.rule is deprecated.
-
-
-
Method Detail
-
objectLockEnabled
@Deprecated public java.util.Optional<java.lang.String> objectLockEnabled()
Deprecated.object_lock_enabled is deprecated. Use the top-level parameter objectLockEnabled instead.- Returns:
- Whether this bucket has an Object Lock configuration enabled. Valid value is `Enabled`. Use the top-level argument `objectLockEnabled` instead.
-
rules
@Deprecated public java.util.List<BucketV2ObjectLockConfigurationRule> rules()
Deprecated.rule is deprecated. Use the aws.s3.BucketObjectLockConfiguration resource instead.- Returns:
- Object Lock rule in place for this bucket. See `object_lock_configuration.rule` Block below for details.
-
builder
public static BucketV2ObjectLockConfiguration.Builder builder()
-
builder
public static BucketV2ObjectLockConfiguration.Builder builder(BucketV2ObjectLockConfiguration defaults)
-
-