@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StandbyWorkspacesProperties extends Object implements Serializable, Cloneable, StructuredPojo
Describes the properties of the related standby WorkSpaces.
Constructor and Description |
---|
StandbyWorkspacesProperties() |
Modifier and Type | Method and Description |
---|---|
StandbyWorkspacesProperties |
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.
|
String |
getStandbyWorkspaceId()
The identifier of the standby WorkSpace
|
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.
|
void |
setStandbyWorkspaceId(String standbyWorkspaceId)
The identifier of the standby WorkSpace
|
String |
toString()
Returns a string representation of this object.
|
StandbyWorkspacesProperties |
withDataReplication(DataReplication dataReplication)
Indicates whether data replication is enabled, and if enabled, the type of data replication.
|
StandbyWorkspacesProperties |
withDataReplication(String dataReplication)
Indicates whether data replication is enabled, and if enabled, the type of data replication.
|
StandbyWorkspacesProperties |
withRecoverySnapshotTime(Date recoverySnapshotTime)
The date and time at which the last successful snapshot was taken of the primary WorkSpace used for replicating
data.
|
StandbyWorkspacesProperties |
withStandbyWorkspaceId(String standbyWorkspaceId)
The identifier of the standby WorkSpace
|
public void setStandbyWorkspaceId(String standbyWorkspaceId)
The identifier of the standby WorkSpace
standbyWorkspaceId
- The identifier of the standby WorkSpacepublic String getStandbyWorkspaceId()
The identifier of the standby WorkSpace
public StandbyWorkspacesProperties withStandbyWorkspaceId(String standbyWorkspaceId)
The identifier of the standby WorkSpace
standbyWorkspaceId
- The identifier of the standby WorkSpacepublic 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 StandbyWorkspacesProperties 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 StandbyWorkspacesProperties 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 StandbyWorkspacesProperties 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 StandbyWorkspacesProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.