Class SplitShardRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.kinesis.model.KinesisRequest
software.amazon.awssdk.services.kinesis.model.SplitShardRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SplitShardRequest.Builder,SplitShardRequest>
@Generated("software.amazon.awssdk:codegen")
public final class SplitShardRequest
extends KinesisRequest
implements ToCopyableBuilder<SplitShardRequest.Builder,SplitShardRequest>
Represents the input for SplitShard.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SplitShardRequest.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringA hash key value for the starting hash key of one of the child shards created by the split.static Class<? extends SplitShardRequest.Builder>final StringThe shard ID of the shard to split.final StringThe ARN of the stream.final StringstreamId()Not Implemented.final StringThe name of the stream for the shard split.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 for the shard split.
- Returns:
- The name of the stream for the shard split.
-
shardToSplit
The shard ID of the shard to split.
- Returns:
- The shard ID of the shard to split.
-
newStartingHashKey
A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for
NewStartingHashKeymust be in the range of hash keys being mapped into the shard. TheNewStartingHashKeyhash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.- Returns:
- A hash key value for the starting hash key of one of the child shards created by the split. The hash key
range for a given shard constitutes a set of ordered contiguous positive integers. The value for
NewStartingHashKeymust be in the range of hash keys being mapped into the shard. TheNewStartingHashKeyhash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.
-
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<SplitShardRequest.Builder,SplitShardRequest> - 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
-