Package com.pulumi.gcp.pubsub.outputs
Class LiteTopicRetentionConfig
- java.lang.Object
-
- com.pulumi.gcp.pubsub.outputs.LiteTopicRetentionConfig
-
public final class LiteTopicRetentionConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LiteTopicRetentionConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LiteTopicRetentionConfig.Builder
builder()
static LiteTopicRetentionConfig.Builder
builder(LiteTopicRetentionConfig defaults)
java.util.Optional<java.lang.String>
period()
java.lang.String
perPartitionBytes()
-
-
-
Method Detail
-
perPartitionBytes
public java.lang.String perPartitionBytes()
- Returns:
- 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.
-
period
public java.util.Optional<java.lang.String> period()
- Returns:
- 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".
-
builder
public static LiteTopicRetentionConfig.Builder builder()
-
builder
public static LiteTopicRetentionConfig.Builder builder(LiteTopicRetentionConfig defaults)
-
-