@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceNetwork extends Object implements Serializable, Cloneable, StructuredPojo
The ARN of the Source Network.
Constructor and Description |
---|
SourceNetwork() |
Modifier and Type | Method and Description |
---|---|
SourceNetwork |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
SourceNetwork |
clearTagsEntries()
Removes all the entries added into Tags.
|
SourceNetwork |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the Source Network.
|
String |
getCfnStackName()
CloudFormation stack name that was deployed for recovering the Source Network.
|
RecoveryLifeCycle |
getLastRecovery()
An object containing information regarding the last recovery of the Source Network.
|
String |
getLaunchedVpcID()
ID of the recovered VPC following Source Network recovery.
|
String |
getReplicationStatus()
Status of Source Network Replication.
|
String |
getReplicationStatusDetails()
Error details in case Source Network replication status is ERROR.
|
String |
getSourceAccountID()
Account ID containing the VPC protected by the Source Network.
|
String |
getSourceNetworkID()
Source Network ID.
|
String |
getSourceRegion()
Region containing the VPC protected by the Source Network.
|
String |
getSourceVpcID()
VPC ID protected by the Source Network.
|
Map<String,String> |
getTags()
A list of tags associated with the Source Network.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the Source Network.
|
void |
setCfnStackName(String cfnStackName)
CloudFormation stack name that was deployed for recovering the Source Network.
|
void |
setLastRecovery(RecoveryLifeCycle lastRecovery)
An object containing information regarding the last recovery of the Source Network.
|
void |
setLaunchedVpcID(String launchedVpcID)
ID of the recovered VPC following Source Network recovery.
|
void |
setReplicationStatus(String replicationStatus)
Status of Source Network Replication.
|
void |
setReplicationStatusDetails(String replicationStatusDetails)
Error details in case Source Network replication status is ERROR.
|
void |
setSourceAccountID(String sourceAccountID)
Account ID containing the VPC protected by the Source Network.
|
void |
setSourceNetworkID(String sourceNetworkID)
Source Network ID.
|
void |
setSourceRegion(String sourceRegion)
Region containing the VPC protected by the Source Network.
|
void |
setSourceVpcID(String sourceVpcID)
VPC ID protected by the Source Network.
|
void |
setTags(Map<String,String> tags)
A list of tags associated with the Source Network.
|
String |
toString()
Returns a string representation of this object.
|
SourceNetwork |
withArn(String arn)
The ARN of the Source Network.
|
SourceNetwork |
withCfnStackName(String cfnStackName)
CloudFormation stack name that was deployed for recovering the Source Network.
|
SourceNetwork |
withLastRecovery(RecoveryLifeCycle lastRecovery)
An object containing information regarding the last recovery of the Source Network.
|
SourceNetwork |
withLaunchedVpcID(String launchedVpcID)
ID of the recovered VPC following Source Network recovery.
|
SourceNetwork |
withReplicationStatus(ReplicationStatus replicationStatus)
Status of Source Network Replication.
|
SourceNetwork |
withReplicationStatus(String replicationStatus)
Status of Source Network Replication.
|
SourceNetwork |
withReplicationStatusDetails(String replicationStatusDetails)
Error details in case Source Network replication status is ERROR.
|
SourceNetwork |
withSourceAccountID(String sourceAccountID)
Account ID containing the VPC protected by the Source Network.
|
SourceNetwork |
withSourceNetworkID(String sourceNetworkID)
Source Network ID.
|
SourceNetwork |
withSourceRegion(String sourceRegion)
Region containing the VPC protected by the Source Network.
|
SourceNetwork |
withSourceVpcID(String sourceVpcID)
VPC ID protected by the Source Network.
|
SourceNetwork |
withTags(Map<String,String> tags)
A list of tags associated with the Source Network.
|
public void setArn(String arn)
The ARN of the Source Network.
arn
- The ARN of the Source Network.public String getArn()
The ARN of the Source Network.
public SourceNetwork withArn(String arn)
The ARN of the Source Network.
arn
- The ARN of the Source Network.public void setCfnStackName(String cfnStackName)
CloudFormation stack name that was deployed for recovering the Source Network.
cfnStackName
- CloudFormation stack name that was deployed for recovering the Source Network.public String getCfnStackName()
CloudFormation stack name that was deployed for recovering the Source Network.
public SourceNetwork withCfnStackName(String cfnStackName)
CloudFormation stack name that was deployed for recovering the Source Network.
cfnStackName
- CloudFormation stack name that was deployed for recovering the Source Network.public void setLastRecovery(RecoveryLifeCycle lastRecovery)
An object containing information regarding the last recovery of the Source Network.
lastRecovery
- An object containing information regarding the last recovery of the Source Network.public RecoveryLifeCycle getLastRecovery()
An object containing information regarding the last recovery of the Source Network.
public SourceNetwork withLastRecovery(RecoveryLifeCycle lastRecovery)
An object containing information regarding the last recovery of the Source Network.
lastRecovery
- An object containing information regarding the last recovery of the Source Network.public void setLaunchedVpcID(String launchedVpcID)
ID of the recovered VPC following Source Network recovery.
launchedVpcID
- ID of the recovered VPC following Source Network recovery.public String getLaunchedVpcID()
ID of the recovered VPC following Source Network recovery.
public SourceNetwork withLaunchedVpcID(String launchedVpcID)
ID of the recovered VPC following Source Network recovery.
launchedVpcID
- ID of the recovered VPC following Source Network recovery.public void setReplicationStatus(String replicationStatus)
Status of Source Network Replication. Possible values: (a) STOPPED - Source Network is not replicating. (b) IN_PROGRESS - Source Network is being replicated. (c) PROTECTED - Source Network was replicated successfully and is being synchronized for changes. (d) ERROR - Source Network replication has failed
replicationStatus
- Status of Source Network Replication. Possible values: (a) STOPPED - Source Network is not replicating.
(b) IN_PROGRESS - Source Network is being replicated. (c) PROTECTED - Source Network was replicated
successfully and is being synchronized for changes. (d) ERROR - Source Network replication has failedReplicationStatus
public String getReplicationStatus()
Status of Source Network Replication. Possible values: (a) STOPPED - Source Network is not replicating. (b) IN_PROGRESS - Source Network is being replicated. (c) PROTECTED - Source Network was replicated successfully and is being synchronized for changes. (d) ERROR - Source Network replication has failed
ReplicationStatus
public SourceNetwork withReplicationStatus(String replicationStatus)
Status of Source Network Replication. Possible values: (a) STOPPED - Source Network is not replicating. (b) IN_PROGRESS - Source Network is being replicated. (c) PROTECTED - Source Network was replicated successfully and is being synchronized for changes. (d) ERROR - Source Network replication has failed
replicationStatus
- Status of Source Network Replication. Possible values: (a) STOPPED - Source Network is not replicating.
(b) IN_PROGRESS - Source Network is being replicated. (c) PROTECTED - Source Network was replicated
successfully and is being synchronized for changes. (d) ERROR - Source Network replication has failedReplicationStatus
public SourceNetwork withReplicationStatus(ReplicationStatus replicationStatus)
Status of Source Network Replication. Possible values: (a) STOPPED - Source Network is not replicating. (b) IN_PROGRESS - Source Network is being replicated. (c) PROTECTED - Source Network was replicated successfully and is being synchronized for changes. (d) ERROR - Source Network replication has failed
replicationStatus
- Status of Source Network Replication. Possible values: (a) STOPPED - Source Network is not replicating.
(b) IN_PROGRESS - Source Network is being replicated. (c) PROTECTED - Source Network was replicated
successfully and is being synchronized for changes. (d) ERROR - Source Network replication has failedReplicationStatus
public void setReplicationStatusDetails(String replicationStatusDetails)
Error details in case Source Network replication status is ERROR.
replicationStatusDetails
- Error details in case Source Network replication status is ERROR.public String getReplicationStatusDetails()
Error details in case Source Network replication status is ERROR.
public SourceNetwork withReplicationStatusDetails(String replicationStatusDetails)
Error details in case Source Network replication status is ERROR.
replicationStatusDetails
- Error details in case Source Network replication status is ERROR.public void setSourceAccountID(String sourceAccountID)
Account ID containing the VPC protected by the Source Network.
sourceAccountID
- Account ID containing the VPC protected by the Source Network.public String getSourceAccountID()
Account ID containing the VPC protected by the Source Network.
public SourceNetwork withSourceAccountID(String sourceAccountID)
Account ID containing the VPC protected by the Source Network.
sourceAccountID
- Account ID containing the VPC protected by the Source Network.public void setSourceNetworkID(String sourceNetworkID)
Source Network ID.
sourceNetworkID
- Source Network ID.public String getSourceNetworkID()
Source Network ID.
public SourceNetwork withSourceNetworkID(String sourceNetworkID)
Source Network ID.
sourceNetworkID
- Source Network ID.public void setSourceRegion(String sourceRegion)
Region containing the VPC protected by the Source Network.
sourceRegion
- Region containing the VPC protected by the Source Network.public String getSourceRegion()
Region containing the VPC protected by the Source Network.
public SourceNetwork withSourceRegion(String sourceRegion)
Region containing the VPC protected by the Source Network.
sourceRegion
- Region containing the VPC protected by the Source Network.public void setSourceVpcID(String sourceVpcID)
VPC ID protected by the Source Network.
sourceVpcID
- VPC ID protected by the Source Network.public String getSourceVpcID()
VPC ID protected by the Source Network.
public SourceNetwork withSourceVpcID(String sourceVpcID)
VPC ID protected by the Source Network.
sourceVpcID
- VPC ID protected by the Source Network.public Map<String,String> getTags()
A list of tags associated with the Source Network.
public void setTags(Map<String,String> tags)
A list of tags associated with the Source Network.
tags
- A list of tags associated with the Source Network.public SourceNetwork withTags(Map<String,String> tags)
A list of tags associated with the Source Network.
tags
- A list of tags associated with the Source Network.public SourceNetwork addTagsEntry(String key, String value)
public SourceNetwork clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public SourceNetwork clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.