@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecoveryInstance extends Object implements Serializable, Cloneable, StructuredPojo
A Recovery Instance is a replica of a Source Server running on EC2.
Constructor and Description |
---|
RecoveryInstance() |
Modifier and Type | Method and Description |
---|---|
RecoveryInstance |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
RecoveryInstance |
clearTagsEntries()
Removes all the entries added into Tags.
|
RecoveryInstance |
clone() |
boolean |
equals(Object obj) |
String |
getAgentVersion()
The version of the DRS agent installed on the recovery instance
|
String |
getArn()
The ARN of the Recovery Instance.
|
RecoveryInstanceDataReplicationInfo |
getDataReplicationInfo()
The Data Replication Info of the Recovery Instance.
|
String |
getEc2InstanceID()
The EC2 instance ID of the Recovery Instance.
|
String |
getEc2InstanceState()
The state of the EC2 instance for this Recovery Instance.
|
RecoveryInstanceFailback |
getFailback()
An object representing failback related information of the Recovery Instance.
|
Boolean |
getIsDrill()
Whether this Recovery Instance was created for a drill or for an actual Recovery event.
|
String |
getJobID()
The ID of the Job that created the Recovery Instance.
|
String |
getOriginAvailabilityZone()
AWS availability zone associated with the recovery instance.
|
String |
getOriginEnvironment()
Environment (On Premises / AWS) of the instance that the recovery instance originated from.
|
String |
getPointInTimeSnapshotDateTime()
The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.
|
String |
getRecoveryInstanceID()
The ID of the Recovery Instance.
|
RecoveryInstanceProperties |
getRecoveryInstanceProperties()
Properties of the Recovery Instance machine.
|
String |
getSourceOutpostArn()
The ARN of the source Outpost
|
String |
getSourceServerID()
The Source Server ID that this Recovery Instance is associated with.
|
Map<String,String> |
getTags()
An array of tags that are associated with the Recovery Instance.
|
int |
hashCode() |
Boolean |
isDrill()
Whether this Recovery Instance was created for a drill or for an actual Recovery event.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentVersion(String agentVersion)
The version of the DRS agent installed on the recovery instance
|
void |
setArn(String arn)
The ARN of the Recovery Instance.
|
void |
setDataReplicationInfo(RecoveryInstanceDataReplicationInfo dataReplicationInfo)
The Data Replication Info of the Recovery Instance.
|
void |
setEc2InstanceID(String ec2InstanceID)
The EC2 instance ID of the Recovery Instance.
|
void |
setEc2InstanceState(String ec2InstanceState)
The state of the EC2 instance for this Recovery Instance.
|
void |
setFailback(RecoveryInstanceFailback failback)
An object representing failback related information of the Recovery Instance.
|
void |
setIsDrill(Boolean isDrill)
Whether this Recovery Instance was created for a drill or for an actual Recovery event.
|
void |
setJobID(String jobID)
The ID of the Job that created the Recovery Instance.
|
void |
setOriginAvailabilityZone(String originAvailabilityZone)
AWS availability zone associated with the recovery instance.
|
void |
setOriginEnvironment(String originEnvironment)
Environment (On Premises / AWS) of the instance that the recovery instance originated from.
|
void |
setPointInTimeSnapshotDateTime(String pointInTimeSnapshotDateTime)
The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.
|
void |
setRecoveryInstanceID(String recoveryInstanceID)
The ID of the Recovery Instance.
|
void |
setRecoveryInstanceProperties(RecoveryInstanceProperties recoveryInstanceProperties)
Properties of the Recovery Instance machine.
|
void |
setSourceOutpostArn(String sourceOutpostArn)
The ARN of the source Outpost
|
void |
setSourceServerID(String sourceServerID)
The Source Server ID that this Recovery Instance is associated with.
|
void |
setTags(Map<String,String> tags)
An array of tags that are associated with the Recovery Instance.
|
String |
toString()
Returns a string representation of this object.
|
RecoveryInstance |
withAgentVersion(String agentVersion)
The version of the DRS agent installed on the recovery instance
|
RecoveryInstance |
withArn(String arn)
The ARN of the Recovery Instance.
|
RecoveryInstance |
withDataReplicationInfo(RecoveryInstanceDataReplicationInfo dataReplicationInfo)
The Data Replication Info of the Recovery Instance.
|
RecoveryInstance |
withEc2InstanceID(String ec2InstanceID)
The EC2 instance ID of the Recovery Instance.
|
RecoveryInstance |
withEc2InstanceState(EC2InstanceState ec2InstanceState)
The state of the EC2 instance for this Recovery Instance.
|
RecoveryInstance |
withEc2InstanceState(String ec2InstanceState)
The state of the EC2 instance for this Recovery Instance.
|
RecoveryInstance |
withFailback(RecoveryInstanceFailback failback)
An object representing failback related information of the Recovery Instance.
|
RecoveryInstance |
withIsDrill(Boolean isDrill)
Whether this Recovery Instance was created for a drill or for an actual Recovery event.
|
RecoveryInstance |
withJobID(String jobID)
The ID of the Job that created the Recovery Instance.
|
RecoveryInstance |
withOriginAvailabilityZone(String originAvailabilityZone)
AWS availability zone associated with the recovery instance.
|
RecoveryInstance |
withOriginEnvironment(OriginEnvironment originEnvironment)
Environment (On Premises / AWS) of the instance that the recovery instance originated from.
|
RecoveryInstance |
withOriginEnvironment(String originEnvironment)
Environment (On Premises / AWS) of the instance that the recovery instance originated from.
|
RecoveryInstance |
withPointInTimeSnapshotDateTime(String pointInTimeSnapshotDateTime)
The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.
|
RecoveryInstance |
withRecoveryInstanceID(String recoveryInstanceID)
The ID of the Recovery Instance.
|
RecoveryInstance |
withRecoveryInstanceProperties(RecoveryInstanceProperties recoveryInstanceProperties)
Properties of the Recovery Instance machine.
|
RecoveryInstance |
withSourceOutpostArn(String sourceOutpostArn)
The ARN of the source Outpost
|
RecoveryInstance |
withSourceServerID(String sourceServerID)
The Source Server ID that this Recovery Instance is associated with.
|
RecoveryInstance |
withTags(Map<String,String> tags)
An array of tags that are associated with the Recovery Instance.
|
public void setAgentVersion(String agentVersion)
The version of the DRS agent installed on the recovery instance
agentVersion
- The version of the DRS agent installed on the recovery instancepublic String getAgentVersion()
The version of the DRS agent installed on the recovery instance
public RecoveryInstance withAgentVersion(String agentVersion)
The version of the DRS agent installed on the recovery instance
agentVersion
- The version of the DRS agent installed on the recovery instancepublic void setArn(String arn)
The ARN of the Recovery Instance.
arn
- The ARN of the Recovery Instance.public String getArn()
The ARN of the Recovery Instance.
public RecoveryInstance withArn(String arn)
The ARN of the Recovery Instance.
arn
- The ARN of the Recovery Instance.public void setDataReplicationInfo(RecoveryInstanceDataReplicationInfo dataReplicationInfo)
The Data Replication Info of the Recovery Instance.
dataReplicationInfo
- The Data Replication Info of the Recovery Instance.public RecoveryInstanceDataReplicationInfo getDataReplicationInfo()
The Data Replication Info of the Recovery Instance.
public RecoveryInstance withDataReplicationInfo(RecoveryInstanceDataReplicationInfo dataReplicationInfo)
The Data Replication Info of the Recovery Instance.
dataReplicationInfo
- The Data Replication Info of the Recovery Instance.public void setEc2InstanceID(String ec2InstanceID)
The EC2 instance ID of the Recovery Instance.
ec2InstanceID
- The EC2 instance ID of the Recovery Instance.public String getEc2InstanceID()
The EC2 instance ID of the Recovery Instance.
public RecoveryInstance withEc2InstanceID(String ec2InstanceID)
The EC2 instance ID of the Recovery Instance.
ec2InstanceID
- The EC2 instance ID of the Recovery Instance.public void setEc2InstanceState(String ec2InstanceState)
The state of the EC2 instance for this Recovery Instance.
ec2InstanceState
- The state of the EC2 instance for this Recovery Instance.EC2InstanceState
public String getEc2InstanceState()
The state of the EC2 instance for this Recovery Instance.
EC2InstanceState
public RecoveryInstance withEc2InstanceState(String ec2InstanceState)
The state of the EC2 instance for this Recovery Instance.
ec2InstanceState
- The state of the EC2 instance for this Recovery Instance.EC2InstanceState
public RecoveryInstance withEc2InstanceState(EC2InstanceState ec2InstanceState)
The state of the EC2 instance for this Recovery Instance.
ec2InstanceState
- The state of the EC2 instance for this Recovery Instance.EC2InstanceState
public void setFailback(RecoveryInstanceFailback failback)
An object representing failback related information of the Recovery Instance.
failback
- An object representing failback related information of the Recovery Instance.public RecoveryInstanceFailback getFailback()
An object representing failback related information of the Recovery Instance.
public RecoveryInstance withFailback(RecoveryInstanceFailback failback)
An object representing failback related information of the Recovery Instance.
failback
- An object representing failback related information of the Recovery Instance.public void setIsDrill(Boolean isDrill)
Whether this Recovery Instance was created for a drill or for an actual Recovery event.
isDrill
- Whether this Recovery Instance was created for a drill or for an actual Recovery event.public Boolean getIsDrill()
Whether this Recovery Instance was created for a drill or for an actual Recovery event.
public RecoveryInstance withIsDrill(Boolean isDrill)
Whether this Recovery Instance was created for a drill or for an actual Recovery event.
isDrill
- Whether this Recovery Instance was created for a drill or for an actual Recovery event.public Boolean isDrill()
Whether this Recovery Instance was created for a drill or for an actual Recovery event.
public void setJobID(String jobID)
The ID of the Job that created the Recovery Instance.
jobID
- The ID of the Job that created the Recovery Instance.public String getJobID()
The ID of the Job that created the Recovery Instance.
public RecoveryInstance withJobID(String jobID)
The ID of the Job that created the Recovery Instance.
jobID
- The ID of the Job that created the Recovery Instance.public void setOriginAvailabilityZone(String originAvailabilityZone)
AWS availability zone associated with the recovery instance.
originAvailabilityZone
- AWS availability zone associated with the recovery instance.public String getOriginAvailabilityZone()
AWS availability zone associated with the recovery instance.
public RecoveryInstance withOriginAvailabilityZone(String originAvailabilityZone)
AWS availability zone associated with the recovery instance.
originAvailabilityZone
- AWS availability zone associated with the recovery instance.public void setOriginEnvironment(String originEnvironment)
Environment (On Premises / AWS) of the instance that the recovery instance originated from.
originEnvironment
- Environment (On Premises / AWS) of the instance that the recovery instance originated from.OriginEnvironment
public String getOriginEnvironment()
Environment (On Premises / AWS) of the instance that the recovery instance originated from.
OriginEnvironment
public RecoveryInstance withOriginEnvironment(String originEnvironment)
Environment (On Premises / AWS) of the instance that the recovery instance originated from.
originEnvironment
- Environment (On Premises / AWS) of the instance that the recovery instance originated from.OriginEnvironment
public RecoveryInstance withOriginEnvironment(OriginEnvironment originEnvironment)
Environment (On Premises / AWS) of the instance that the recovery instance originated from.
originEnvironment
- Environment (On Premises / AWS) of the instance that the recovery instance originated from.OriginEnvironment
public void setPointInTimeSnapshotDateTime(String pointInTimeSnapshotDateTime)
The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.
pointInTimeSnapshotDateTime
- The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.public String getPointInTimeSnapshotDateTime()
The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.
public RecoveryInstance withPointInTimeSnapshotDateTime(String pointInTimeSnapshotDateTime)
The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.
pointInTimeSnapshotDateTime
- The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.public void setRecoveryInstanceID(String recoveryInstanceID)
The ID of the Recovery Instance.
recoveryInstanceID
- The ID of the Recovery Instance.public String getRecoveryInstanceID()
The ID of the Recovery Instance.
public RecoveryInstance withRecoveryInstanceID(String recoveryInstanceID)
The ID of the Recovery Instance.
recoveryInstanceID
- The ID of the Recovery Instance.public void setRecoveryInstanceProperties(RecoveryInstanceProperties recoveryInstanceProperties)
Properties of the Recovery Instance machine.
recoveryInstanceProperties
- Properties of the Recovery Instance machine.public RecoveryInstanceProperties getRecoveryInstanceProperties()
Properties of the Recovery Instance machine.
public RecoveryInstance withRecoveryInstanceProperties(RecoveryInstanceProperties recoveryInstanceProperties)
Properties of the Recovery Instance machine.
recoveryInstanceProperties
- Properties of the Recovery Instance machine.public void setSourceOutpostArn(String sourceOutpostArn)
The ARN of the source Outpost
sourceOutpostArn
- The ARN of the source Outpostpublic String getSourceOutpostArn()
The ARN of the source Outpost
public RecoveryInstance withSourceOutpostArn(String sourceOutpostArn)
The ARN of the source Outpost
sourceOutpostArn
- The ARN of the source Outpostpublic void setSourceServerID(String sourceServerID)
The Source Server ID that this Recovery Instance is associated with.
sourceServerID
- The Source Server ID that this Recovery Instance is associated with.public String getSourceServerID()
The Source Server ID that this Recovery Instance is associated with.
public RecoveryInstance withSourceServerID(String sourceServerID)
The Source Server ID that this Recovery Instance is associated with.
sourceServerID
- The Source Server ID that this Recovery Instance is associated with.public Map<String,String> getTags()
An array of tags that are associated with the Recovery Instance.
public void setTags(Map<String,String> tags)
An array of tags that are associated with the Recovery Instance.
tags
- An array of tags that are associated with the Recovery Instance.public RecoveryInstance withTags(Map<String,String> tags)
An array of tags that are associated with the Recovery Instance.
tags
- An array of tags that are associated with the Recovery Instance.public RecoveryInstance addTagsEntry(String key, String value)
public RecoveryInstance clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public RecoveryInstance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.