public class SplitShardRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for SplitShard
.
NOOP
Constructor and Description |
---|
SplitShardRequest() |
Modifier and Type | Method and Description |
---|---|
SplitShardRequest |
clone() |
boolean |
equals(Object obj) |
String |
getNewStartingHashKey()
A hash key value for the starting hash key of one of the child shards
created by the split.
|
String |
getShardToSplit()
The shard ID of the shard to split.
|
String |
getStreamName()
The name of the stream for the shard split.
|
int |
hashCode() |
void |
setNewStartingHashKey(String newStartingHashKey)
A hash key value for the starting hash key of one of the child shards
created by the split.
|
void |
setShardToSplit(String shardToSplit)
The shard ID of the shard to split.
|
void |
setStreamName(String streamName)
The name of the stream for the shard split.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SplitShardRequest |
withNewStartingHashKey(String newStartingHashKey)
A hash key value for the starting hash key of one of the child shards
created by the split.
|
SplitShardRequest |
withShardToSplit(String shardToSplit)
The shard ID of the shard to split.
|
SplitShardRequest |
withStreamName(String streamName)
The name of the stream for the shard split.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStreamName(String streamName)
The name of the stream for the shard split.
streamName
- The name of the stream for the shard split.public String getStreamName()
The name of the stream for the shard split.
public SplitShardRequest withStreamName(String streamName)
The name of the stream for the shard split.
streamName
- The name of the stream for the shard split.public void setShardToSplit(String shardToSplit)
The shard ID of the shard to split.
shardToSplit
- The shard ID of the shard to split.public String getShardToSplit()
The shard ID of the shard to split.
public SplitShardRequest withShardToSplit(String shardToSplit)
The shard ID of the shard to split.
shardToSplit
- The shard ID of the shard to split.public void setNewStartingHashKey(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
- 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.public String getNewStartingHashKey()
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 withNewStartingHashKey(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
- 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.public String toString()
toString
in class Object
Object.toString()
public SplitShardRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.