Class StorageBucketConfig.Jsii$Proxy

    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getLocation

        public final String getLocation()
        Description copied from interface: StorageBucketConfig
        The Google Cloud Storage location.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#location StorageBucket#location}

        Specified by:
        getLocation in interface StorageBucketConfig
      • getName

        public final String getName()
        Description copied from interface: StorageBucketConfig
        The name of the bucket.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#name StorageBucket#name}

        Specified by:
        getName in interface StorageBucketConfig
      • getAutoclass

        public final StorageBucketAutoclass getAutoclass()
        Description copied from interface: StorageBucketConfig
        autoclass block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#autoclass StorageBucket#autoclass}

        Specified by:
        getAutoclass in interface StorageBucketConfig
      • getCors

        public final Object getCors()
        Description copied from interface: StorageBucketConfig
        cors block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#cors StorageBucket#cors}

        Specified by:
        getCors in interface StorageBucketConfig
      • getDefaultEventBasedHold

        public final Object getDefaultEventBasedHold()
        Description copied from interface: StorageBucketConfig
        Whether or not to automatically apply an eventBasedHold to new objects added to the bucket.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#default_event_based_hold StorageBucket#default_event_based_hold}

        Specified by:
        getDefaultEventBasedHold in interface StorageBucketConfig
      • getEnableObjectRetention

        public final Object getEnableObjectRetention()
        Description copied from interface: StorageBucketConfig
        Enables each object in the bucket to have its own retention policy, which prevents deletion until stored for a specific length of time.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#enable_object_retention StorageBucket#enable_object_retention}

        Specified by:
        getEnableObjectRetention in interface StorageBucketConfig
      • getEncryption

        public final StorageBucketEncryption getEncryption()
        Description copied from interface: StorageBucketConfig
        encryption block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#encryption StorageBucket#encryption}

        Specified by:
        getEncryption in interface StorageBucketConfig
      • getForceDestroy

        public final Object getForceDestroy()
        Description copied from interface: StorageBucketConfig
        When deleting a bucket, this boolean option will delete all contained objects.

        If you try to delete a bucket that contains objects, Terraform will fail that run. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#force_destroy StorageBucket#force_destroy}

        Specified by:
        getForceDestroy in interface StorageBucketConfig
      • getId

        public final String getId()
        Description copied from interface: StorageBucketConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#id StorageBucket#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Specified by:
        getId in interface StorageBucketConfig
      • getLabels

        public final Map<String,​String> getLabels()
        Description copied from interface: StorageBucketConfig
        A set of key/value label pairs to assign to the bucket.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#labels StorageBucket#labels}

        Specified by:
        getLabels in interface StorageBucketConfig
      • getLifecycleRule

        public final Object getLifecycleRule()
        Description copied from interface: StorageBucketConfig
        lifecycle_rule block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#lifecycle_rule StorageBucket#lifecycle_rule}

        Specified by:
        getLifecycleRule in interface StorageBucketConfig
      • getLogging

        public final StorageBucketLogging getLogging()
        Description copied from interface: StorageBucketConfig
        logging block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#logging StorageBucket#logging}

        Specified by:
        getLogging in interface StorageBucketConfig
      • getProject

        public final String getProject()
        Description copied from interface: StorageBucketConfig
        The ID of the project in which the resource belongs.

        If it is not provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#project StorageBucket#project}

        Specified by:
        getProject in interface StorageBucketConfig
      • getPublicAccessPrevention

        public final String getPublicAccessPrevention()
        Description copied from interface: StorageBucketConfig
        Prevents public access to a bucket.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#public_access_prevention StorageBucket#public_access_prevention}

        Specified by:
        getPublicAccessPrevention in interface StorageBucketConfig
      • getRequesterPays

        public final Object getRequesterPays()
        Description copied from interface: StorageBucketConfig
        Enables Requester Pays on a storage bucket.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#requester_pays StorageBucket#requester_pays}

        Specified by:
        getRequesterPays in interface StorageBucketConfig
      • getRpo

        public final String getRpo()
        Description copied from interface: StorageBucketConfig
        Specifies the RPO setting of bucket.

        If set 'ASYNC_TURBO', The Turbo Replication will be enabled for the dual-region bucket. Value 'DEFAULT' will set RPO setting to default. Turbo Replication is only for buckets in dual-regions.See the docs for more details. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#rpo StorageBucket#rpo}

        Specified by:
        getRpo in interface StorageBucketConfig
      • getStorageClass

        public final String getStorageClass()
        Description copied from interface: StorageBucketConfig
        The Storage Class of the new bucket. Supported values include: STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#storage_class StorageBucket#storage_class}

        Specified by:
        getStorageClass in interface StorageBucketConfig
      • getTimeouts

        public final StorageBucketTimeouts getTimeouts()
        Description copied from interface: StorageBucketConfig
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#timeouts StorageBucket#timeouts}

        Specified by:
        getTimeouts in interface StorageBucketConfig
      • getUniformBucketLevelAccess

        public final Object getUniformBucketLevelAccess()
        Description copied from interface: StorageBucketConfig
        Enables uniform bucket-level access on a bucket.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#uniform_bucket_level_access StorageBucket#uniform_bucket_level_access}

        Specified by:
        getUniformBucketLevelAccess in interface StorageBucketConfig
      • getVersioning

        public final StorageBucketVersioning getVersioning()
        Description copied from interface: StorageBucketConfig
        versioning block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#versioning StorageBucket#versioning}

        Specified by:
        getVersioning in interface StorageBucketConfig
      • getWebsite

        public final StorageBucketWebsite getWebsite()
        Description copied from interface: StorageBucketConfig
        website block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#website StorageBucket#website}

        Specified by:
        getWebsite in interface StorageBucketConfig
      • getConnection

        public final Object getConnection()
        Specified by:
        getConnection in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getCount

        public final Object getCount()
        Specified by:
        getCount in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getDependsOn

        public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
        Specified by:
        getDependsOn in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getForEach

        public final com.hashicorp.cdktf.ITerraformIterator getForEach()
        Specified by:
        getForEach in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getLifecycle

        public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
        Specified by:
        getLifecycle in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvider

        public final com.hashicorp.cdktf.TerraformProvider getProvider()
        Specified by:
        getProvider in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvisioners

        public final List<Object> getProvisioners()
        Specified by:
        getProvisioners in interface com.hashicorp.cdktf.TerraformMetaArguments
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object