public class UpdateShardCountResult extends Object implements Serializable
| Constructor and Description |
|---|
UpdateShardCountResult() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public String getStreamName()
The name of the stream.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
The name of the stream.
public void setStreamName(String streamName)
The name of the stream.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
streamName - The name of the stream.
public UpdateShardCountResult withStreamName(String streamName)
The name of the stream.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
streamName - The name of the stream.
public Integer getCurrentShardCount()
The current number of shards.
Constraints:
Range: 1 - 100000
The current number of shards.
public void setCurrentShardCount(Integer currentShardCount)
The current number of shards.
Constraints:
Range: 1 - 100000
currentShardCount - The current number of shards.
public UpdateShardCountResult withCurrentShardCount(Integer currentShardCount)
The current number of shards.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 100000
currentShardCount - The current number of shards.
public Integer getTargetShardCount()
The updated number of shards.
Constraints:
Range: 1 - 100000
The updated number of shards.
public void setTargetShardCount(Integer targetShardCount)
The updated number of shards.
Constraints:
Range: 1 - 100000
targetShardCount - The updated number of shards.
public UpdateShardCountResult withTargetShardCount(Integer targetShardCount)
The updated number of shards.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 100000
targetShardCount - The updated number of shards.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.