@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 |
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.
|
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 |
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 |
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 |
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 |
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 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 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.