@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceServer extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
SourceServer() |
Modifier and Type | Method and Description |
---|---|
SourceServer |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
SourceServer |
clearTagsEntries()
Removes all the entries added into Tags.
|
SourceServer |
clone() |
boolean |
equals(Object obj) |
String |
getAgentVersion()
The version of the DRS agent installed on the source server
|
String |
getArn()
The ARN of the Source Server.
|
DataReplicationInfo |
getDataReplicationInfo()
The Data Replication Info of the Source Server.
|
String |
getLastLaunchResult()
The status of the last recovery launch of this Source Server.
|
LifeCycle |
getLifeCycle()
The lifecycle information of this Source Server.
|
String |
getRecoveryInstanceId()
The ID of the Recovery Instance associated with this Source Server.
|
String |
getReplicationDirection()
Replication direction of the Source Server.
|
String |
getReversedDirectionSourceServerArn()
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN
of the Source Server on the opposite replication direction.
|
SourceCloudProperties |
getSourceCloudProperties()
Source cloud properties of the Source Server.
|
String |
getSourceNetworkID()
ID of the Source Network which is protecting this Source Server's network.
|
SourceProperties |
getSourceProperties()
The source properties of the Source Server.
|
String |
getSourceServerID()
The ID of the Source Server.
|
StagingArea |
getStagingArea()
The staging area of the source server.
|
Map<String,String> |
getTags()
The tags associated with the Source Server.
|
int |
hashCode() |
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 source server
|
void |
setArn(String arn)
The ARN of the Source Server.
|
void |
setDataReplicationInfo(DataReplicationInfo dataReplicationInfo)
The Data Replication Info of the Source Server.
|
void |
setLastLaunchResult(String lastLaunchResult)
The status of the last recovery launch of this Source Server.
|
void |
setLifeCycle(LifeCycle lifeCycle)
The lifecycle information of this Source Server.
|
void |
setRecoveryInstanceId(String recoveryInstanceId)
The ID of the Recovery Instance associated with this Source Server.
|
void |
setReplicationDirection(String replicationDirection)
Replication direction of the Source Server.
|
void |
setReversedDirectionSourceServerArn(String reversedDirectionSourceServerArn)
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN
of the Source Server on the opposite replication direction.
|
void |
setSourceCloudProperties(SourceCloudProperties sourceCloudProperties)
Source cloud properties of the Source Server.
|
void |
setSourceNetworkID(String sourceNetworkID)
ID of the Source Network which is protecting this Source Server's network.
|
void |
setSourceProperties(SourceProperties sourceProperties)
The source properties of the Source Server.
|
void |
setSourceServerID(String sourceServerID)
The ID of the Source Server.
|
void |
setStagingArea(StagingArea stagingArea)
The staging area of the source server.
|
void |
setTags(Map<String,String> tags)
The tags associated with the Source Server.
|
String |
toString()
Returns a string representation of this object.
|
SourceServer |
withAgentVersion(String agentVersion)
The version of the DRS agent installed on the source server
|
SourceServer |
withArn(String arn)
The ARN of the Source Server.
|
SourceServer |
withDataReplicationInfo(DataReplicationInfo dataReplicationInfo)
The Data Replication Info of the Source Server.
|
SourceServer |
withLastLaunchResult(LastLaunchResult lastLaunchResult)
The status of the last recovery launch of this Source Server.
|
SourceServer |
withLastLaunchResult(String lastLaunchResult)
The status of the last recovery launch of this Source Server.
|
SourceServer |
withLifeCycle(LifeCycle lifeCycle)
The lifecycle information of this Source Server.
|
SourceServer |
withRecoveryInstanceId(String recoveryInstanceId)
The ID of the Recovery Instance associated with this Source Server.
|
SourceServer |
withReplicationDirection(ReplicationDirection replicationDirection)
Replication direction of the Source Server.
|
SourceServer |
withReplicationDirection(String replicationDirection)
Replication direction of the Source Server.
|
SourceServer |
withReversedDirectionSourceServerArn(String reversedDirectionSourceServerArn)
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN
of the Source Server on the opposite replication direction.
|
SourceServer |
withSourceCloudProperties(SourceCloudProperties sourceCloudProperties)
Source cloud properties of the Source Server.
|
SourceServer |
withSourceNetworkID(String sourceNetworkID)
ID of the Source Network which is protecting this Source Server's network.
|
SourceServer |
withSourceProperties(SourceProperties sourceProperties)
The source properties of the Source Server.
|
SourceServer |
withSourceServerID(String sourceServerID)
The ID of the Source Server.
|
SourceServer |
withStagingArea(StagingArea stagingArea)
The staging area of the source server.
|
SourceServer |
withTags(Map<String,String> tags)
The tags associated with the Source Server.
|
public void setAgentVersion(String agentVersion)
The version of the DRS agent installed on the source server
agentVersion
- The version of the DRS agent installed on the source serverpublic String getAgentVersion()
The version of the DRS agent installed on the source server
public SourceServer withAgentVersion(String agentVersion)
The version of the DRS agent installed on the source server
agentVersion
- The version of the DRS agent installed on the source serverpublic void setArn(String arn)
The ARN of the Source Server.
arn
- The ARN of the Source Server.public String getArn()
The ARN of the Source Server.
public SourceServer withArn(String arn)
The ARN of the Source Server.
arn
- The ARN of the Source Server.public void setDataReplicationInfo(DataReplicationInfo dataReplicationInfo)
The Data Replication Info of the Source Server.
dataReplicationInfo
- The Data Replication Info of the Source Server.public DataReplicationInfo getDataReplicationInfo()
The Data Replication Info of the Source Server.
public SourceServer withDataReplicationInfo(DataReplicationInfo dataReplicationInfo)
The Data Replication Info of the Source Server.
dataReplicationInfo
- The Data Replication Info of the Source Server.public void setLastLaunchResult(String lastLaunchResult)
The status of the last recovery launch of this Source Server.
lastLaunchResult
- The status of the last recovery launch of this Source Server.LastLaunchResult
public String getLastLaunchResult()
The status of the last recovery launch of this Source Server.
LastLaunchResult
public SourceServer withLastLaunchResult(String lastLaunchResult)
The status of the last recovery launch of this Source Server.
lastLaunchResult
- The status of the last recovery launch of this Source Server.LastLaunchResult
public SourceServer withLastLaunchResult(LastLaunchResult lastLaunchResult)
The status of the last recovery launch of this Source Server.
lastLaunchResult
- The status of the last recovery launch of this Source Server.LastLaunchResult
public void setLifeCycle(LifeCycle lifeCycle)
The lifecycle information of this Source Server.
lifeCycle
- The lifecycle information of this Source Server.public LifeCycle getLifeCycle()
The lifecycle information of this Source Server.
public SourceServer withLifeCycle(LifeCycle lifeCycle)
The lifecycle information of this Source Server.
lifeCycle
- The lifecycle information of this Source Server.public void setRecoveryInstanceId(String recoveryInstanceId)
The ID of the Recovery Instance associated with this Source Server.
recoveryInstanceId
- The ID of the Recovery Instance associated with this Source Server.public String getRecoveryInstanceId()
The ID of the Recovery Instance associated with this Source Server.
public SourceServer withRecoveryInstanceId(String recoveryInstanceId)
The ID of the Recovery Instance associated with this Source Server.
recoveryInstanceId
- The ID of the Recovery Instance associated with this Source Server.public void setReplicationDirection(String replicationDirection)
Replication direction of the Source Server.
replicationDirection
- Replication direction of the Source Server.ReplicationDirection
public String getReplicationDirection()
Replication direction of the Source Server.
ReplicationDirection
public SourceServer withReplicationDirection(String replicationDirection)
Replication direction of the Source Server.
replicationDirection
- Replication direction of the Source Server.ReplicationDirection
public SourceServer withReplicationDirection(ReplicationDirection replicationDirection)
Replication direction of the Source Server.
replicationDirection
- Replication direction of the Source Server.ReplicationDirection
public void setReversedDirectionSourceServerArn(String reversedDirectionSourceServerArn)
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.
reversedDirectionSourceServerArn
- For EC2-originated Source Servers which have been failed over and then failed back, this value will mean
the ARN of the Source Server on the opposite replication direction.public String getReversedDirectionSourceServerArn()
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.
public SourceServer withReversedDirectionSourceServerArn(String reversedDirectionSourceServerArn)
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.
reversedDirectionSourceServerArn
- For EC2-originated Source Servers which have been failed over and then failed back, this value will mean
the ARN of the Source Server on the opposite replication direction.public void setSourceCloudProperties(SourceCloudProperties sourceCloudProperties)
Source cloud properties of the Source Server.
sourceCloudProperties
- Source cloud properties of the Source Server.public SourceCloudProperties getSourceCloudProperties()
Source cloud properties of the Source Server.
public SourceServer withSourceCloudProperties(SourceCloudProperties sourceCloudProperties)
Source cloud properties of the Source Server.
sourceCloudProperties
- Source cloud properties of the Source Server.public void setSourceNetworkID(String sourceNetworkID)
ID of the Source Network which is protecting this Source Server's network.
sourceNetworkID
- ID of the Source Network which is protecting this Source Server's network.public String getSourceNetworkID()
ID of the Source Network which is protecting this Source Server's network.
public SourceServer withSourceNetworkID(String sourceNetworkID)
ID of the Source Network which is protecting this Source Server's network.
sourceNetworkID
- ID of the Source Network which is protecting this Source Server's network.public void setSourceProperties(SourceProperties sourceProperties)
The source properties of the Source Server.
sourceProperties
- The source properties of the Source Server.public SourceProperties getSourceProperties()
The source properties of the Source Server.
public SourceServer withSourceProperties(SourceProperties sourceProperties)
The source properties of the Source Server.
sourceProperties
- The source properties of the Source Server.public void setSourceServerID(String sourceServerID)
The ID of the Source Server.
sourceServerID
- The ID of the Source Server.public String getSourceServerID()
The ID of the Source Server.
public SourceServer withSourceServerID(String sourceServerID)
The ID of the Source Server.
sourceServerID
- The ID of the Source Server.public void setStagingArea(StagingArea stagingArea)
The staging area of the source server.
stagingArea
- The staging area of the source server.public StagingArea getStagingArea()
The staging area of the source server.
public SourceServer withStagingArea(StagingArea stagingArea)
The staging area of the source server.
stagingArea
- The staging area of the source server.public Map<String,String> getTags()
The tags associated with the Source Server.
public void setTags(Map<String,String> tags)
The tags associated with the Source Server.
tags
- The tags associated with the Source Server.public SourceServer withTags(Map<String,String> tags)
The tags associated with the Source Server.
tags
- The tags associated with the Source Server.public SourceServer addTagsEntry(String key, String value)
public SourceServer clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public SourceServer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.