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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatusRecord.Buildercause(String cause)A description of the reason for the current status, or null if no specific cause is available.StatusRecord.BuilderlastUpdatedTimestamp(Instant lastUpdatedTimestamp)The timestamp when this status was last updated.StatusRecord.Builderstatus(String status)The current sending status.StatusRecord.Builderstatus(SendingStatus status)The current sending status.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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.
-
-