@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MergeShardsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for MergeShards
.
NOOP
Constructor and Description |
---|
MergeShardsRequest() |
Modifier and Type | Method and Description |
---|---|
MergeShardsRequest |
clone() |
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.
|
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.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStreamName(String streamName)
The name of the stream for the merge.
streamName
- The name of the stream for the merge.public String getStreamName()
The name of the stream for the merge.
public MergeShardsRequest withStreamName(String streamName)
The name of the stream for the merge.
streamName
- The name of the stream for the merge.public void setShardToMerge(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 String getShardToMerge()
The shard ID of the shard to combine with the adjacent shard for the merge.
public MergeShardsRequest withShardToMerge(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(String adjacentShardToMerge)
The shard ID of the adjacent shard for the merge.
adjacentShardToMerge
- The shard ID of the adjacent shard for the merge.public String getAdjacentShardToMerge()
The shard ID of the adjacent shard for the merge.
public MergeShardsRequest withAdjacentShardToMerge(String adjacentShardToMerge)
The shard ID of the adjacent shard for the merge.
adjacentShardToMerge
- The shard ID of the adjacent shard for the merge.public String toString()
toString
in class Object
Object.toString()
public MergeShardsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.