Class RetentionDescriptionArgs.Builder

  • Enclosing class:
    RetentionDescriptionArgs

    public static final class RetentionDescriptionArgs.Builder
    extends java.lang.Object
    • Method Detail

      • cleanupPolicy

        public RetentionDescriptionArgs.Builder cleanupPolicy​(java.lang.String cleanupPolicy)
        Parameters:
        cleanupPolicy - Enumerates the possible values for cleanup policy
        Returns:
        builder
      • retentionTimeInHours

        public RetentionDescriptionArgs.Builder retentionTimeInHours​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.Double> retentionTimeInHours)
        Parameters:
        retentionTimeInHours - Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue
        Returns:
        builder
      • retentionTimeInHours

        public RetentionDescriptionArgs.Builder retentionTimeInHours​(java.lang.Double retentionTimeInHours)
        Parameters:
        retentionTimeInHours - Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue
        Returns:
        builder
      • tombstoneRetentionTimeInHours

        public RetentionDescriptionArgs.Builder tombstoneRetentionTimeInHours​(@Nullable
                                                                              com.pulumi.core.Output<java.lang.Integer> tombstoneRetentionTimeInHours)
        Parameters:
        tombstoneRetentionTimeInHours - Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub
        Returns:
        builder
      • tombstoneRetentionTimeInHours

        public RetentionDescriptionArgs.Builder tombstoneRetentionTimeInHours​(java.lang.Integer tombstoneRetentionTimeInHours)
        Parameters:
        tombstoneRetentionTimeInHours - Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub
        Returns:
        builder