Package com.pulumi.aws.s3.inputs
Class BucketObjectLockConfigurationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.s3.inputs.BucketObjectLockConfigurationArgs.Builder
-
- Enclosing class:
- BucketObjectLockConfigurationArgs
public static final class BucketObjectLockConfigurationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(BucketObjectLockConfigurationArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BucketObjectLockConfigurationArgsbuild()BucketObjectLockConfigurationArgs.BuilderobjectLockEnabled(com.pulumi.core.Output<java.lang.String> objectLockEnabled)Deprecated.object_lock_enabled is deprecated.BucketObjectLockConfigurationArgs.BuilderobjectLockEnabled(java.lang.String objectLockEnabled)Deprecated.object_lock_enabled is deprecated.BucketObjectLockConfigurationArgs.Builderrule(BucketObjectLockConfigurationRuleArgs rule)Deprecated.rule is deprecated.BucketObjectLockConfigurationArgs.Builderrule(com.pulumi.core.Output<BucketObjectLockConfigurationRuleArgs> rule)Deprecated.rule is deprecated.
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(BucketObjectLockConfigurationArgs defaults)
-
-
Method Detail
-
objectLockEnabled
@Deprecated public BucketObjectLockConfigurationArgs.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 BucketObjectLockConfigurationArgs.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
-
rule
@Deprecated public BucketObjectLockConfigurationArgs.Builder rule(@Nullable com.pulumi.core.Output<BucketObjectLockConfigurationRuleArgs> rule)
Deprecated.rule is deprecated. Use the aws.s3.BucketObjectLockConfiguration resource instead.- Parameters:
rule- Object Lock rule in place for this bucket. See `object_lock_configuration.rule` Block below for details.- Returns:
- builder
-
rule
@Deprecated public BucketObjectLockConfigurationArgs.Builder rule(BucketObjectLockConfigurationRuleArgs rule)
Deprecated.rule is deprecated. Use the aws.s3.BucketObjectLockConfiguration resource instead.- Parameters:
rule- Object Lock rule in place for this bucket. See `object_lock_configuration.rule` Block below for details.- Returns:
- builder
-
build
public BucketObjectLockConfigurationArgs build()
-
-