Interface UpdateShardCountRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateShardCountRequest.Builder,UpdateShardCountRequest>,KinesisRequest.Builder,SdkBuilder<UpdateShardCountRequest.Builder,UpdateShardCountRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateShardCountRequest
public static interface UpdateShardCountRequest.Builder extends KinesisRequest.Builder, SdkPojo, CopyableBuilder<UpdateShardCountRequest.Builder,UpdateShardCountRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateShardCountRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateShardCountRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateShardCountRequest.BuilderscalingType(String scalingType)The scaling type.UpdateShardCountRequest.BuilderscalingType(ScalingType scalingType)The scaling type.UpdateShardCountRequest.BuilderstreamARN(String streamARN)The ARN of the stream.UpdateShardCountRequest.BuilderstreamName(String streamName)The name of the stream.UpdateShardCountRequest.BuildertargetShardCount(Integer targetShardCount)The new number of shards.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
streamName
UpdateShardCountRequest.Builder streamName(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.
-
targetShardCount
UpdateShardCountRequest.Builder targetShardCount(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.
-
-
scalingType
UpdateShardCountRequest.Builder scalingType(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,ScalingType
-
scalingType
UpdateShardCountRequest.Builder scalingType(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,ScalingType
-
streamARN
UpdateShardCountRequest.Builder streamARN(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.
-
overrideConfiguration
UpdateShardCountRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateShardCountRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-