Package com.pulumi.aws.s3
Class BucketLoggingV2Args.Builder
- java.lang.Object
-
- com.pulumi.aws.s3.BucketLoggingV2Args.Builder
-
- Enclosing class:
- BucketLoggingV2Args
public static final class BucketLoggingV2Args.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(BucketLoggingV2Args defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(BucketLoggingV2Args defaults)
-
-
Method Detail
-
bucket
public BucketLoggingV2Args.Builder bucket(com.pulumi.core.Output<java.lang.String> bucket)
- Parameters:
bucket
- Name of the bucket.- Returns:
- builder
-
bucket
public BucketLoggingV2Args.Builder bucket(java.lang.String bucket)
- Parameters:
bucket
- Name of the bucket.- Returns:
- builder
-
expectedBucketOwner
public BucketLoggingV2Args.Builder expectedBucketOwner(@Nullable com.pulumi.core.Output<java.lang.String> expectedBucketOwner)
- Parameters:
expectedBucketOwner
- Account ID of the expected bucket owner.- Returns:
- builder
-
expectedBucketOwner
public BucketLoggingV2Args.Builder expectedBucketOwner(java.lang.String expectedBucketOwner)
- Parameters:
expectedBucketOwner
- Account ID of the expected bucket owner.- Returns:
- builder
-
targetBucket
public BucketLoggingV2Args.Builder targetBucket(com.pulumi.core.Output<java.lang.String> targetBucket)
- Parameters:
targetBucket
- Name of the bucket where you want Amazon S3 to store server access logs.- Returns:
- builder
-
targetBucket
public BucketLoggingV2Args.Builder targetBucket(java.lang.String targetBucket)
- Parameters:
targetBucket
- Name of the bucket where you want Amazon S3 to store server access logs.- Returns:
- builder
-
targetGrants
public BucketLoggingV2Args.Builder targetGrants(@Nullable com.pulumi.core.Output<java.util.List<BucketLoggingV2TargetGrantArgs>> targetGrants)
- Parameters:
targetGrants
- Set of configuration blocks with information for granting permissions. See below.- Returns:
- builder
-
targetGrants
public BucketLoggingV2Args.Builder targetGrants(java.util.List<BucketLoggingV2TargetGrantArgs> targetGrants)
- Parameters:
targetGrants
- Set of configuration blocks with information for granting permissions. See below.- Returns:
- builder
-
targetGrants
public BucketLoggingV2Args.Builder targetGrants(BucketLoggingV2TargetGrantArgs... targetGrants)
- Parameters:
targetGrants
- Set of configuration blocks with information for granting permissions. See below.- Returns:
- builder
-
targetObjectKeyFormat
public BucketLoggingV2Args.Builder targetObjectKeyFormat(@Nullable com.pulumi.core.Output<BucketLoggingV2TargetObjectKeyFormatArgs> targetObjectKeyFormat)
- Parameters:
targetObjectKeyFormat
- Amazon S3 key format for log objects. See below.- Returns:
- builder
-
targetObjectKeyFormat
public BucketLoggingV2Args.Builder targetObjectKeyFormat(BucketLoggingV2TargetObjectKeyFormatArgs targetObjectKeyFormat)
- Parameters:
targetObjectKeyFormat
- Amazon S3 key format for log objects. See below.- Returns:
- builder
-
targetPrefix
public BucketLoggingV2Args.Builder targetPrefix(com.pulumi.core.Output<java.lang.String> targetPrefix)
- Parameters:
targetPrefix
- Prefix for all log object keys.- Returns:
- builder
-
targetPrefix
public BucketLoggingV2Args.Builder targetPrefix(java.lang.String targetPrefix)
- Parameters:
targetPrefix
- Prefix for all log object keys.- Returns:
- builder
-
build
public BucketLoggingV2Args build()
-
-