public class Connection
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
endpointArn
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
private java.lang.String |
endpointIdentifier
The identifier of the endpoint.
|
private java.lang.String |
lastFailureMessage
The error message when the connection last failed.
|
private java.lang.String |
replicationInstanceArn
The Amazon Resource Name (ARN) of the replication instance.
|
private java.lang.String |
replicationInstanceIdentifier
The replication instance identifier.
|
private java.lang.String |
status
The connection status.
|
Constructor and Description |
---|
Connection() |
Modifier and Type | Method and Description |
---|---|
Connection |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
java.lang.String |
getEndpointIdentifier()
The identifier of the endpoint.
|
java.lang.String |
getLastFailureMessage()
The error message when the connection last failed.
|
java.lang.String |
getReplicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
|
java.lang.String |
getReplicationInstanceIdentifier()
The replication instance identifier.
|
java.lang.String |
getStatus()
The connection status.
|
int |
hashCode() |
void |
setEndpointArn(java.lang.String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
void |
setEndpointIdentifier(java.lang.String endpointIdentifier)
The identifier of the endpoint.
|
void |
setLastFailureMessage(java.lang.String lastFailureMessage)
The error message when the connection last failed.
|
void |
setReplicationInstanceArn(java.lang.String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
|
void |
setReplicationInstanceIdentifier(java.lang.String replicationInstanceIdentifier)
The replication instance identifier.
|
void |
setStatus(java.lang.String status)
The connection status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Connection |
withEndpointArn(java.lang.String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
Connection |
withEndpointIdentifier(java.lang.String endpointIdentifier)
The identifier of the endpoint.
|
Connection |
withLastFailureMessage(java.lang.String lastFailureMessage)
The error message when the connection last failed.
|
Connection |
withReplicationInstanceArn(java.lang.String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
|
Connection |
withReplicationInstanceIdentifier(java.lang.String replicationInstanceIdentifier)
The replication instance identifier.
|
Connection |
withStatus(java.lang.String status)
The connection status.
|
private java.lang.String replicationInstanceArn
The Amazon Resource Name (ARN) of the replication instance.
private java.lang.String endpointArn
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
private java.lang.String status
The connection status.
private java.lang.String lastFailureMessage
The error message when the connection last failed.
private java.lang.String endpointIdentifier
The identifier of the endpoint. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
private java.lang.String replicationInstanceIdentifier
The replication instance identifier. This parameter is stored as a lowercase string.
public void setReplicationInstanceArn(java.lang.String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.public java.lang.String getReplicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
public Connection withReplicationInstanceArn(java.lang.String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.public void setEndpointArn(java.lang.String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.public java.lang.String getEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
public Connection withEndpointArn(java.lang.String endpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.public void setStatus(java.lang.String status)
The connection status.
status
- The connection status.public java.lang.String getStatus()
The connection status.
public Connection withStatus(java.lang.String status)
The connection status.
status
- The connection status.public void setLastFailureMessage(java.lang.String lastFailureMessage)
The error message when the connection last failed.
lastFailureMessage
- The error message when the connection last failed.public java.lang.String getLastFailureMessage()
The error message when the connection last failed.
public Connection withLastFailureMessage(java.lang.String lastFailureMessage)
The error message when the connection last failed.
lastFailureMessage
- The error message when the connection last failed.public void setEndpointIdentifier(java.lang.String endpointIdentifier)
The identifier of the endpoint. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
endpointIdentifier
- The identifier of the endpoint. Identifiers must begin with a
letter; must contain only ASCII letters, digits, and hyphens; and
must not end with a hyphen or contain two consecutive hyphens.public java.lang.String getEndpointIdentifier()
The identifier of the endpoint. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
public Connection withEndpointIdentifier(java.lang.String endpointIdentifier)
The identifier of the endpoint. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
endpointIdentifier
- The identifier of the endpoint. Identifiers must begin with a
letter; must contain only ASCII letters, digits, and hyphens; and
must not end with a hyphen or contain two consecutive hyphens.public void setReplicationInstanceIdentifier(java.lang.String replicationInstanceIdentifier)
The replication instance identifier. This parameter is stored as a lowercase string.
replicationInstanceIdentifier
- The replication instance identifier. This parameter is stored as a
lowercase string.public java.lang.String getReplicationInstanceIdentifier()
The replication instance identifier. This parameter is stored as a lowercase string.
public Connection withReplicationInstanceIdentifier(java.lang.String replicationInstanceIdentifier)
The replication instance identifier. This parameter is stored as a lowercase string.
replicationInstanceIdentifier
- The replication instance identifier. This parameter is stored as a
lowercase string.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Connection clone()
clone
in class java.lang.Object