Class Connection

    • Constructor Detail

      • Connection

        public Connection()
    • Method Detail

      • setReplicationInstanceArn

        public void setReplicationInstanceArn​(String replicationInstanceArn)

        The Amazon Resource Name (ARN) of the replication instance.

        Parameters:
        replicationInstanceArn - The Amazon Resource Name (ARN) of the replication instance.
      • getReplicationInstanceArn

        public String getReplicationInstanceArn()

        The Amazon Resource Name (ARN) of the replication instance.

        Returns:
        The Amazon Resource Name (ARN) of the replication instance.
      • withReplicationInstanceArn

        public Connection withReplicationInstanceArn​(String replicationInstanceArn)

        The Amazon Resource Name (ARN) of the replication instance.

        Parameters:
        replicationInstanceArn - The Amazon Resource Name (ARN) of the replication instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEndpointArn

        public void setEndpointArn​(String endpointArn)

        The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

        Parameters:
        endpointArn - The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
      • getEndpointArn

        public String getEndpointArn()

        The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

        Returns:
        The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
      • withEndpointArn

        public Connection withEndpointArn​(String endpointArn)

        The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

        Parameters:
        endpointArn - The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus​(String status)

        The connection status.

        Parameters:
        status - The connection status.
      • getStatus

        public String getStatus()

        The connection status.

        Returns:
        The connection status.
      • withStatus

        public Connection withStatus​(String status)

        The connection status.

        Parameters:
        status - The connection status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastFailureMessage

        public void setLastFailureMessage​(String lastFailureMessage)

        The error message when the connection last failed.

        Parameters:
        lastFailureMessage - The error message when the connection last failed.
      • getLastFailureMessage

        public String getLastFailureMessage()

        The error message when the connection last failed.

        Returns:
        The error message when the connection last failed.
      • withLastFailureMessage

        public Connection withLastFailureMessage​(String lastFailureMessage)

        The error message when the connection last failed.

        Parameters:
        lastFailureMessage - The error message when the connection last failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEndpointIdentifier

        public void setEndpointIdentifier​(String endpointIdentifier)

        The identifier of the endpoint. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.

        Parameters:
        endpointIdentifier - The identifier of the endpoint. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
      • getEndpointIdentifier

        public String getEndpointIdentifier()

        The identifier of the endpoint. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.

        Returns:
        The identifier of the endpoint. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
      • withEndpointIdentifier

        public Connection withEndpointIdentifier​(String endpointIdentifier)

        The identifier of the endpoint. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.

        Parameters:
        endpointIdentifier - The identifier of the endpoint. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReplicationInstanceIdentifier

        public void setReplicationInstanceIdentifier​(String replicationInstanceIdentifier)

        The replication instance identifier. This parameter is stored as a lowercase string.

        Parameters:
        replicationInstanceIdentifier - The replication instance identifier. This parameter is stored as a lowercase string.
      • getReplicationInstanceIdentifier

        public String getReplicationInstanceIdentifier()

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

        public Connection withReplicationInstanceIdentifier​(String replicationInstanceIdentifier)

        The replication instance identifier. This parameter is stored as a lowercase string.

        Parameters:
        replicationInstanceIdentifier - The replication instance identifier. This parameter is stored as a lowercase string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object