Class UpdateShardCountRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateShardCountRequest.Builder,UpdateShardCountRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ScalingTypeThe scaling type.final StringThe scaling type.static Class<? extends UpdateShardCountRequest.Builder>final StringThe ARN of the stream.final StringstreamId()Not Implemented.final StringThe name of the stream.final IntegerThe new number of shards.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
streamName
The name of the stream.
- Returns:
- The name of the stream.
-
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.
-
-
-
scalingType
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,
scalingTypewill returnScalingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscalingTypeAsString().- Returns:
- The scaling type. Uniform scaling creates shards of equal size.
- See Also:
-
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,
scalingTypewill returnScalingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscalingTypeAsString().- Returns:
- The scaling type. Uniform scaling creates shards of equal size.
- See Also:
-
streamARN
The ARN of the stream.
- Returns:
- The ARN of the stream.
-
streamId
Not Implemented. Reserved for future use.
- Returns:
- Not Implemented. Reserved for future use.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateShardCountRequest.Builder,UpdateShardCountRequest> - Specified by:
toBuilderin classKinesisRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-