Package com.pulumi.aws.s3.inputs
Class DirectoryBucketState.Builder
- java.lang.Object
-
- com.pulumi.aws.s3.inputs.DirectoryBucketState.Builder
-
- Enclosing class:
- DirectoryBucketState
public static final class DirectoryBucketState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(DirectoryBucketState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectoryBucketState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)DirectoryBucketState.Builderarn(java.lang.String arn)DirectoryBucketState.Builderbucket(com.pulumi.core.Output<java.lang.String> bucket)DirectoryBucketState.Builderbucket(java.lang.String bucket)DirectoryBucketStatebuild()DirectoryBucketState.BuilderdataRedundancy(com.pulumi.core.Output<java.lang.String> dataRedundancy)DirectoryBucketState.BuilderdataRedundancy(java.lang.String dataRedundancy)DirectoryBucketState.BuilderforceDestroy(com.pulumi.core.Output<java.lang.Boolean> forceDestroy)DirectoryBucketState.BuilderforceDestroy(java.lang.Boolean forceDestroy)DirectoryBucketState.Builderlocation(DirectoryBucketLocationArgs location)DirectoryBucketState.Builderlocation(com.pulumi.core.Output<DirectoryBucketLocationArgs> location)DirectoryBucketState.Builderregion(com.pulumi.core.Output<java.lang.String> region)DirectoryBucketState.Builderregion(java.lang.String region)DirectoryBucketState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)DirectoryBucketState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)DirectoryBucketState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)DirectoryBucketState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)DirectoryBucketState.Buildertype(com.pulumi.core.Output<java.lang.String> type)DirectoryBucketState.Buildertype(java.lang.String type)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DirectoryBucketState defaults)
-
-
Method Detail
-
arn
public DirectoryBucketState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the bucket.- Returns:
- builder
-
arn
public DirectoryBucketState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the bucket.- Returns:
- builder
-
bucket
public DirectoryBucketState.Builder bucket(@Nullable com.pulumi.core.Output<java.lang.String> bucket)
- Parameters:
bucket- Name of the bucket. The name must be in the format `[bucketName]--[azid]--x-s3`. Use the `aws.s3.Bucket` resource to manage general purpose buckets.- Returns:
- builder
-
bucket
public DirectoryBucketState.Builder bucket(java.lang.String bucket)
- Parameters:
bucket- Name of the bucket. The name must be in the format `[bucketName]--[azid]--x-s3`. Use the `aws.s3.Bucket` resource to manage general purpose buckets.- Returns:
- builder
-
dataRedundancy
public DirectoryBucketState.Builder dataRedundancy(@Nullable com.pulumi.core.Output<java.lang.String> dataRedundancy)
- Parameters:
dataRedundancy- Data redundancy. Valid values: `SingleAvailabilityZone`, `SingleLocalZone`. The default value depends on the value of the `location.type` attribute.- Returns:
- builder
-
dataRedundancy
public DirectoryBucketState.Builder dataRedundancy(java.lang.String dataRedundancy)
- Parameters:
dataRedundancy- Data redundancy. Valid values: `SingleAvailabilityZone`, `SingleLocalZone`. The default value depends on the value of the `location.type` attribute.- Returns:
- builder
-
forceDestroy
public DirectoryBucketState.Builder forceDestroy(@Nullable com.pulumi.core.Output<java.lang.Boolean> forceDestroy)
- Parameters:
forceDestroy- Boolean that indicates all objects should be deleted from the bucket *when the bucket is destroyed* so that the bucket can be destroyed without error. These objects are *not* recoverable. This only deletes objects when the bucket is destroyed, *not* when setting this parameter to `true`. Once this parameter is set to `true`, there must be a successful `pulumi up` run before a destroy is required to update this value in the resource state. Without a successful `pulumi up` after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the bucket or destroying the bucket, this flag will not work. Additionally when importing a bucket, a successful `pulumi up` is required to set this value in state before it will take effect on a destroy operation.- Returns:
- builder
-
forceDestroy
public DirectoryBucketState.Builder forceDestroy(java.lang.Boolean forceDestroy)
- Parameters:
forceDestroy- Boolean that indicates all objects should be deleted from the bucket *when the bucket is destroyed* so that the bucket can be destroyed without error. These objects are *not* recoverable. This only deletes objects when the bucket is destroyed, *not* when setting this parameter to `true`. Once this parameter is set to `true`, there must be a successful `pulumi up` run before a destroy is required to update this value in the resource state. Without a successful `pulumi up` after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the bucket or destroying the bucket, this flag will not work. Additionally when importing a bucket, a successful `pulumi up` is required to set this value in state before it will take effect on a destroy operation.- Returns:
- builder
-
location
public DirectoryBucketState.Builder location(@Nullable com.pulumi.core.Output<DirectoryBucketLocationArgs> location)
- Parameters:
location- Bucket location. See Location below for more details.- Returns:
- builder
-
location
public DirectoryBucketState.Builder location(DirectoryBucketLocationArgs location)
- Parameters:
location- Bucket location. See Location below for more details.- Returns:
- builder
-
region
public DirectoryBucketState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public DirectoryBucketState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
tags
public DirectoryBucketState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags to assign to the bucket. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public DirectoryBucketState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags to assign to the bucket. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public DirectoryBucketState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public DirectoryBucketState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
type
public DirectoryBucketState.Builder type(@Nullable com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- Bucket type. Valid values: `Directory`.- Returns:
- builder
-
type
public DirectoryBucketState.Builder type(java.lang.String type)
- Parameters:
type- Bucket type. Valid values: `Directory`.- Returns:
- builder
-
build
public DirectoryBucketState build()
-
-