@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateShardCountResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateShardCountResult() |
Modifier and Type | Method and Description |
---|---|
UpdateShardCountResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getCurrentShardCount()
The current number of shards.
|
String |
getStreamName()
The name of the stream.
|
Integer |
getTargetShardCount()
The updated number of shards.
|
int |
hashCode() |
void |
setCurrentShardCount(Integer currentShardCount)
The current number of shards.
|
void |
setStreamName(String streamName)
The name of the stream.
|
void |
setTargetShardCount(Integer targetShardCount)
The updated number of shards.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateShardCountResult |
withCurrentShardCount(Integer currentShardCount)
The current number of shards.
|
UpdateShardCountResult |
withStreamName(String streamName)
The name of the stream.
|
UpdateShardCountResult |
withTargetShardCount(Integer targetShardCount)
The updated number of shards.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStreamName(String streamName)
The name of the stream.
streamName
- The name of the stream.public String getStreamName()
The name of the stream.
public UpdateShardCountResult withStreamName(String streamName)
The name of the stream.
streamName
- The name of the stream.public void setCurrentShardCount(Integer currentShardCount)
The current number of shards.
currentShardCount
- The current number of shards.public Integer getCurrentShardCount()
The current number of shards.
public UpdateShardCountResult withCurrentShardCount(Integer currentShardCount)
The current number of shards.
currentShardCount
- The current number of shards.public void setTargetShardCount(Integer targetShardCount)
The updated number of shards.
targetShardCount
- The updated number of shards.public Integer getTargetShardCount()
The updated number of shards.
public UpdateShardCountResult withTargetShardCount(Integer targetShardCount)
The updated number of shards.
targetShardCount
- The updated number of shards.public String toString()
toString
in class Object
Object.toString()
public UpdateShardCountResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.