@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ShardConfigurationRequest extends Object implements Serializable, Cloneable, StructuredPojo
A request to configure the sharding properties of a cluster
Constructor and Description |
---|
ShardConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
ShardConfigurationRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getShardCount()
The number of shards in the cluster
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setShardCount(Integer shardCount)
The number of shards in the cluster
|
String |
toString()
Returns a string representation of this object.
|
ShardConfigurationRequest |
withShardCount(Integer shardCount)
The number of shards in the cluster
|
public void setShardCount(Integer shardCount)
The number of shards in the cluster
shardCount
- The number of shards in the clusterpublic Integer getShardCount()
The number of shards in the cluster
public ShardConfigurationRequest withShardCount(Integer shardCount)
The number of shards in the cluster
shardCount
- The number of shards in the clusterpublic String toString()
toString
in class Object
Object.toString()
public ShardConfigurationRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.