public class UpdateShardCountResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
UpdateShardCountResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getCurrentShardCount()
The current number of shards.
|
java.lang.String |
getStreamName()
The name of the stream.
|
java.lang.Integer |
getTargetShardCount()
The updated number of shards.
|
int |
hashCode() |
void |
setCurrentShardCount(java.lang.Integer currentShardCount)
The current number of shards.
|
void |
setStreamName(java.lang.String streamName)
The name of the stream.
|
void |
setTargetShardCount(java.lang.Integer targetShardCount)
The updated number of shards.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateShardCountResult |
withCurrentShardCount(java.lang.Integer currentShardCount)
The current number of shards.
|
UpdateShardCountResult |
withStreamName(java.lang.String streamName)
The name of the stream.
|
UpdateShardCountResult |
withTargetShardCount(java.lang.Integer targetShardCount)
The updated number of shards.
|
public java.lang.String getStreamName()
The name of the stream.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
The name of the stream.
public void setStreamName(java.lang.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(java.lang.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 java.lang.Integer getCurrentShardCount()
The current number of shards.
Constraints:
Range: 1 - 100000
The current number of shards.
public void setCurrentShardCount(java.lang.Integer currentShardCount)
The current number of shards.
Constraints:
Range: 1 - 100000
currentShardCount
- The current number of shards.
public UpdateShardCountResult withCurrentShardCount(java.lang.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 java.lang.Integer getTargetShardCount()
The updated number of shards.
Constraints:
Range: 1 - 100000
The updated number of shards.
public void setTargetShardCount(java.lang.Integer targetShardCount)
The updated number of shards.
Constraints:
Range: 1 - 100000
targetShardCount
- The updated number of shards.
public UpdateShardCountResult withTargetShardCount(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.