Class StorageBucketConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.storage_bucket.StorageBucketConfig.Jsii$Proxy
-
- All Implemented Interfaces:
StorageBucketConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- StorageBucketConfig
@Stability(Stable) @Internal public static final class StorageBucketConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StorageBucketConfig
An implementation forStorageBucketConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.storage_bucket.StorageBucketConfig
StorageBucketConfig.Builder, StorageBucketConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(StorageBucketConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theStorageBucketConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StorageBucketAutoclassgetAutoclass()autoclass block.ObjectgetConnection()ObjectgetCors()cors block.ObjectgetCount()StorageBucketCustomPlacementConfiggetCustomPlacementConfig()custom_placement_config block.ObjectgetDefaultEventBasedHold()Whether or not to automatically apply an eventBasedHold to new objects added to the bucket.List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()ObjectgetEnableObjectRetention()Enables each object in the bucket to have its own retention policy, which prevents deletion until stored for a specific length of time.StorageBucketEncryptiongetEncryption()encryption block.ObjectgetForceDestroy()When deleting a bucket, this boolean option will delete all contained objects.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#id StorageBucket#id}.Map<String,String>getLabels()A set of key/value label pairs to assign to the bucket.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()ObjectgetLifecycleRule()lifecycle_rule block.StringgetLocation()The Google Cloud Storage location.StorageBucketLogginggetLogging()logging block.StringgetName()The name of the bucket.StringgetProject()The ID of the project in which the resource belongs.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()StringgetPublicAccessPrevention()Prevents public access to a bucket.ObjectgetRequesterPays()Enables Requester Pays on a storage bucket.StorageBucketRetentionPolicygetRetentionPolicy()retention_policy block.StringgetRpo()Specifies the RPO setting of bucket.StorageBucketSoftDeletePolicygetSoftDeletePolicy()soft_delete_policy block.StringgetStorageClass()The Storage Class of the new bucket.StorageBucketTimeoutsgetTimeouts()timeouts block.ObjectgetUniformBucketLevelAccess()Enables uniform bucket-level access on a bucket.StorageBucketVersioninggetVersioning()versioning block.StorageBucketWebsitegetWebsite()website block.inthashCode()
-
-
-
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.
-
Jsii$Proxy
protected Jsii$Proxy(StorageBucketConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theStorageBucketConfig.Builder.
-
-
Method Detail
-
getLocation
public final String getLocation()
Description copied from interface:StorageBucketConfigThe 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:
getLocationin interfaceStorageBucketConfig
-
getName
public final String getName()
Description copied from interface:StorageBucketConfigThe 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:
getNamein interfaceStorageBucketConfig
-
getAutoclass
public final StorageBucketAutoclass getAutoclass()
Description copied from interface:StorageBucketConfigautoclass 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:
getAutoclassin interfaceStorageBucketConfig
-
getCors
public final Object getCors()
Description copied from interface:StorageBucketConfigcors 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:
getCorsin interfaceStorageBucketConfig
-
getCustomPlacementConfig
public final StorageBucketCustomPlacementConfig getCustomPlacementConfig()
Description copied from interface:StorageBucketConfigcustom_placement_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#custom_placement_config StorageBucket#custom_placement_config}
- Specified by:
getCustomPlacementConfigin interfaceStorageBucketConfig
-
getDefaultEventBasedHold
public final Object getDefaultEventBasedHold()
Description copied from interface:StorageBucketConfigWhether 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:
getDefaultEventBasedHoldin interfaceStorageBucketConfig
-
getEnableObjectRetention
public final Object getEnableObjectRetention()
Description copied from interface:StorageBucketConfigEnables 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:
getEnableObjectRetentionin interfaceStorageBucketConfig
-
getEncryption
public final StorageBucketEncryption getEncryption()
Description copied from interface:StorageBucketConfigencryption 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:
getEncryptionin interfaceStorageBucketConfig
-
getForceDestroy
public final Object getForceDestroy()
Description copied from interface:StorageBucketConfigWhen 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:
getForceDestroyin interfaceStorageBucketConfig
-
getId
public final String getId()
Description copied from interface:StorageBucketConfigDocs 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:
getIdin interfaceStorageBucketConfig
-
getLabels
public final Map<String,String> getLabels()
Description copied from interface:StorageBucketConfigA 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:
getLabelsin interfaceStorageBucketConfig
-
getLifecycleRule
public final Object getLifecycleRule()
Description copied from interface:StorageBucketConfiglifecycle_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:
getLifecycleRulein interfaceStorageBucketConfig
-
getLogging
public final StorageBucketLogging getLogging()
Description copied from interface:StorageBucketConfiglogging 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:
getLoggingin interfaceStorageBucketConfig
-
getProject
public final String getProject()
Description copied from interface:StorageBucketConfigThe 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:
getProjectin interfaceStorageBucketConfig
-
getPublicAccessPrevention
public final String getPublicAccessPrevention()
Description copied from interface:StorageBucketConfigPrevents 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:
getPublicAccessPreventionin interfaceStorageBucketConfig
-
getRequesterPays
public final Object getRequesterPays()
Description copied from interface:StorageBucketConfigEnables 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:
getRequesterPaysin interfaceStorageBucketConfig
-
getRetentionPolicy
public final StorageBucketRetentionPolicy getRetentionPolicy()
Description copied from interface:StorageBucketConfigretention_policy block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#retention_policy StorageBucket#retention_policy}
- Specified by:
getRetentionPolicyin interfaceStorageBucketConfig
-
getRpo
public final String getRpo()
Description copied from interface:StorageBucketConfigSpecifies 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:
getRpoin interfaceStorageBucketConfig
-
getSoftDeletePolicy
public final StorageBucketSoftDeletePolicy getSoftDeletePolicy()
Description copied from interface:StorageBucketConfigsoft_delete_policy block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#soft_delete_policy StorageBucket#soft_delete_policy}
- Specified by:
getSoftDeletePolicyin interfaceStorageBucketConfig
-
getStorageClass
public final String getStorageClass()
Description copied from interface:StorageBucketConfigThe 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:
getStorageClassin interfaceStorageBucketConfig
-
getTimeouts
public final StorageBucketTimeouts getTimeouts()
Description copied from interface:StorageBucketConfigtimeouts 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:
getTimeoutsin interfaceStorageBucketConfig
-
getUniformBucketLevelAccess
public final Object getUniformBucketLevelAccess()
Description copied from interface:StorageBucketConfigEnables 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:
getUniformBucketLevelAccessin interfaceStorageBucketConfig
-
getVersioning
public final StorageBucketVersioning getVersioning()
Description copied from interface:StorageBucketConfigversioning 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:
getVersioningin interfaceStorageBucketConfig
-
getWebsite
public final StorageBucketWebsite getWebsite()
Description copied from interface:StorageBucketConfigwebsite 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:
getWebsitein interfaceStorageBucketConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-