@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
newStartingHashKey()
A hash key value for the starting hash key of one of the child shards created by the split.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String streamName()
The name of the stream for the shard split.
public String shardToSplit()
The shard ID of the shard to split.
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SplitShardRequest.Builder,SplitShardRequest>
toBuilder
in class KinesisRequest
public static SplitShardRequest.Builder builder()
public static Class<? extends SplitShardRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.