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 MergeShardsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getAdjacentShardToMerge()
The shard ID of the adjacent shard for the merge.String
getShardToMerge()
The shard ID of the shard to combine with the adjacent shard for the merge.String
getStreamName()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.MergeShardsRequest
withAdjacentShardToMerge(String adjacentShardToMerge)
The shard ID of the adjacent shard for the merge.MergeShardsRequest
withShardToMerge(String shardToMerge)
The shard ID of the shard to combine with the adjacent shard for the merge.MergeShardsRequest
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
-
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public MergeShardsRequest 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:
Object.clone()
-
-