Class Connection

    • 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)