Class DirectoryBucketState.Builder

  • Enclosing class:
    DirectoryBucketState

    public static final class DirectoryBucketState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public DirectoryBucketState.Builder arn​(@Nullable
                                                com.pulumi.core.Output<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
      • 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