@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicationSpecification extends Object implements Serializable, Cloneable, StructuredPojo
The replication specification of the keyspace includes:
 regionList - up to six Amazon Web Services Regions where the keyspace is replicated in.
 
 replicationStrategy - the required value is SINGLE_REGION or MULTI_REGION.
 
| Constructor and Description | 
|---|
| ReplicationSpecification() | 
| Modifier and Type | Method and Description | 
|---|---|
| ReplicationSpecification | clone() | 
| boolean | equals(Object obj) | 
| List<String> | getRegionList()
 The  regionListcan contain up to six Amazon Web Services Regions where the keyspace is replicated
 in. | 
| String | getReplicationStrategy()
 The  replicationStrategyof a keyspace, the required value isSINGLE_REGIONorMULTI_REGION. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setRegionList(Collection<String> regionList)
 The  regionListcan contain up to six Amazon Web Services Regions where the keyspace is replicated
 in. | 
| void | setReplicationStrategy(String replicationStrategy)
 The  replicationStrategyof a keyspace, the required value isSINGLE_REGIONorMULTI_REGION. | 
| String | toString()Returns a string representation of this object. | 
| ReplicationSpecification | withRegionList(Collection<String> regionList)
 The  regionListcan contain up to six Amazon Web Services Regions where the keyspace is replicated
 in. | 
| ReplicationSpecification | withRegionList(String... regionList)
 The  regionListcan contain up to six Amazon Web Services Regions where the keyspace is replicated
 in. | 
| ReplicationSpecification | withReplicationStrategy(Rs replicationStrategy)
 The  replicationStrategyof a keyspace, the required value isSINGLE_REGIONorMULTI_REGION. | 
| ReplicationSpecification | withReplicationStrategy(String replicationStrategy)
 The  replicationStrategyof a keyspace, the required value isSINGLE_REGIONorMULTI_REGION. | 
public void setReplicationStrategy(String replicationStrategy)
 The replicationStrategy of a keyspace, the required value is SINGLE_REGION or
 MULTI_REGION.
 
replicationStrategy - The replicationStrategy of a keyspace, the required value is SINGLE_REGION or
        MULTI_REGION.Rspublic String getReplicationStrategy()
 The replicationStrategy of a keyspace, the required value is SINGLE_REGION or
 MULTI_REGION.
 
replicationStrategy of a keyspace, the required value is SINGLE_REGION or
         MULTI_REGION.Rspublic ReplicationSpecification withReplicationStrategy(String replicationStrategy)
 The replicationStrategy of a keyspace, the required value is SINGLE_REGION or
 MULTI_REGION.
 
replicationStrategy - The replicationStrategy of a keyspace, the required value is SINGLE_REGION or
        MULTI_REGION.Rspublic ReplicationSpecification withReplicationStrategy(Rs replicationStrategy)
 The replicationStrategy of a keyspace, the required value is SINGLE_REGION or
 MULTI_REGION.
 
replicationStrategy - The replicationStrategy of a keyspace, the required value is SINGLE_REGION or
        MULTI_REGION.Rspublic List<String> getRegionList()
 The regionList can contain up to six Amazon Web Services Regions where the keyspace is replicated
 in.
 
regionList can contain up to six Amazon Web Services Regions where the keyspace is
         replicated in.public void setRegionList(Collection<String> regionList)
 The regionList can contain up to six Amazon Web Services Regions where the keyspace is replicated
 in.
 
regionList - The regionList can contain up to six Amazon Web Services Regions where the keyspace is
        replicated in.public ReplicationSpecification withRegionList(String... regionList)
 The regionList can contain up to six Amazon Web Services Regions where the keyspace is replicated
 in.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setRegionList(java.util.Collection) or withRegionList(java.util.Collection) if you want to
 override the existing values.
 
regionList - The regionList can contain up to six Amazon Web Services Regions where the keyspace is
        replicated in.public ReplicationSpecification withRegionList(Collection<String> regionList)
 The regionList can contain up to six Amazon Web Services Regions where the keyspace is replicated
 in.
 
regionList - The regionList can contain up to six Amazon Web Services Regions where the keyspace is
        replicated in.public String toString()
toString in class ObjectObject.toString()public ReplicationSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.