@Generated(value="software.amazon.awssdk:codegen") public final class Receipt extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Receipt.Builder,Receipt>
Records events during an engagement.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Receipt.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Receipt.Builder |
builder() |
String |
contactChannelArn()
The Amazon Resource Name (ARN) of the contact channel Incident Manager engaged.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
receiptInfo()
Information provided during the page acknowledgement.
|
Instant |
receiptTime()
The time receipt was
SENT, DELIVERED, or READ. |
ReceiptType |
receiptType()
The type follows the engagement cycle,
SENT, DELIVERED, and READ. |
String |
receiptTypeAsString()
The type follows the engagement cycle,
SENT, DELIVERED, and READ. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Receipt.Builder> |
serializableBuilderClass() |
Receipt.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String contactChannelArn()
The Amazon Resource Name (ARN) of the contact channel Incident Manager engaged.
public final ReceiptType receiptType()
The type follows the engagement cycle, SENT, DELIVERED, and READ.
If the service returns an enum value that is not available in the current SDK version, receiptType will
return ReceiptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
receiptTypeAsString().
SENT, DELIVERED, and READ.ReceiptTypepublic final String receiptTypeAsString()
The type follows the engagement cycle, SENT, DELIVERED, and READ.
If the service returns an enum value that is not available in the current SDK version, receiptType will
return ReceiptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
receiptTypeAsString().
SENT, DELIVERED, and READ.ReceiptTypepublic final String receiptInfo()
Information provided during the page acknowledgement.
public final Instant receiptTime()
The time receipt was SENT, DELIVERED, or READ.
SENT, DELIVERED, or READ.public Receipt.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Receipt.Builder,Receipt>public static Receipt.Builder builder()
public static Class<? extends Receipt.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.