@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicaConfigurationRequest extends Object implements Serializable, Cloneable, StructuredPojo
A request to configure the number of replicas in a shard
| Constructor and Description |
|---|
ReplicaConfigurationRequest() |
| Modifier and Type | Method and Description |
|---|---|
ReplicaConfigurationRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getReplicaCount()
The number of replicas to scale up or down to
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setReplicaCount(Integer replicaCount)
The number of replicas to scale up or down to
|
String |
toString()
Returns a string representation of this object.
|
ReplicaConfigurationRequest |
withReplicaCount(Integer replicaCount)
The number of replicas to scale up or down to
|
public void setReplicaCount(Integer replicaCount)
The number of replicas to scale up or down to
replicaCount - The number of replicas to scale up or down topublic Integer getReplicaCount()
The number of replicas to scale up or down to
public ReplicaConfigurationRequest withReplicaCount(Integer replicaCount)
The number of replicas to scale up or down to
replicaCount - The number of replicas to scale up or down topublic String toString()
toString in class ObjectObject.toString()public ReplicaConfigurationRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.