* Source server application ID. *
*/ private String applicationID; /** ** Source server ARN. *
*/ private String arn; /** ** Source server data replication info. *
*/ private DataReplicationInfo dataReplicationInfo; /** ** Source server fqdn for action framework. *
*/ private String fqdnForActionFramework; /** ** Source server archived status. *
*/ private Boolean isArchived; /** ** Source server launched instance. *
*/ private LaunchedInstance launchedInstance; /** ** Source server lifecycle state. *
*/ private LifeCycle lifeCycle; /** ** Source server replication type. *
*/ private String replicationType; /** ** Source server properties. *
*/ private SourceProperties sourceProperties; /** ** Source server ID. *
*/ private String sourceServerID; /** ** Source server Tags. *
*/ private java.util.Map* Source server user provided ID. *
*/ private String userProvidedID; /** ** Source server vCenter client id. *
*/ private String vcenterClientID; /** ** Source server application ID. *
* * @param applicationID * Source server application ID. */ public void setApplicationID(String applicationID) { this.applicationID = applicationID; } /** ** Source server application ID. *
* * @return Source server application ID. */ public String getApplicationID() { return this.applicationID; } /** ** Source server application ID. *
* * @param applicationID * Source server application ID. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationResult withApplicationID(String applicationID) { setApplicationID(applicationID); return this; } /** ** Source server ARN. *
* * @param arn * Source server ARN. */ public void setArn(String arn) { this.arn = arn; } /** ** Source server ARN. *
* * @return Source server ARN. */ public String getArn() { return this.arn; } /** ** Source server ARN. *
* * @param arn * Source server ARN. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationResult withArn(String arn) { setArn(arn); return this; } /** ** Source server data replication info. *
* * @param dataReplicationInfo * Source server data replication info. */ public void setDataReplicationInfo(DataReplicationInfo dataReplicationInfo) { this.dataReplicationInfo = dataReplicationInfo; } /** ** Source server data replication info. *
* * @return Source server data replication info. */ public DataReplicationInfo getDataReplicationInfo() { return this.dataReplicationInfo; } /** ** Source server data replication info. *
* * @param dataReplicationInfo * Source server data replication info. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationResult withDataReplicationInfo(DataReplicationInfo dataReplicationInfo) { setDataReplicationInfo(dataReplicationInfo); return this; } /** ** Source server fqdn for action framework. *
* * @param fqdnForActionFramework * Source server fqdn for action framework. */ public void setFqdnForActionFramework(String fqdnForActionFramework) { this.fqdnForActionFramework = fqdnForActionFramework; } /** ** Source server fqdn for action framework. *
* * @return Source server fqdn for action framework. */ public String getFqdnForActionFramework() { return this.fqdnForActionFramework; } /** ** Source server fqdn for action framework. *
* * @param fqdnForActionFramework * Source server fqdn for action framework. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationResult withFqdnForActionFramework(String fqdnForActionFramework) { setFqdnForActionFramework(fqdnForActionFramework); return this; } /** ** Source server archived status. *
* * @param isArchived * Source server archived status. */ public void setIsArchived(Boolean isArchived) { this.isArchived = isArchived; } /** ** Source server archived status. *
* * @return Source server archived status. */ public Boolean getIsArchived() { return this.isArchived; } /** ** Source server archived status. *
* * @param isArchived * Source server archived status. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationResult withIsArchived(Boolean isArchived) { setIsArchived(isArchived); return this; } /** ** Source server archived status. *
* * @return Source server archived status. */ public Boolean isArchived() { return this.isArchived; } /** ** Source server launched instance. *
* * @param launchedInstance * Source server launched instance. */ public void setLaunchedInstance(LaunchedInstance launchedInstance) { this.launchedInstance = launchedInstance; } /** ** Source server launched instance. *
* * @return Source server launched instance. */ public LaunchedInstance getLaunchedInstance() { return this.launchedInstance; } /** ** Source server launched instance. *
* * @param launchedInstance * Source server launched instance. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationResult withLaunchedInstance(LaunchedInstance launchedInstance) { setLaunchedInstance(launchedInstance); return this; } /** ** Source server lifecycle state. *
* * @param lifeCycle * Source server lifecycle state. */ public void setLifeCycle(LifeCycle lifeCycle) { this.lifeCycle = lifeCycle; } /** ** Source server lifecycle state. *
* * @return Source server lifecycle state. */ public LifeCycle getLifeCycle() { return this.lifeCycle; } /** ** Source server lifecycle state. *
* * @param lifeCycle * Source server lifecycle state. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationResult withLifeCycle(LifeCycle lifeCycle) { setLifeCycle(lifeCycle); return this; } /** ** Source server replication type. *
* * @param replicationType * Source server replication type. * @see ReplicationType */ public void setReplicationType(String replicationType) { this.replicationType = replicationType; } /** ** Source server replication type. *
* * @return Source server replication type. * @see ReplicationType */ public String getReplicationType() { return this.replicationType; } /** ** Source server replication type. *
* * @param replicationType * Source server replication type. * @return Returns a reference to this object so that method calls can be chained together. * @see ReplicationType */ public StartReplicationResult withReplicationType(String replicationType) { setReplicationType(replicationType); return this; } /** ** Source server replication type. *
* * @param replicationType * Source server replication type. * @return Returns a reference to this object so that method calls can be chained together. * @see ReplicationType */ public StartReplicationResult withReplicationType(ReplicationType replicationType) { this.replicationType = replicationType.toString(); return this; } /** ** Source server properties. *
* * @param sourceProperties * Source server properties. */ public void setSourceProperties(SourceProperties sourceProperties) { this.sourceProperties = sourceProperties; } /** ** Source server properties. *
* * @return Source server properties. */ public SourceProperties getSourceProperties() { return this.sourceProperties; } /** ** Source server properties. *
* * @param sourceProperties * Source server properties. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationResult withSourceProperties(SourceProperties sourceProperties) { setSourceProperties(sourceProperties); return this; } /** ** Source server ID. *
* * @param sourceServerID * Source server ID. */ public void setSourceServerID(String sourceServerID) { this.sourceServerID = sourceServerID; } /** ** Source server ID. *
* * @return Source server ID. */ public String getSourceServerID() { return this.sourceServerID; } /** ** Source server ID. *
* * @param sourceServerID * Source server ID. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationResult withSourceServerID(String sourceServerID) { setSourceServerID(sourceServerID); return this; } /** ** Source server Tags. *
* * @return Source server Tags. */ public java.util.Map* Source server Tags. *
* * @param tags * Source server Tags. */ public void setTags(java.util.Map* Source server Tags. *
* * @param tags * Source server Tags. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationResult withTags(java.util.Map* Source server user provided ID. *
* * @param userProvidedID * Source server user provided ID. */ public void setUserProvidedID(String userProvidedID) { this.userProvidedID = userProvidedID; } /** ** Source server user provided ID. *
* * @return Source server user provided ID. */ public String getUserProvidedID() { return this.userProvidedID; } /** ** Source server user provided ID. *
* * @param userProvidedID * Source server user provided ID. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationResult withUserProvidedID(String userProvidedID) { setUserProvidedID(userProvidedID); return this; } /** ** Source server vCenter client id. *
* * @param vcenterClientID * Source server vCenter client id. */ public void setVcenterClientID(String vcenterClientID) { this.vcenterClientID = vcenterClientID; } /** ** Source server vCenter client id. *
* * @return Source server vCenter client id. */ public String getVcenterClientID() { return this.vcenterClientID; } /** ** Source server vCenter client id. *
* * @param vcenterClientID * Source server vCenter client id. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReplicationResult withVcenterClientID(String vcenterClientID) { setVcenterClientID(vcenterClientID); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getApplicationID() != null) sb.append("ApplicationID: ").append(getApplicationID()).append(","); if (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getDataReplicationInfo() != null) sb.append("DataReplicationInfo: ").append(getDataReplicationInfo()).append(","); if (getFqdnForActionFramework() != null) sb.append("FqdnForActionFramework: ").append(getFqdnForActionFramework()).append(","); if (getIsArchived() != null) sb.append("IsArchived: ").append(getIsArchived()).append(","); if (getLaunchedInstance() != null) sb.append("LaunchedInstance: ").append(getLaunchedInstance()).append(","); if (getLifeCycle() != null) sb.append("LifeCycle: ").append(getLifeCycle()).append(","); if (getReplicationType() != null) sb.append("ReplicationType: ").append(getReplicationType()).append(","); if (getSourceProperties() != null) sb.append("SourceProperties: ").append(getSourceProperties()).append(","); if (getSourceServerID() != null) sb.append("SourceServerID: ").append(getSourceServerID()).append(","); if (getTags() != null) sb.append("Tags: ").append("***Sensitive Data Redacted***").append(","); if (getUserProvidedID() != null) sb.append("UserProvidedID: ").append(getUserProvidedID()).append(","); if (getVcenterClientID() != null) sb.append("VcenterClientID: ").append(getVcenterClientID()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof StartReplicationResult == false) return false; StartReplicationResult other = (StartReplicationResult) obj; if (other.getApplicationID() == null ^ this.getApplicationID() == null) return false; if (other.getApplicationID() != null && other.getApplicationID().equals(this.getApplicationID()) == false) return false; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getDataReplicationInfo() == null ^ this.getDataReplicationInfo() == null) return false; if (other.getDataReplicationInfo() != null && other.getDataReplicationInfo().equals(this.getDataReplicationInfo()) == false) return false; if (other.getFqdnForActionFramework() == null ^ this.getFqdnForActionFramework() == null) return false; if (other.getFqdnForActionFramework() != null && other.getFqdnForActionFramework().equals(this.getFqdnForActionFramework()) == false) return false; if (other.getIsArchived() == null ^ this.getIsArchived() == null) return false; if (other.getIsArchived() != null && other.getIsArchived().equals(this.getIsArchived()) == false) return false; if (other.getLaunchedInstance() == null ^ this.getLaunchedInstance() == null) return false; if (other.getLaunchedInstance() != null && other.getLaunchedInstance().equals(this.getLaunchedInstance()) == false) return false; if (other.getLifeCycle() == null ^ this.getLifeCycle() == null) return false; if (other.getLifeCycle() != null && other.getLifeCycle().equals(this.getLifeCycle()) == false) return false; if (other.getReplicationType() == null ^ this.getReplicationType() == null) return false; if (other.getReplicationType() != null && other.getReplicationType().equals(this.getReplicationType()) == false) return false; if (other.getSourceProperties() == null ^ this.getSourceProperties() == null) return false; if (other.getSourceProperties() != null && other.getSourceProperties().equals(this.getSourceProperties()) == false) return false; if (other.getSourceServerID() == null ^ this.getSourceServerID() == null) return false; if (other.getSourceServerID() != null && other.getSourceServerID().equals(this.getSourceServerID()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; if (other.getUserProvidedID() == null ^ this.getUserProvidedID() == null) return false; if (other.getUserProvidedID() != null && other.getUserProvidedID().equals(this.getUserProvidedID()) == false) return false; if (other.getVcenterClientID() == null ^ this.getVcenterClientID() == null) return false; if (other.getVcenterClientID() != null && other.getVcenterClientID().equals(this.getVcenterClientID()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getApplicationID() == null) ? 0 : getApplicationID().hashCode()); hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getDataReplicationInfo() == null) ? 0 : getDataReplicationInfo().hashCode()); hashCode = prime * hashCode + ((getFqdnForActionFramework() == null) ? 0 : getFqdnForActionFramework().hashCode()); hashCode = prime * hashCode + ((getIsArchived() == null) ? 0 : getIsArchived().hashCode()); hashCode = prime * hashCode + ((getLaunchedInstance() == null) ? 0 : getLaunchedInstance().hashCode()); hashCode = prime * hashCode + ((getLifeCycle() == null) ? 0 : getLifeCycle().hashCode()); hashCode = prime * hashCode + ((getReplicationType() == null) ? 0 : getReplicationType().hashCode()); hashCode = prime * hashCode + ((getSourceProperties() == null) ? 0 : getSourceProperties().hashCode()); hashCode = prime * hashCode + ((getSourceServerID() == null) ? 0 : getSourceServerID().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getUserProvidedID() == null) ? 0 : getUserProvidedID().hashCode()); hashCode = prime * hashCode + ((getVcenterClientID() == null) ? 0 : getVcenterClientID().hashCode()); return hashCode; } @Override public StartReplicationResult clone() { try { return (StartReplicationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }