@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Connection extends Object implements Serializable, Cloneable, StructuredPojo
Status of the connection between an endpoint and a replication instance, including Amazon Resource Names (ARNs) and the last error message issued.
Constructor and Description |
---|
Connection() |
Modifier and Type | Method and Description |
---|---|
Connection |
clone() |
boolean |
equals(Object obj) |
String |
getEndpointArn()
The ARN string that uniquely identifies the endpoint.
|
String |
getEndpointIdentifier()
The identifier of the endpoint.
|
String |
getLastFailureMessage()
The error message when the connection last failed.
|
String |
getReplicationInstanceArn()
The ARN of the replication instance.
|
String |
getReplicationInstanceIdentifier()
The replication instance identifier.
|
String |
getStatus()
The connection status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndpointArn(String endpointArn)
The ARN string that uniquely identifies the endpoint.
|
void |
setEndpointIdentifier(String endpointIdentifier)
The identifier of the endpoint.
|
void |
setLastFailureMessage(String lastFailureMessage)
The error message when the connection last failed.
|
void |
setReplicationInstanceArn(String replicationInstanceArn)
The ARN of the replication instance.
|
void |
setReplicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier.
|
void |
setStatus(String status)
The connection status.
|
String |
toString()
Returns a string representation of this object.
|
Connection |
withEndpointArn(String endpointArn)
The ARN string that uniquely identifies the endpoint.
|
Connection |
withEndpointIdentifier(String endpointIdentifier)
The identifier of the endpoint.
|
Connection |
withLastFailureMessage(String lastFailureMessage)
The error message when the connection last failed.
|
Connection |
withReplicationInstanceArn(String replicationInstanceArn)
The ARN of the replication instance.
|
Connection |
withReplicationInstanceIdentifier(String replicationInstanceIdentifier)
The replication instance identifier.
|
Connection |
withStatus(String status)
The connection status.
|
public void setReplicationInstanceArn(String replicationInstanceArn)
The ARN of the replication instance.
replicationInstanceArn
- The ARN of the replication instance.public String getReplicationInstanceArn()
The ARN of the replication instance.
public Connection withReplicationInstanceArn(String replicationInstanceArn)
The ARN of the replication instance.
replicationInstanceArn
- The ARN of the replication instance.public void setEndpointArn(String endpointArn)
The ARN string that uniquely identifies the endpoint.
endpointArn
- The ARN string that uniquely identifies the endpoint.public String getEndpointArn()
The ARN string that uniquely identifies the endpoint.
public Connection withEndpointArn(String endpointArn)
The ARN string that uniquely identifies the endpoint.
endpointArn
- The ARN string that uniquely identifies the endpoint.public void setStatus(String status)
The connection status. This parameter can return one of the following values:
"successful"
"testing"
"failed"
"deleting"
status
- The connection status. This parameter can return one of the following values:
"successful"
"testing"
"failed"
"deleting"
public String getStatus()
The connection status. This parameter can return one of the following values:
"successful"
"testing"
"failed"
"deleting"
"successful"
"testing"
"failed"
"deleting"
public Connection withStatus(String status)
The connection status. This parameter can return one of the following values:
"successful"
"testing"
"failed"
"deleting"
status
- The connection status. This parameter can return one of the following values:
"successful"
"testing"
"failed"
"deleting"
public void setLastFailureMessage(String lastFailureMessage)
The error message when the connection last failed.
lastFailureMessage
- The error message when the connection last failed.public String getLastFailureMessage()
The error message when the connection last failed.
public Connection withLastFailureMessage(String lastFailureMessage)
The error message when the connection last failed.
lastFailureMessage
- The error message when the connection last failed.public void setEndpointIdentifier(String endpointIdentifier)
The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
endpointIdentifier
- The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters,
digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.public String getEndpointIdentifier()
The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
public Connection withEndpointIdentifier(String endpointIdentifier)
The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
endpointIdentifier
- The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters,
digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.public void setReplicationInstanceIdentifier(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 String getReplicationInstanceIdentifier()
The replication instance identifier. This parameter is stored as a lowercase string.
public Connection withReplicationInstanceIdentifier(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 String toString()
toString
in class Object
Object.toString()
public Connection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.