Package com.pulumi.aws.s3.inputs
Class BucketV2ObjectLockConfigurationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.s3.inputs.BucketV2ObjectLockConfigurationArgs.Builder
-
- Enclosing class:
- BucketV2ObjectLockConfigurationArgs
public static final class BucketV2ObjectLockConfigurationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(BucketV2ObjectLockConfigurationArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BucketV2ObjectLockConfigurationArgsbuild()BucketV2ObjectLockConfigurationArgs.BuilderobjectLockEnabled(com.pulumi.core.Output<java.lang.String> objectLockEnabled)Deprecated.object_lock_enabled is deprecated.BucketV2ObjectLockConfigurationArgs.BuilderobjectLockEnabled(java.lang.String objectLockEnabled)Deprecated.object_lock_enabled is deprecated.BucketV2ObjectLockConfigurationArgs.Builderrules(BucketV2ObjectLockConfigurationRuleArgs... rules)Deprecated.rule is deprecated.BucketV2ObjectLockConfigurationArgs.Builderrules(com.pulumi.core.Output<java.util.List<BucketV2ObjectLockConfigurationRuleArgs>> rules)Deprecated.rule is deprecated.BucketV2ObjectLockConfigurationArgs.Builderrules(java.util.List<BucketV2ObjectLockConfigurationRuleArgs> rules)Deprecated.rule is deprecated.
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(BucketV2ObjectLockConfigurationArgs defaults)
-
-
Method Detail
-
objectLockEnabled
@Deprecated public BucketV2ObjectLockConfigurationArgs.Builder objectLockEnabled(@Nullable com.pulumi.core.Output<java.lang.String> objectLockEnabled)
Deprecated.object_lock_enabled is deprecated. Use the top-level parameter objectLockEnabled instead.- Parameters:
objectLockEnabled- Whether this bucket has an Object Lock configuration enabled. Valid value is `Enabled`. Use the top-level argument `objectLockEnabled` instead.- Returns:
- builder
-
objectLockEnabled
@Deprecated public BucketV2ObjectLockConfigurationArgs.Builder objectLockEnabled(java.lang.String objectLockEnabled)
Deprecated.object_lock_enabled is deprecated. Use the top-level parameter objectLockEnabled instead.- Parameters:
objectLockEnabled- Whether this bucket has an Object Lock configuration enabled. Valid value is `Enabled`. Use the top-level argument `objectLockEnabled` instead.- Returns:
- builder
-
rules
@Deprecated public BucketV2ObjectLockConfigurationArgs.Builder rules(@Nullable com.pulumi.core.Output<java.util.List<BucketV2ObjectLockConfigurationRuleArgs>> rules)
Deprecated.rule is deprecated. Use the aws.s3.BucketObjectLockConfiguration resource instead.- Parameters:
rules- Object Lock rule in place for this bucket. See `object_lock_configuration.rule` Block below for details.- Returns:
- builder
-
rules
@Deprecated public BucketV2ObjectLockConfigurationArgs.Builder rules(java.util.List<BucketV2ObjectLockConfigurationRuleArgs> rules)
Deprecated.rule is deprecated. Use the aws.s3.BucketObjectLockConfiguration resource instead.- Parameters:
rules- Object Lock rule in place for this bucket. See `object_lock_configuration.rule` Block below for details.- Returns:
- builder
-
rules
@Deprecated public BucketV2ObjectLockConfigurationArgs.Builder rules(BucketV2ObjectLockConfigurationRuleArgs... rules)
Deprecated.rule is deprecated. Use the aws.s3.BucketObjectLockConfiguration resource instead.- Parameters:
rules- Object Lock rule in place for this bucket. See `object_lock_configuration.rule` Block below for details.- Returns:
- builder
-
build
public BucketV2ObjectLockConfigurationArgs build()
-
-