JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.kinesis.model

Class UpdateShardCountRequest

    • Constructor Detail

      • UpdateShardCountRequest

        public UpdateShardCountRequest()
    • Method Detail

      • setStreamName

        public void setStreamName(String streamName)

        The name of the stream.

        Parameters:
        streamName - The name of the stream.
      • getStreamName

        public String getStreamName()

        The name of the stream.

        Returns:
        The name of the stream.
      • withStreamName

        public UpdateShardCountRequest withStreamName(String streamName)

        The name of the stream.

        Parameters:
        streamName - The name of the stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTargetShardCount

        public void setTargetShardCount(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.

        Parameters:
        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.

      • getTargetShardCount

        public Integer getTargetShardCount()

        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.

      • withTargetShardCount

        public UpdateShardCountRequest withTargetShardCount(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • setScalingType

        public void setScalingType(String scalingType)

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

        Parameters:
        scalingType - The scaling type. Uniform scaling creates shards of equal size.
        See Also:
        ScalingType
      • getScalingType

        public String getScalingType()

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

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

        public UpdateShardCountRequest withScalingType(String scalingType)

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

        Parameters:
        scalingType - The scaling type. Uniform scaling creates shards of equal size.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScalingType
      • setScalingType

        public void setScalingType(ScalingType scalingType)

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

        Parameters:
        scalingType - The scaling type. Uniform scaling creates shards of equal size.
        See Also:
        ScalingType
      • withScalingType

        public UpdateShardCountRequest withScalingType(ScalingType scalingType)

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

        Parameters:
        scalingType - The scaling type. Uniform scaling creates shards of equal size.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScalingType
      • setStreamARN

        public void setStreamARN(String streamARN)

        The ARN of the stream.

        Parameters:
        streamARN - The ARN of the stream.
      • getStreamARN

        public String getStreamARN()

        The ARN of the stream.

        Returns:
        The ARN of the stream.
      • withStreamARN

        public UpdateShardCountRequest withStreamARN(String streamARN)

        The ARN of the stream.

        Parameters:
        streamARN - The ARN of the stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /