@Generated(value="software.amazon.awssdk:codegen") public final class Connection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Connection.Builder,Connection>
Status of the connection between an endpoint and a replication instance, including Amazon Resource Names (ARNs) and the last error message issued.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Connection.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Connection.Builder |
builder() |
String |
endpointArn()
The ARN string that uniquely identifies the endpoint.
|
String |
endpointIdentifier()
The identifier of the endpoint.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastFailureMessage()
The error message when the connection last failed.
|
String |
replicationInstanceArn()
The ARN of the replication instance.
|
String |
replicationInstanceIdentifier()
The replication instance identifier.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Connection.Builder> |
serializableBuilderClass() |
String |
status()
The connection status.
|
Connection.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String replicationInstanceArn()
The ARN of the replication instance.
public final String endpointArn()
The ARN string that uniquely identifies the endpoint.
public final String status()
The connection status. This parameter can return one of the following values:
"successful"
"testing"
"failed"
"deleting"
"successful"
"testing"
"failed"
"deleting"
public final String lastFailureMessage()
The error message when the connection last failed.
public final 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.
public final String replicationInstanceIdentifier()
The replication instance identifier. This parameter is stored as a lowercase string.
public Connection.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Connection.Builder,Connection>public static Connection.Builder builder()
public static Class<? extends Connection.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.