Class StorageBucketObject

  • All Implemented Interfaces:
    com.hashicorp.cdktf.IInterpolatingParent, com.hashicorp.cdktf.ITerraformAddressable, com.hashicorp.cdktf.ITerraformDependable, com.hashicorp.cdktf.ITerraformResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:22.841Z")
    @Stability(Stable)
    public class StorageBucketObject
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object google_storage_bucket_object}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • StorageBucketObject

        protected StorageBucketObject​(software.amazon.jsii.JsiiObjectRef objRef)
      • StorageBucketObject

        protected StorageBucketObject​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • StorageBucketObject

        @Stability(Stable)
        public StorageBucketObject​(@NotNull
                                   software.constructs.Construct scope,
                                   @NotNull
                                   String id,
                                   @NotNull
                                   StorageBucketObjectConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object google_storage_bucket_object} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config - This parameter is required.
    • Method Detail

      • generateConfigForImport

        @Stability(Stable)
        @NotNull
        public static com.hashicorp.cdktf.ImportableResource generateConfigForImport​(@NotNull
                                                                                     software.constructs.Construct scope,
                                                                                     @NotNull
                                                                                     String importToId,
                                                                                     @NotNull
                                                                                     String importFromId,
                                                                                     @Nullable
                                                                                     com.hashicorp.cdktf.TerraformProvider provider)
        Generates CDKTF code for importing a StorageBucketObject resource upon running "cdktf plan ".

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        importToId - The construct id used in the generated config for the StorageBucketObject to import. This parameter is required.
        importFromId - The id of the existing StorageBucketObject that should be imported. This parameter is required.
        provider - ? Optional instance of the provider where the StorageBucketObject to import is found.
      • generateConfigForImport

        @Stability(Stable)
        @NotNull
        public static com.hashicorp.cdktf.ImportableResource generateConfigForImport​(@NotNull
                                                                                     software.constructs.Construct scope,
                                                                                     @NotNull
                                                                                     String importToId,
                                                                                     @NotNull
                                                                                     String importFromId)
        Generates CDKTF code for importing a StorageBucketObject resource upon running "cdktf plan ".

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        importToId - The construct id used in the generated config for the StorageBucketObject to import. This parameter is required.
        importFromId - The id of the existing StorageBucketObject that should be imported. This parameter is required.
      • putRetention

        @Stability(Stable)
        public void putRetention​(@NotNull
                                 StorageBucketObjectRetention value)
        Parameters:
        value - This parameter is required.
      • putTimeouts

        @Stability(Stable)
        public void putTimeouts​(@NotNull
                                StorageBucketObjectTimeouts value)
        Parameters:
        value - This parameter is required.
      • resetCacheControl

        @Stability(Stable)
        public void resetCacheControl()
      • resetContent

        @Stability(Stable)
        public void resetContent()
      • resetContentDisposition

        @Stability(Stable)
        public void resetContentDisposition()
      • resetContentEncoding

        @Stability(Stable)
        public void resetContentEncoding()
      • resetContentLanguage

        @Stability(Stable)
        public void resetContentLanguage()
      • resetContentType

        @Stability(Stable)
        public void resetContentType()
      • resetCustomerEncryption

        @Stability(Stable)
        public void resetCustomerEncryption()
      • resetDetectMd5Hash

        @Stability(Stable)
        public void resetDetectMd5Hash()
      • resetEventBasedHold

        @Stability(Stable)
        public void resetEventBasedHold()
      • resetId

        @Stability(Stable)
        public void resetId()
      • resetKmsKeyName

        @Stability(Stable)
        public void resetKmsKeyName()
      • resetMetadata

        @Stability(Stable)
        public void resetMetadata()
      • resetRetention

        @Stability(Stable)
        public void resetRetention()
      • resetSource

        @Stability(Stable)
        public void resetSource()
      • resetStorageClass

        @Stability(Stable)
        public void resetStorageClass()
      • resetTemporaryHold

        @Stability(Stable)
        public void resetTemporaryHold()
      • resetTimeouts

        @Stability(Stable)
        public void resetTimeouts()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • synthesizeHclAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeHclAttributes()
        Overrides:
        synthesizeHclAttributes in class com.hashicorp.cdktf.TerraformResource
      • getCrc32C

        @Stability(Stable)
        @NotNull
        public String getCrc32C()
      • getGeneration

        @Stability(Stable)
        @NotNull
        public Number getGeneration()
      • getMd5Hash

        @Stability(Stable)
        @NotNull
        public String getMd5Hash()
      • getMediaLink

        @Stability(Stable)
        @NotNull
        public String getMediaLink()
      • getOutputName

        @Stability(Stable)
        @NotNull
        public String getOutputName()
      • getSelfLink

        @Stability(Stable)
        @NotNull
        public String getSelfLink()
      • getBucketInput

        @Stability(Stable)
        @Nullable
        public String getBucketInput()
      • getCacheControlInput

        @Stability(Stable)
        @Nullable
        public String getCacheControlInput()
      • getContentDispositionInput

        @Stability(Stable)
        @Nullable
        public String getContentDispositionInput()
      • getContentEncodingInput

        @Stability(Stable)
        @Nullable
        public String getContentEncodingInput()
      • getContentInput

        @Stability(Stable)
        @Nullable
        public String getContentInput()
      • getContentLanguageInput

        @Stability(Stable)
        @Nullable
        public String getContentLanguageInput()
      • getContentTypeInput

        @Stability(Stable)
        @Nullable
        public String getContentTypeInput()
      • getDetectMd5HashInput

        @Stability(Stable)
        @Nullable
        public String getDetectMd5HashInput()
      • getEventBasedHoldInput

        @Stability(Stable)
        @Nullable
        public Object getEventBasedHoldInput()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getKmsKeyNameInput

        @Stability(Stable)
        @Nullable
        public String getKmsKeyNameInput()
      • getMetadataInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getMetadataInput()
      • getNameInput

        @Stability(Stable)
        @Nullable
        public String getNameInput()
      • getSourceInput

        @Stability(Stable)
        @Nullable
        public String getSourceInput()
      • getStorageClassInput

        @Stability(Stable)
        @Nullable
        public String getStorageClassInput()
      • getTemporaryHoldInput

        @Stability(Stable)
        @Nullable
        public Object getTemporaryHoldInput()
      • getTimeoutsInput

        @Stability(Stable)
        @Nullable
        public Object getTimeoutsInput()
      • getBucket

        @Stability(Stable)
        @NotNull
        public String getBucket()
      • setBucket

        @Stability(Stable)
        public void setBucket​(@NotNull
                              String value)
      • getCacheControl

        @Stability(Stable)
        @NotNull
        public String getCacheControl()
      • setCacheControl

        @Stability(Stable)
        public void setCacheControl​(@NotNull
                                    String value)
      • getContent

        @Stability(Stable)
        @NotNull
        public String getContent()
      • setContent

        @Stability(Stable)
        public void setContent​(@NotNull
                               String value)
      • getContentDisposition

        @Stability(Stable)
        @NotNull
        public String getContentDisposition()
      • setContentDisposition

        @Stability(Stable)
        public void setContentDisposition​(@NotNull
                                          String value)
      • getContentEncoding

        @Stability(Stable)
        @NotNull
        public String getContentEncoding()
      • setContentEncoding

        @Stability(Stable)
        public void setContentEncoding​(@NotNull
                                       String value)
      • getContentLanguage

        @Stability(Stable)
        @NotNull
        public String getContentLanguage()
      • setContentLanguage

        @Stability(Stable)
        public void setContentLanguage​(@NotNull
                                       String value)
      • getContentType

        @Stability(Stable)
        @NotNull
        public String getContentType()
      • setContentType

        @Stability(Stable)
        public void setContentType​(@NotNull
                                   String value)
      • getDetectMd5Hash

        @Stability(Stable)
        @NotNull
        public String getDetectMd5Hash()
      • setDetectMd5Hash

        @Stability(Stable)
        public void setDetectMd5Hash​(@NotNull
                                     String value)
      • getEventBasedHold

        @Stability(Stable)
        @NotNull
        public Object getEventBasedHold()
      • setEventBasedHold

        @Stability(Stable)
        public void setEventBasedHold​(@NotNull
                                      Boolean value)
      • setEventBasedHold

        @Stability(Stable)
        public void setEventBasedHold​(@NotNull
                                      com.hashicorp.cdktf.IResolvable value)
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getKmsKeyName

        @Stability(Stable)
        @NotNull
        public String getKmsKeyName()
      • setKmsKeyName

        @Stability(Stable)
        public void setKmsKeyName​(@NotNull
                                  String value)
      • getMetadata

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getMetadata()
      • setMetadata

        @Stability(Stable)
        public void setMetadata​(@NotNull
                                Map<String,​String> value)
      • getName

        @Stability(Stable)
        @NotNull
        public String getName()
      • setName

        @Stability(Stable)
        public void setName​(@NotNull
                            String value)
      • getSource

        @Stability(Stable)
        @NotNull
        public String getSource()
      • setSource

        @Stability(Stable)
        public void setSource​(@NotNull
                              String value)
      • getStorageClass

        @Stability(Stable)
        @NotNull
        public String getStorageClass()
      • setStorageClass

        @Stability(Stable)
        public void setStorageClass​(@NotNull
                                    String value)
      • getTemporaryHold

        @Stability(Stable)
        @NotNull
        public Object getTemporaryHold()
      • setTemporaryHold

        @Stability(Stable)
        public void setTemporaryHold​(@NotNull
                                     Boolean value)
      • setTemporaryHold

        @Stability(Stable)
        public void setTemporaryHold​(@NotNull
                                     com.hashicorp.cdktf.IResolvable value)