Interface StatusRecord.Builder

    • Method Detail

      • status

        StatusRecord.Builder status​(String status)

        The current sending status. This can be one of the following:

        • ENABLED – Sending is allowed.

        • DISABLED – Sending is prevented.

        • REINSTATED – Sending is allowed even with active reputation findings.

        Parameters:
        status - The current sending status. This can be one of the following:

        • ENABLED – Sending is allowed.

        • DISABLED – Sending is prevented.

        • REINSTATED – Sending is allowed even with active reputation findings.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SendingStatus, SendingStatus
      • status

        StatusRecord.Builder status​(SendingStatus status)

        The current sending status. This can be one of the following:

        • ENABLED – Sending is allowed.

        • DISABLED – Sending is prevented.

        • REINSTATED – Sending is allowed even with active reputation findings.

        Parameters:
        status - The current sending status. This can be one of the following:

        • ENABLED – Sending is allowed.

        • DISABLED – Sending is prevented.

        • REINSTATED – Sending is allowed even with active reputation findings.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SendingStatus, SendingStatus
      • cause

        StatusRecord.Builder cause​(String cause)

        A description of the reason for the current status, or null if no specific cause is available.

        Parameters:
        cause - A description of the reason for the current status, or null if no specific cause is available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTimestamp

        StatusRecord.Builder lastUpdatedTimestamp​(Instant lastUpdatedTimestamp)

        The timestamp when this status was last updated.

        Parameters:
        lastUpdatedTimestamp - The timestamp when this status was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.