@Generated(value="software.amazon.awssdk:codegen") public final class SplitShardRequest extends KinesisRequest implements ToCopyableBuilder<SplitShardRequest.Builder,SplitShardRequest>
Represents the input for SplitShard
.
Modifier and Type | Class and Description |
---|---|
static interface |
SplitShardRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static SplitShardRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
newStartingHashKey()
A hash key value for the starting hash key of one of the child shards created by the split.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SplitShardRequest.Builder> |
serializableBuilderClass() |
String |
shardToSplit()
The shard ID of the shard to split.
|
String |
streamName()
The name of the stream for the shard split.
|
SplitShardRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String streamName()
The name of the stream for the shard split.
public final String shardToSplit()
The shard ID of the shard to split.
public final String 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
NewStartingHashKey
must be in the range of hash keys being mapped into the shard. The
NewStartingHashKey
hash 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.
NewStartingHashKey
must be in the range of hash keys being mapped into the shard. The
NewStartingHashKey
hash 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.public SplitShardRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SplitShardRequest.Builder,SplitShardRequest>
toBuilder
in class KinesisRequest
public static SplitShardRequest.Builder builder()
public static Class<? extends SplitShardRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.