@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Connection extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Connection() |
Modifier and Type | Method and Description |
---|---|
Connection |
clone() |
boolean |
equals(Object obj) |
String |
getEndpointArn()
The Amazon Resource Name (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 Amazon Resource Name (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 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 |
setStatus(String status)
The connection status.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Connection |
withEndpointArn(String endpointArn)
The Amazon Resource Name (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 Amazon Resource Name (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 Amazon Resource Name (ARN) of the replication instance.
replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.public String getReplicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
public Connection withReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.public void setEndpointArn(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 String getEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
public Connection withEndpointArn(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(String status)
The connection status.
status
- The connection status.public String getStatus()
The connection status.
public Connection withStatus(String status)
The connection status.
status
- The connection status.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; 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 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(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(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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.