Class Connection
- java.lang.Object
-
- com.amazonaws.services.databasemigrationservice.model.Connection
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Connection extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Connection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connectionclone()booleanequals(Object obj)StringgetEndpointArn()The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.StringgetEndpointIdentifier()The identifier of the endpoint.StringgetLastFailureMessage()The error message when the connection last failed.StringgetReplicationInstanceArn()The Amazon Resource Name (ARN) of the replication instance.StringgetReplicationInstanceIdentifier()The replication instance identifier.StringgetStatus()The connection status.inthashCode()voidsetEndpointArn(String endpointArn)The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.voidsetEndpointIdentifier(String endpointIdentifier)The identifier of the endpoint.voidsetLastFailureMessage(String lastFailureMessage)The error message when the connection last failed.voidsetReplicationInstanceArn(String replicationInstanceArn)The Amazon Resource Name (ARN) of the replication instance.voidsetReplicationInstanceIdentifier(String replicationInstanceIdentifier)The replication instance identifier.voidsetStatus(String status)The connection status.StringtoString()Returns a string representation of this object; useful for testing and debugging.ConnectionwithEndpointArn(String endpointArn)The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.ConnectionwithEndpointIdentifier(String endpointIdentifier)The identifier of the endpoint.ConnectionwithLastFailureMessage(String lastFailureMessage)The error message when the connection last failed.ConnectionwithReplicationInstanceArn(String replicationInstanceArn)The Amazon Resource Name (ARN) of the replication instance.ConnectionwithReplicationInstanceIdentifier(String replicationInstanceIdentifier)The replication instance identifier.ConnectionwithStatus(String status)The connection status.
-
-
-
Method Detail
-
setReplicationInstanceArn
public void setReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
- Parameters:
replicationInstanceArn- The Amazon Resource Name (ARN) of the replication instance.
-
getReplicationInstanceArn
public String getReplicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
- Returns:
- The Amazon Resource Name (ARN) of the replication instance.
-
withReplicationInstanceArn
public Connection withReplicationInstanceArn(String replicationInstanceArn)
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
public void setEndpointArn(String endpointArn)
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
public String 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
public Connection withEndpointArn(String endpointArn)
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
public void setStatus(String status)
The connection status.
- Parameters:
status- The connection status.
-
getStatus
public String getStatus()
The connection status.
- Returns:
- The connection status.
-
withStatus
public Connection withStatus(String status)
The connection status.
- Parameters:
status- The connection status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastFailureMessage
public void setLastFailureMessage(String lastFailureMessage)
The error message when the connection last failed.
- Parameters:
lastFailureMessage- The error message when the connection last failed.
-
getLastFailureMessage
public String getLastFailureMessage()
The error message when the connection last failed.
- Returns:
- The error message when the connection last failed.
-
withLastFailureMessage
public Connection withLastFailureMessage(String lastFailureMessage)
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
public void setEndpointIdentifier(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.
- 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
public 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.
- 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
public Connection withEndpointIdentifier(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.
- 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
public void setReplicationInstanceIdentifier(String replicationInstanceIdentifier)
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
public 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
public Connection withReplicationInstanceIdentifier(String replicationInstanceIdentifier)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public Connection clone()
-
-