Class MergeShardsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.kinesis.model.MergeShardsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class MergeShardsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for
MergeShards.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description MergeShardsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MergeShardsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAdjacentShardToMerge()The shard ID of the adjacent shard for the merge.StringgetShardToMerge()The shard ID of the shard to combine with the adjacent shard for the merge.StringgetStreamName()The name of the stream for the merge.inthashCode()voidsetAdjacentShardToMerge(String adjacentShardToMerge)The shard ID of the adjacent shard for the merge.voidsetShardToMerge(String shardToMerge)The shard ID of the shard to combine with the adjacent shard for the merge.voidsetStreamName(String streamName)The name of the stream for the merge.StringtoString()Returns a string representation of this object; useful for testing and debugging.MergeShardsRequestwithAdjacentShardToMerge(String adjacentShardToMerge)The shard ID of the adjacent shard for the merge.MergeShardsRequestwithShardToMerge(String shardToMerge)The shard ID of the shard to combine with the adjacent shard for the merge.MergeShardsRequestwithStreamName(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
-
-
-
-
Method Detail
-
setStreamName
public void setStreamName(String streamName)
The name of the stream for the merge.
- Parameters:
streamName- The name of the stream for the merge.
-
getStreamName
public String getStreamName()
The name of the stream for the merge.
- Returns:
- The name of the stream for the merge.
-
withStreamName
public MergeShardsRequest withStreamName(String streamName)
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
public void setShardToMerge(String shardToMerge)
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
public String 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
public MergeShardsRequest withShardToMerge(String shardToMerge)
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
public void setAdjacentShardToMerge(String adjacentShardToMerge)
The shard ID of the adjacent shard for the merge.
- Parameters:
adjacentShardToMerge- The shard ID of the adjacent shard for the merge.
-
getAdjacentShardToMerge
public String getAdjacentShardToMerge()
The shard ID of the adjacent shard for the merge.
- Returns:
- The shard ID of the adjacent shard for the merge.
-
withAdjacentShardToMerge
public MergeShardsRequest withAdjacentShardToMerge(String adjacentShardToMerge)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public MergeShardsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-