Class Connection
- All Implemented Interfaces:
Serializable,SdkPojo,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Connection.Builderbuilder()final StringThe ARN string that uniquely identifies the endpoint.final StringThe identifier of the endpoint.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe error message when the connection last failed.final StringThe ARN of the replication instance.final StringThe replication instance identifier.static Class<? extends Connection.Builder>final Stringstatus()The connection status.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
replicationInstanceArn
The ARN of the replication instance.
- Returns:
- The ARN of the replication instance.
-
endpointArn
The ARN string that uniquely identifies the endpoint.
- Returns:
- The ARN string that uniquely identifies the endpoint.
-
status
The connection status. This parameter can return one of the following values:
-
"successful" -
"testing" -
"failed" -
"deleting"
- Returns:
- The connection status. This parameter can return one of the following values:
-
"successful" -
"testing" -
"failed" -
"deleting"
-
-
-
lastFailureMessage
The error message when the connection last failed.
- Returns:
- The error message when the connection last failed.
-
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.
- Returns:
- 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.
-
replicationInstanceIdentifier
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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<Connection.Builder,Connection>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-