Class MergeShardsRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.kinesis.model.MergeShardsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input for MergeShards
.
- 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
The shard ID of the adjacent shard for the merge.The shard ID of the shard to combine with the adjacent shard for the merge.The name of the stream for the merge.int
hashCode()
void
setAdjacentShardToMerge
(String adjacentShardToMerge) The shard ID of the adjacent shard for the merge.void
setShardToMerge
(String shardToMerge) The shard ID of the shard to combine with the adjacent shard for the merge.void
setStreamName
(String streamName) The name of the stream for the merge.toString()
Returns a string representation of this object; useful for testing and debugging.withAdjacentShardToMerge
(String adjacentShardToMerge) The shard ID of the adjacent shard for the merge.withShardToMerge
(String shardToMerge) The shard ID of the shard to combine with the adjacent shard for the merge.withStreamName
(String streamName) The name of the stream for the merge.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
-
MergeShardsRequest
public MergeShardsRequest()
-
-
Method Details
-
setStreamName
The name of the stream for the merge.
- Parameters:
streamName
- The name of the stream for the merge.
-
getStreamName
The name of the stream for the merge.
- Returns:
- The name of the stream for the merge.
-
withStreamName
The name of the stream for the merge.
- Parameters:
streamName
- The name of the stream for the merge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setShardToMerge
The shard ID of the shard to combine with the adjacent shard for the merge.
- Parameters:
shardToMerge
- The shard ID of the shard to combine with the adjacent shard for the merge.
-
getShardToMerge
The shard ID of the shard to combine with the adjacent shard for the merge.
- Returns:
- The shard ID of the shard to combine with the adjacent shard for the merge.
-
withShardToMerge
The shard ID of the shard to combine with the adjacent shard for the merge.
- Parameters:
shardToMerge
- The shard ID of the shard to combine with the adjacent shard for the merge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAdjacentShardToMerge
The shard ID of the adjacent shard for the merge.
- Parameters:
adjacentShardToMerge
- The shard ID of the adjacent shard for the merge.
-
getAdjacentShardToMerge
The shard ID of the adjacent shard for the merge.
- Returns:
- The shard ID of the adjacent shard for the merge.
-
withAdjacentShardToMerge
The shard ID of the adjacent shard for the merge.
- Parameters:
adjacentShardToMerge
- The shard ID of the adjacent shard for the merge.- 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:
-