@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataReplicationSettings extends Object implements Serializable, Cloneable, StructuredPojo
Describes the data replication settings.
Constructor and Description |
---|
DataReplicationSettings() |
Modifier and Type | Method and Description |
---|---|
DataReplicationSettings |
clone() |
boolean |
equals(Object obj) |
String |
getDataReplication()
Indicates whether data replication is enabled, and if enabled, the type of data replication.
|
Date |
getRecoverySnapshotTime()
The date and time at which the last successful snapshot was taken of the primary WorkSpace used for replicating
data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataReplication(String dataReplication)
Indicates whether data replication is enabled, and if enabled, the type of data replication.
|
void |
setRecoverySnapshotTime(Date recoverySnapshotTime)
The date and time at which the last successful snapshot was taken of the primary WorkSpace used for replicating
data.
|
String |
toString()
Returns a string representation of this object.
|
DataReplicationSettings |
withDataReplication(DataReplication dataReplication)
Indicates whether data replication is enabled, and if enabled, the type of data replication.
|
DataReplicationSettings |
withDataReplication(String dataReplication)
Indicates whether data replication is enabled, and if enabled, the type of data replication.
|
DataReplicationSettings |
withRecoverySnapshotTime(Date recoverySnapshotTime)
The date and time at which the last successful snapshot was taken of the primary WorkSpace used for replicating
data.
|
public void setDataReplication(String dataReplication)
Indicates whether data replication is enabled, and if enabled, the type of data replication.
dataReplication
- Indicates whether data replication is enabled, and if enabled, the type of data replication.DataReplication
public String getDataReplication()
Indicates whether data replication is enabled, and if enabled, the type of data replication.
DataReplication
public DataReplicationSettings withDataReplication(String dataReplication)
Indicates whether data replication is enabled, and if enabled, the type of data replication.
dataReplication
- Indicates whether data replication is enabled, and if enabled, the type of data replication.DataReplication
public DataReplicationSettings withDataReplication(DataReplication dataReplication)
Indicates whether data replication is enabled, and if enabled, the type of data replication.
dataReplication
- Indicates whether data replication is enabled, and if enabled, the type of data replication.DataReplication
public void setRecoverySnapshotTime(Date recoverySnapshotTime)
The date and time at which the last successful snapshot was taken of the primary WorkSpace used for replicating data.
recoverySnapshotTime
- The date and time at which the last successful snapshot was taken of the primary WorkSpace used for
replicating data.public Date getRecoverySnapshotTime()
The date and time at which the last successful snapshot was taken of the primary WorkSpace used for replicating data.
public DataReplicationSettings withRecoverySnapshotTime(Date recoverySnapshotTime)
The date and time at which the last successful snapshot was taken of the primary WorkSpace used for replicating data.
recoverySnapshotTime
- The date and time at which the last successful snapshot was taken of the primary WorkSpace used for
replicating data.public String toString()
toString
in class Object
Object.toString()
public DataReplicationSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.