@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public 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()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.