Class StorageBucketObjectConfig.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

      • getBucket

        public final String getBucket()
        Description copied from interface: StorageBucketObjectConfig
        The name of the containing bucket.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#bucket StorageBucketObject#bucket}

        Specified by:
        getBucket in interface StorageBucketObjectConfig
      • getName

        public final String getName()
        Description copied from interface: StorageBucketObjectConfig
        The name of the object. If you're interpolating the name of this object, see output_name instead.

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

        Specified by:
        getName in interface StorageBucketObjectConfig
      • getCacheControl

        public final String getCacheControl()
        Description copied from interface: StorageBucketObjectConfig
        Cache-Control directive to specify caching behavior of object data.

        If omitted and object is accessible to all anonymous users, the default will be public, max-age=3600 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#cache_control StorageBucketObject#cache_control}

        Specified by:
        getCacheControl in interface StorageBucketObjectConfig
      • getContent

        public final String getContent()
        Description copied from interface: StorageBucketObjectConfig
        Data as string to be uploaded.

        Must be defined if source is not. Note: The content field is marked as sensitive. To view the raw contents of the object, please define an output. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#content StorageBucketObject#content}

        Specified by:
        getContent in interface StorageBucketObjectConfig
      • getContentDisposition

        public final String getContentDisposition()
        Description copied from interface: StorageBucketObjectConfig
        Content-Disposition of the object data.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#content_disposition StorageBucketObject#content_disposition}

        Specified by:
        getContentDisposition in interface StorageBucketObjectConfig
      • getContentEncoding

        public final String getContentEncoding()
        Description copied from interface: StorageBucketObjectConfig
        Content-Encoding of the object data.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#content_encoding StorageBucketObject#content_encoding}

        Specified by:
        getContentEncoding in interface StorageBucketObjectConfig
      • getContentLanguage

        public final String getContentLanguage()
        Description copied from interface: StorageBucketObjectConfig
        Content-Language of the object data.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#content_language StorageBucketObject#content_language}

        Specified by:
        getContentLanguage in interface StorageBucketObjectConfig
      • getContentType

        public final String getContentType()
        Description copied from interface: StorageBucketObjectConfig
        Content-Type of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8".

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#content_type StorageBucketObject#content_type}

        Specified by:
        getContentType in interface StorageBucketObjectConfig
      • getDetectMd5Hash

        public final String getDetectMd5Hash()
        Description copied from interface: StorageBucketObjectConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#detect_md5hash StorageBucketObject#detect_md5hash}.
        Specified by:
        getDetectMd5Hash in interface StorageBucketObjectConfig
      • getEventBasedHold

        public final Object getEventBasedHold()
        Description copied from interface: StorageBucketObjectConfig
        Whether an object is under event-based hold.

        Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#event_based_hold StorageBucketObject#event_based_hold}

        Specified by:
        getEventBasedHold in interface StorageBucketObjectConfig
      • getId

        public final String getId()
        Description copied from interface: StorageBucketObjectConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#id StorageBucketObject#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 StorageBucketObjectConfig
      • getKmsKeyName

        public final String getKmsKeyName()
        Description copied from interface: StorageBucketObjectConfig
        Resource name of the Cloud KMS key that will be used to encrypt the object.

        Overrides the object metadata's kmsKeyName value, if any. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#kms_key_name StorageBucketObject#kms_key_name}

        Specified by:
        getKmsKeyName in interface StorageBucketObjectConfig
      • getMetadata

        public final Map<String,​String> getMetadata()
        Description copied from interface: StorageBucketObjectConfig
        User-provided metadata, in key/value pairs.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#metadata StorageBucketObject#metadata}

        Specified by:
        getMetadata in interface StorageBucketObjectConfig
      • getSource

        public final String getSource()
        Description copied from interface: StorageBucketObjectConfig
        A path to the data you want to upload. Must be defined if content is not.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#source StorageBucketObject#source}

        Specified by:
        getSource in interface StorageBucketObjectConfig
      • getStorageClass

        public final String getStorageClass()
        Description copied from interface: StorageBucketObjectConfig
        The StorageClass of the new bucket object.

        Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. If not provided, this defaults to the bucket's default storage class or to a standard class. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#storage_class StorageBucketObject#storage_class}

        Specified by:
        getStorageClass in interface StorageBucketObjectConfig
      • getTemporaryHold

        public final Object getTemporaryHold()
        Description copied from interface: StorageBucketObjectConfig
        Whether an object is under temporary hold.

        While this flag is set to true, the object is protected against deletion and overwrites. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#temporary_hold StorageBucketObject#temporary_hold}

        Specified by:
        getTemporaryHold in interface StorageBucketObjectConfig
      • 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