Class Connection
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.model.Connection
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Connection.Builder,Connection>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConnection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Connection.Builderbuilder()StringendpointArn()The ARN string that uniquely identifies the endpoint.StringendpointIdentifier()The identifier of the endpoint.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlastFailureMessage()The error message when the connection last failed.StringreplicationInstanceArn()The ARN of the replication instance.StringreplicationInstanceIdentifier()The replication instance identifier.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Connection.Builder>serializableBuilderClass()Stringstatus()The connection status.Connection.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
replicationInstanceArn
public final String replicationInstanceArn()
The ARN of the replication instance.
- Returns:
- The ARN of the replication instance.
-
endpointArn
public final String endpointArn()
The ARN string that uniquely identifies the endpoint.
- Returns:
- The ARN string that uniquely identifies the endpoint.
-
status
public final String 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
public final String lastFailureMessage()
The error message when the connection last failed.
- Returns:
- The error message when the connection last failed.
-
endpointIdentifier
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.
- 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
public final String 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
public Connection.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Connection.Builder,Connection>
-
builder
public static Connection.Builder builder()
-
serializableBuilderClass
public static Class<? extends Connection.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-