Interface StatusRecord.Builder

All Superinterfaces:
Buildable, CopyableBuilder<StatusRecord.Builder,StatusRecord>, SdkBuilder<StatusRecord.Builder,StatusRecord>, SdkPojo
Enclosing class:
StatusRecord

@Mutable @NotThreadSafe public static interface StatusRecord.Builder extends SdkPojo, CopyableBuilder<StatusRecord.Builder,StatusRecord>
  • Method Details

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