Class StorageBucketLifecycleRuleCondition.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.storage_bucket.StorageBucketLifecycleRuleCondition.Jsii$Proxy
-
- All Implemented Interfaces:
StorageBucketLifecycleRuleCondition,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- StorageBucketLifecycleRuleCondition
@Stability(Stable) @Internal public static final class StorageBucketLifecycleRuleCondition.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StorageBucketLifecycleRuleCondition
An implementation forStorageBucketLifecycleRuleCondition
-
-
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.StorageBucketLifecycleRuleCondition
StorageBucketLifecycleRuleCondition.Builder, StorageBucketLifecycleRuleCondition.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(StorageBucketLifecycleRuleCondition.Builder builder)Constructor that initializes the object based on literal property values passed by theStorageBucketLifecycleRuleCondition.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)NumbergetAge()Minimum age of an object in days to satisfy this condition.StringgetCreatedBefore()Creation date of an object in RFC 3339 (e.g.StringgetCustomTimeBefore()Creation date of an object in RFC 3339 (e.g.NumbergetDaysSinceCustomTime()Number of days elapsed since the user-specified timestamp set on an object.NumbergetDaysSinceNoncurrentTime()Number of days elapsed since the noncurrent timestamp of an object.List<String>getMatchesPrefix()One or more matching name prefixes to satisfy this condition.List<String>getMatchesStorageClass()Storage Class of objects to satisfy this condition.List<String>getMatchesSuffix()One or more matching name suffixes to satisfy this condition.ObjectgetNoAge()While set true, age value will be omitted.Required to set true when age is unset in the config file.StringgetNoncurrentTimeBefore()Creation date of an object in RFC 3339 (e.g.NumbergetNumNewerVersions()Relevant only for versioned objects.ObjectgetSendAgeIfZero()While set true, age value will be sent in the request even for zero value of the field.ObjectgetSendDaysSinceCustomTimeIfZero()While set true, days_since_custom_time value will be sent in the request even for zero value of the field.ObjectgetSendDaysSinceNoncurrentTimeIfZero()While set true, days_since_noncurrent_time value will be sent in the request even for zero value of the field.ObjectgetSendNumNewerVersionsIfZero()While set true, num_newer_versions value will be sent in the request even for zero value of the field.StringgetWithState()Match to live and/or archived objects.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(StorageBucketLifecycleRuleCondition.Builder builder)
Constructor that initializes the object based on literal property values passed by theStorageBucketLifecycleRuleCondition.Builder.
-
-
Method Detail
-
getAge
public final Number getAge()
Description copied from interface:StorageBucketLifecycleRuleConditionMinimum age of an object in days to satisfy this condition.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#age StorageBucket#age}
- Specified by:
getAgein interfaceStorageBucketLifecycleRuleCondition
-
getCreatedBefore
public final String getCreatedBefore()
Description copied from interface:StorageBucketLifecycleRuleConditionCreation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#created_before StorageBucket#created_before}
- Specified by:
getCreatedBeforein interfaceStorageBucketLifecycleRuleCondition
-
getCustomTimeBefore
public final String getCustomTimeBefore()
Description copied from interface:StorageBucketLifecycleRuleConditionCreation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#custom_time_before StorageBucket#custom_time_before}
- Specified by:
getCustomTimeBeforein interfaceStorageBucketLifecycleRuleCondition
-
getDaysSinceCustomTime
public final Number getDaysSinceCustomTime()
Description copied from interface:StorageBucketLifecycleRuleConditionNumber of days elapsed since the user-specified timestamp set on an object.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#days_since_custom_time StorageBucket#days_since_custom_time}
- Specified by:
getDaysSinceCustomTimein interfaceStorageBucketLifecycleRuleCondition
-
getDaysSinceNoncurrentTime
public final Number getDaysSinceNoncurrentTime()
Description copied from interface:StorageBucketLifecycleRuleConditionNumber of days elapsed since the noncurrent timestamp of an object. This condition is relevant only for versioned objects.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#days_since_noncurrent_time StorageBucket#days_since_noncurrent_time}
- Specified by:
getDaysSinceNoncurrentTimein interfaceStorageBucketLifecycleRuleCondition
-
getMatchesPrefix
public final List<String> getMatchesPrefix()
Description copied from interface:StorageBucketLifecycleRuleConditionOne or more matching name prefixes to satisfy this condition.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#matches_prefix StorageBucket#matches_prefix}
- Specified by:
getMatchesPrefixin interfaceStorageBucketLifecycleRuleCondition
-
getMatchesStorageClass
public final List<String> getMatchesStorageClass()
Description copied from interface:StorageBucketLifecycleRuleConditionStorage Class of objects to satisfy this condition. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, DURABLE_REDUCED_AVAILABILITY.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#matches_storage_class StorageBucket#matches_storage_class}
- Specified by:
getMatchesStorageClassin interfaceStorageBucketLifecycleRuleCondition
-
getMatchesSuffix
public final List<String> getMatchesSuffix()
Description copied from interface:StorageBucketLifecycleRuleConditionOne or more matching name suffixes to satisfy this condition.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#matches_suffix StorageBucket#matches_suffix}
- Specified by:
getMatchesSuffixin interfaceStorageBucketLifecycleRuleCondition
-
getNoAge
public final Object getNoAge()
Description copied from interface:StorageBucketLifecycleRuleConditionWhile set true, age value will be omitted.Required to set true when age is unset in the config file.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#no_age StorageBucket#no_age}
- Specified by:
getNoAgein interfaceStorageBucketLifecycleRuleCondition
-
getNoncurrentTimeBefore
public final String getNoncurrentTimeBefore()
Description copied from interface:StorageBucketLifecycleRuleConditionCreation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#noncurrent_time_before StorageBucket#noncurrent_time_before}
- Specified by:
getNoncurrentTimeBeforein interfaceStorageBucketLifecycleRuleCondition
-
getNumNewerVersions
public final Number getNumNewerVersions()
Description copied from interface:StorageBucketLifecycleRuleConditionRelevant only for versioned objects. The number of newer versions of an object to satisfy this condition.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#num_newer_versions StorageBucket#num_newer_versions}
- Specified by:
getNumNewerVersionsin interfaceStorageBucketLifecycleRuleCondition
-
getSendAgeIfZero
public final Object getSendAgeIfZero()
Description copied from interface:StorageBucketLifecycleRuleConditionWhile set true, age value will be sent in the request even for zero value of the field.This field is only useful for setting 0 value to the age field. It can be used alone or together with age. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#send_age_if_zero StorageBucket#send_age_if_zero}
- Specified by:
getSendAgeIfZeroin interfaceStorageBucketLifecycleRuleCondition
-
getSendDaysSinceCustomTimeIfZero
public final Object getSendDaysSinceCustomTimeIfZero()
Description copied from interface:StorageBucketLifecycleRuleConditionWhile set true, days_since_custom_time value will be sent in the request even for zero value of the field.This field is only useful for setting 0 value to the days_since_custom_time field. It can be used alone or together with days_since_custom_time. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#send_days_since_custom_time_if_zero StorageBucket#send_days_since_custom_time_if_zero}
- Specified by:
getSendDaysSinceCustomTimeIfZeroin interfaceStorageBucketLifecycleRuleCondition
-
getSendDaysSinceNoncurrentTimeIfZero
public final Object getSendDaysSinceNoncurrentTimeIfZero()
Description copied from interface:StorageBucketLifecycleRuleConditionWhile set true, days_since_noncurrent_time value will be sent in the request even for zero value of the field.This field is only useful for setting 0 value to the days_since_noncurrent_time field. It can be used alone or together with days_since_noncurrent_time. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#send_days_since_noncurrent_time_if_zero StorageBucket#send_days_since_noncurrent_time_if_zero}
- Specified by:
getSendDaysSinceNoncurrentTimeIfZeroin interfaceStorageBucketLifecycleRuleCondition
-
getSendNumNewerVersionsIfZero
public final Object getSendNumNewerVersionsIfZero()
Description copied from interface:StorageBucketLifecycleRuleConditionWhile set true, num_newer_versions value will be sent in the request even for zero value of the field.This field is only useful for setting 0 value to the num_newer_versions field. It can be used alone or together with num_newer_versions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#send_num_newer_versions_if_zero StorageBucket#send_num_newer_versions_if_zero}
- Specified by:
getSendNumNewerVersionsIfZeroin interfaceStorageBucketLifecycleRuleCondition
-
getWithState
public final String getWithState()
Description copied from interface:StorageBucketLifecycleRuleConditionMatch to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#with_state StorageBucket#with_state}
- Specified by:
getWithStatein interfaceStorageBucketLifecycleRuleCondition
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-