Package com.pulumi.aws.s3.outputs
Class BucketObjectLockConfiguration
- java.lang.Object
-
- com.pulumi.aws.s3.outputs.BucketObjectLockConfiguration
-
public final class BucketObjectLockConfiguration extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBucketObjectLockConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BucketObjectLockConfiguration.Builderbuilder()static BucketObjectLockConfiguration.Builderbuilder(BucketObjectLockConfiguration defaults)java.util.Optional<java.lang.String>objectLockEnabled()Deprecated.object_lock_enabled is deprecated.java.util.Optional<BucketObjectLockConfigurationRule>rule()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.
-
rule
@Deprecated public java.util.Optional<BucketObjectLockConfigurationRule> rule()
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 BucketObjectLockConfiguration.Builder builder()
-
builder
public static BucketObjectLockConfiguration.Builder builder(BucketObjectLockConfiguration defaults)
-
-