Class TableUsageSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • secondsInPeriod

        public TableUsageSummary.Builder secondsInPeriod​(Integer secondsInPeriod)
        The length of the sampling period.
        Parameters:
        secondsInPeriod - the value to set
        Returns:
        this builder
      • readUnits

        public TableUsageSummary.Builder readUnits​(Integer readUnits)
        Read throughput during the sampling period.
        Parameters:
        readUnits - the value to set
        Returns:
        this builder
      • writeUnits

        public TableUsageSummary.Builder writeUnits​(Integer writeUnits)
        Write throughput during the sampling period.
        Parameters:
        writeUnits - the value to set
        Returns:
        this builder
      • storageInGBs

        public TableUsageSummary.Builder storageInGBs​(Integer storageInGBs)
        The size of the table, in GB.
        Parameters:
        storageInGBs - the value to set
        Returns:
        this builder
      • readThrottleCount

        public TableUsageSummary.Builder readThrottleCount​(Integer readThrottleCount)
        The number of times reads were throttled due to exceeding the read throughput limit.
        Parameters:
        readThrottleCount - the value to set
        Returns:
        this builder
      • writeThrottleCount

        public TableUsageSummary.Builder writeThrottleCount​(Integer writeThrottleCount)
        The number of times writes were throttled due to exceeding the write throughput limit.
        Parameters:
        writeThrottleCount - the value to set
        Returns:
        this builder
      • storageThrottleCount

        public TableUsageSummary.Builder storageThrottleCount​(Integer storageThrottleCount)
        The number of times writes were throttled because the table exceeded its size limit.
        Parameters:
        storageThrottleCount - the value to set
        Returns:
        this builder
      • maxShardSizeUsageInPercent

        public TableUsageSummary.Builder maxShardSizeUsageInPercent​(Integer maxShardSizeUsageInPercent)
        The percentage of allowed per-shard usage for the table shard with the highest usage.
        Parameters:
        maxShardSizeUsageInPercent - the value to set
        Returns:
        this builder
      • timeStarted

        public TableUsageSummary.Builder timeStarted​(Date timeStarted)
        The time stamp of this usage record.
        Parameters:
        timeStarted - the value to set
        Returns:
        this builder