public class MergeShardsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for MergeShards
.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
adjacentShardToMerge
The shard ID of the adjacent shard for the merge.
|
private java.lang.String |
shardToMerge
The shard ID of the shard to combine with the adjacent shard for the
merge.
|
private java.lang.String |
streamName
The name of the stream for the merge.
|
NOOP
Constructor and Description |
---|
MergeShardsRequest() |
Modifier and Type | Method and Description |
---|---|
MergeShardsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAdjacentShardToMerge()
The shard ID of the adjacent shard for the merge.
|
java.lang.String |
getShardToMerge()
The shard ID of the shard to combine with the adjacent shard for the
merge.
|
java.lang.String |
getStreamName()
The name of the stream for the merge.
|
int |
hashCode() |
void |
setAdjacentShardToMerge(java.lang.String adjacentShardToMerge)
The shard ID of the adjacent shard for the merge.
|
void |
setShardToMerge(java.lang.String shardToMerge)
The shard ID of the shard to combine with the adjacent shard for the
merge.
|
void |
setStreamName(java.lang.String streamName)
The name of the stream for the merge.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MergeShardsRequest |
withAdjacentShardToMerge(java.lang.String adjacentShardToMerge)
The shard ID of the adjacent shard for the merge.
|
MergeShardsRequest |
withShardToMerge(java.lang.String shardToMerge)
The shard ID of the shard to combine with the adjacent shard for the
merge.
|
MergeShardsRequest |
withStreamName(java.lang.String streamName)
The name of the stream for the merge.
|
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
private java.lang.String streamName
The name of the stream for the merge.
private java.lang.String shardToMerge
The shard ID of the shard to combine with the adjacent shard for the merge.
private java.lang.String adjacentShardToMerge
The shard ID of the adjacent shard for the merge.
public void setStreamName(java.lang.String streamName)
The name of the stream for the merge.
streamName
- The name of the stream for the merge.public java.lang.String getStreamName()
The name of the stream for the merge.
public MergeShardsRequest withStreamName(java.lang.String streamName)
The name of the stream for the merge.
streamName
- The name of the stream for the merge.public void setShardToMerge(java.lang.String shardToMerge)
The shard ID of the shard to combine with the adjacent shard for the merge.
shardToMerge
- The shard ID of the shard to combine with the adjacent shard for
the merge.public java.lang.String getShardToMerge()
The shard ID of the shard to combine with the adjacent shard for the merge.
public MergeShardsRequest withShardToMerge(java.lang.String shardToMerge)
The shard ID of the shard to combine with the adjacent shard for the merge.
shardToMerge
- The shard ID of the shard to combine with the adjacent shard for
the merge.public void setAdjacentShardToMerge(java.lang.String adjacentShardToMerge)
The shard ID of the adjacent shard for the merge.
adjacentShardToMerge
- The shard ID of the adjacent shard for the merge.public java.lang.String getAdjacentShardToMerge()
The shard ID of the adjacent shard for the merge.
public MergeShardsRequest withAdjacentShardToMerge(java.lang.String adjacentShardToMerge)
The shard ID of the adjacent shard for the merge.
adjacentShardToMerge
- The shard ID of the adjacent shard for the merge.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public MergeShardsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()