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

      • getPerPartitionBytes

        public final String getPerPartitionBytes()
        Description copied from interface: PubsubLiteTopicRetentionConfig
        The provisioned storage, in bytes, per partition.

        If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_lite_topic#per_partition_bytes PubsubLiteTopic#per_partition_bytes}

        Specified by:
        getPerPartitionBytes in interface PubsubLiteTopicRetentionConfig
      • getPeriod

        public final String getPeriod()
        Description copied from interface: PubsubLiteTopicRetentionConfig
        How long a published message is retained.

        If unset, messages will be retained as long as the bytes retained for each partition is below perPartitionBytes. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_lite_topic#period PubsubLiteTopic#period}

        Specified by:
        getPeriod in interface PubsubLiteTopicRetentionConfig
      • $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