Class UpdateShardCountRequest

    • Method Detail

      • streamName

        public final String streamName()

        The name of the stream.

        Returns:
        The name of the stream.
      • targetShardCount

        public final Integer targetShardCount()

        The new number of shards. This value has the following default limits. By default, you cannot do the following:

        • Set this value to more than double your current shard count for a stream.

        • Set this value below half your current shard count for a stream.

        • Set this value to more than 10000 shards in a stream (the default limit for shard count per stream is 10000 per account per region), unless you request a limit increase.

        • Scale a stream with more than 10000 shards down unless you set this value to less than 10000 shards.

        Returns:
        The new number of shards. This value has the following default limits. By default, you cannot do the following:

        • Set this value to more than double your current shard count for a stream.

        • Set this value below half your current shard count for a stream.

        • Set this value to more than 10000 shards in a stream (the default limit for shard count per stream is 10000 per account per region), unless you request a limit increase.

        • Scale a stream with more than 10000 shards down unless you set this value to less than 10000 shards.

      • scalingTypeAsString

        public final String scalingTypeAsString()

        The scaling type. Uniform scaling creates shards of equal size.

        If the service returns an enum value that is not available in the current SDK version, scalingType will return ScalingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from scalingTypeAsString().

        Returns:
        The scaling type. Uniform scaling creates shards of equal size.
        See Also:
        ScalingType
      • streamARN

        public final String streamARN()

        The ARN of the stream.

        Returns:
        The ARN of the stream.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object