Class SplitShardRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input for SplitShard
.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A hash key value for the starting hash key of one of the child shards created by the split.The shard ID of the shard to split.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.toString()
Returns a string representation of this object; useful for testing and debugging.withNewStartingHashKey
(String newStartingHashKey) A hash key value for the starting hash key of one of the child shards created by the split.withShardToSplit
(String shardToSplit) The shard ID of the shard to split.withStreamName
(String streamName) The name of the stream for the shard split.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
SplitShardRequest
public SplitShardRequest()
-
-
Method Details
-
setStreamName
The name of the stream for the shard split.
- Parameters:
streamName
- The name of the stream for the shard split.
-
getStreamName
The name of the stream for the shard split.
- Returns:
- The name of the stream for the shard split.
-
withStreamName
The name of the stream for the shard split.
- Parameters:
streamName
- The name of the stream for the shard split.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setShardToSplit
The shard ID of the shard to split.
- Parameters:
shardToSplit
- The shard ID of the shard to split.
-
getShardToSplit
The shard ID of the shard to split.
- Returns:
- The shard ID of the shard to split.
-
withShardToSplit
The shard ID of the shard to split.
- Parameters:
shardToSplit
- The shard ID of the shard to split.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNewStartingHashKey
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. TheNewStartingHashKey
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.- Parameters:
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 forNewStartingHashKey
must be in the range of hash keys being mapped into the shard. TheNewStartingHashKey
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.
-
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. TheNewStartingHashKey
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.- 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
NewStartingHashKey
must be in the range of hash keys being mapped into the shard. TheNewStartingHashKey
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.
-
withNewStartingHashKey
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. TheNewStartingHashKey
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.- Parameters:
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 forNewStartingHashKey
must be in the range of hash keys being mapped into the shard. TheNewStartingHashKey
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-