Class BucketState.Builder

  • Enclosing class:
    BucketState

    public static final class BucketState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public BucketState.Builder arn​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the Lightsail bucket.
        Returns:
        builder
      • arn

        public BucketState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the Lightsail bucket.
        Returns:
        builder
      • availabilityZone

        public BucketState.Builder availabilityZone​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - Availability Zone. Follows the format us-east-2a (case-sensitive).
        Returns:
        builder
      • availabilityZone

        public BucketState.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - Availability Zone. Follows the format us-east-2a (case-sensitive).
        Returns:
        builder
      • bundleId

        public BucketState.Builder bundleId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> bundleId)
        Parameters:
        bundleId - Bundle ID to use for the bucket. A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. Use the [get-bucket-bundles](https://docs.aws.amazon.com/cli/latest/reference/lightsail/get-bucket-bundles.html) CLI command to get a list of bundle IDs that you can specify.
        Returns:
        builder
      • bundleId

        public BucketState.Builder bundleId​(java.lang.String bundleId)
        Parameters:
        bundleId - Bundle ID to use for the bucket. A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. Use the [get-bucket-bundles](https://docs.aws.amazon.com/cli/latest/reference/lightsail/get-bucket-bundles.html) CLI command to get a list of bundle IDs that you can specify.
        Returns:
        builder
      • createdAt

        public BucketState.Builder createdAt​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> createdAt)
        Parameters:
        createdAt - Date and time when the bucket was created.
        Returns:
        builder
      • createdAt

        public BucketState.Builder createdAt​(java.lang.String createdAt)
        Parameters:
        createdAt - Date and time when the bucket was created.
        Returns:
        builder
      • forceDelete

        public BucketState.Builder forceDelete​(@Nullable
                                               com.pulumi.core.Output<java.lang.Boolean> forceDelete)
        Parameters:
        forceDelete - Whether to force delete non-empty buckets using `pulumi destroy`. AWS by default will not delete a bucket which is not empty, to prevent losing bucket data and affecting other resources in Lightsail. If `forceDelete` is set to `true` the bucket will be deleted even when not empty.
        Returns:
        builder
      • forceDelete

        public BucketState.Builder forceDelete​(java.lang.Boolean forceDelete)
        Parameters:
        forceDelete - Whether to force delete non-empty buckets using `pulumi destroy`. AWS by default will not delete a bucket which is not empty, to prevent losing bucket data and affecting other resources in Lightsail. If `forceDelete` is set to `true` the bucket will be deleted even when not empty.
        Returns:
        builder
      • name

        public BucketState.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name for the bucket. The following arguments are optional:
        Returns:
        builder
      • name

        public BucketState.Builder name​(java.lang.String name)
        Parameters:
        name - Name for the bucket. The following arguments are optional:
        Returns:
        builder
      • region

        public BucketState.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 BucketState.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
      • supportCode

        public BucketState.Builder supportCode​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> supportCode)
        Parameters:
        supportCode - Support code for the resource. Include this code in your email to support when you have questions about a resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
        Returns:
        builder
      • supportCode

        public BucketState.Builder supportCode​(java.lang.String supportCode)
        Parameters:
        supportCode - Support code for the resource. Include this code in your email to support when you have questions about a resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
        Returns:
        builder
      • tags

        public BucketState.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 resource. To create a key-only tag, use an empty string as the value. 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 BucketState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. 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 BucketState.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 BucketState.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
      • url

        public BucketState.Builder url​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> url)
        Parameters:
        url - URL of the bucket.
        Returns:
        builder
      • url

        public BucketState.Builder url​(java.lang.String url)
        Parameters:
        url - URL of the bucket.
        Returns:
        builder