Package com.pulumi.aws.s3
Class BucketServerSideEncryptionConfigurationV2Args.Builder
- java.lang.Object
-
- com.pulumi.aws.s3.BucketServerSideEncryptionConfigurationV2Args.Builder
-
- Enclosing class:
- BucketServerSideEncryptionConfigurationV2Args
public static final class BucketServerSideEncryptionConfigurationV2Args.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(BucketServerSideEncryptionConfigurationV2Args defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BucketServerSideEncryptionConfigurationV2Args.Builder
bucket(com.pulumi.core.Output<java.lang.String> bucket)
BucketServerSideEncryptionConfigurationV2Args.Builder
bucket(java.lang.String bucket)
BucketServerSideEncryptionConfigurationV2Args
build()
BucketServerSideEncryptionConfigurationV2Args.Builder
expectedBucketOwner(com.pulumi.core.Output<java.lang.String> expectedBucketOwner)
BucketServerSideEncryptionConfigurationV2Args.Builder
expectedBucketOwner(java.lang.String expectedBucketOwner)
BucketServerSideEncryptionConfigurationV2Args.Builder
rules(BucketServerSideEncryptionConfigurationV2RuleArgs... rules)
BucketServerSideEncryptionConfigurationV2Args.Builder
rules(com.pulumi.core.Output<java.util.List<BucketServerSideEncryptionConfigurationV2RuleArgs>> rules)
BucketServerSideEncryptionConfigurationV2Args.Builder
rules(java.util.List<BucketServerSideEncryptionConfigurationV2RuleArgs> rules)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(BucketServerSideEncryptionConfigurationV2Args defaults)
-
-
Method Detail
-
bucket
public BucketServerSideEncryptionConfigurationV2Args.Builder bucket(com.pulumi.core.Output<java.lang.String> bucket)
- Parameters:
bucket
- ID (name) of the bucket.- Returns:
- builder
-
bucket
public BucketServerSideEncryptionConfigurationV2Args.Builder bucket(java.lang.String bucket)
- Parameters:
bucket
- ID (name) of the bucket.- Returns:
- builder
-
expectedBucketOwner
public BucketServerSideEncryptionConfigurationV2Args.Builder expectedBucketOwner(@Nullable com.pulumi.core.Output<java.lang.String> expectedBucketOwner)
- Parameters:
expectedBucketOwner
- Account ID of the expected bucket owner.- Returns:
- builder
-
expectedBucketOwner
public BucketServerSideEncryptionConfigurationV2Args.Builder expectedBucketOwner(java.lang.String expectedBucketOwner)
- Parameters:
expectedBucketOwner
- Account ID of the expected bucket owner.- Returns:
- builder
-
rules
public BucketServerSideEncryptionConfigurationV2Args.Builder rules(com.pulumi.core.Output<java.util.List<BucketServerSideEncryptionConfigurationV2RuleArgs>> rules)
- Parameters:
rules
- Set of server-side encryption configuration rules. See below. Currently, only a single rule is supported.- Returns:
- builder
-
rules
public BucketServerSideEncryptionConfigurationV2Args.Builder rules(java.util.List<BucketServerSideEncryptionConfigurationV2RuleArgs> rules)
- Parameters:
rules
- Set of server-side encryption configuration rules. See below. Currently, only a single rule is supported.- Returns:
- builder
-
rules
public BucketServerSideEncryptionConfigurationV2Args.Builder rules(BucketServerSideEncryptionConfigurationV2RuleArgs... rules)
- Parameters:
rules
- Set of server-side encryption configuration rules. See below. Currently, only a single rule is supported.- Returns:
- builder
-
build
public BucketServerSideEncryptionConfigurationV2Args build()
-
-