Class Connection
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.The identifier of the endpoint.The error message when the connection last failed.The Amazon Resource Name (ARN) of the replication instance.The replication instance identifier.The connection status.int
hashCode()
void
setEndpointArn
(String endpointArn) The Amazon Resource Name (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 Amazon Resource Name (ARN) of the replication instance.void
setReplicationInstanceIdentifier
(String replicationInstanceIdentifier) The replication instance identifier.void
The connection status.toString()
Returns a string representation of this object; useful for testing and debugging.withEndpointArn
(String endpointArn) The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.withEndpointIdentifier
(String endpointIdentifier) The identifier of the endpoint.withLastFailureMessage
(String lastFailureMessage) The error message when the connection last failed.withReplicationInstanceArn
(String replicationInstanceArn) The Amazon Resource Name (ARN) of the replication instance.withReplicationInstanceIdentifier
(String replicationInstanceIdentifier) The replication instance identifier.withStatus
(String status) The connection status.
-
Constructor Details
-
Connection
public Connection()
-
-
Method Details
-
setReplicationInstanceArn
The Amazon Resource Name (ARN) of the replication instance.
- Parameters:
replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.
-
getReplicationInstanceArn
The Amazon Resource Name (ARN) of the replication instance.
- Returns:
- The Amazon Resource Name (ARN) of the replication instance.
-
withReplicationInstanceArn
The Amazon Resource Name (ARN) of the replication instance.
- Parameters:
replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndpointArn
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Parameters:
endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
getEndpointArn
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Returns:
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
withEndpointArn
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Parameters:
endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The connection status.
- Parameters:
status
- The connection status.
-
getStatus
The connection status.
- Returns:
- The connection status.
-
withStatus
The connection status.
- Parameters:
status
- The connection status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastFailureMessage
The error message when the connection last failed.
- Parameters:
lastFailureMessage
- The error message when the connection last failed.
-
getLastFailureMessage
The error message when the connection last failed.
- Returns:
- The error message when the connection last failed.
-
withLastFailureMessage
The error message when the connection last failed.
- Parameters:
lastFailureMessage
- The error message when the connection last failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndpointIdentifier
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withEndpointIdentifier
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReplicationInstanceIdentifier
The replication instance identifier. This parameter is stored as a lowercase string.
- Parameters:
replicationInstanceIdentifier
- The replication instance identifier. This parameter is stored as a lowercase string.
-
getReplicationInstanceIdentifier
The replication instance identifier. This parameter is stored as a lowercase string.
- Returns:
- The replication instance identifier. This parameter is stored as a lowercase string.
-
withReplicationInstanceIdentifier
The replication instance identifier. This parameter is stored as a lowercase string.
- Parameters:
replicationInstanceIdentifier
- The replication instance identifier. This parameter is stored as a lowercase string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-