Interface StorageBucketLifecycleRuleCondition

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    StorageBucketLifecycleRuleCondition.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:22.823Z")
    @Stability(Stable)
    public interface StorageBucketLifecycleRuleCondition
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getAge

        @Stability(Stable)
        @Nullable
        default Number getAge()
        Minimum 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}

      • getCreatedBefore

        @Stability(Stable)
        @Nullable
        default String getCreatedBefore()
        Creation 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}

      • getCustomTimeBefore

        @Stability(Stable)
        @Nullable
        default String getCustomTimeBefore()
        Creation 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}

      • getDaysSinceCustomTime

        @Stability(Stable)
        @Nullable
        default Number getDaysSinceCustomTime()
        Number 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}

      • getDaysSinceNoncurrentTime

        @Stability(Stable)
        @Nullable
        default Number getDaysSinceNoncurrentTime()
        Number 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}

      • getMatchesPrefix

        @Stability(Stable)
        @Nullable
        default List<String> getMatchesPrefix()
        One 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}

      • getMatchesStorageClass

        @Stability(Stable)
        @Nullable
        default List<String> getMatchesStorageClass()
        Storage 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}

      • getMatchesSuffix

        @Stability(Stable)
        @Nullable
        default List<String> getMatchesSuffix()
        One 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}

      • getNoAge

        @Stability(Stable)
        @Nullable
        default Object getNoAge()
        While 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}

      • getNoncurrentTimeBefore

        @Stability(Stable)
        @Nullable
        default String getNoncurrentTimeBefore()
        Creation 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}

      • getNumNewerVersions

        @Stability(Stable)
        @Nullable
        default Number getNumNewerVersions()
        Relevant 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}

      • getSendAgeIfZero

        @Stability(Stable)
        @Nullable
        default Object getSendAgeIfZero()
        While 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}

      • getSendDaysSinceCustomTimeIfZero

        @Stability(Stable)
        @Nullable
        default Object getSendDaysSinceCustomTimeIfZero()
        While 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}

      • getSendDaysSinceNoncurrentTimeIfZero

        @Stability(Stable)
        @Nullable
        default Object getSendDaysSinceNoncurrentTimeIfZero()
        While 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}

      • getSendNumNewerVersionsIfZero

        @Stability(Stable)
        @Nullable
        default Object getSendNumNewerVersionsIfZero()
        While 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}

      • getWithState

        @Stability(Stable)
        @Nullable
        default String getWithState()
        Match 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}