Class Receipt
- java.lang.Object
-
- software.amazon.awssdk.services.ssmcontacts.model.Receipt
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Receipt.Builder,Receipt>
@Generated("software.amazon.awssdk:codegen") public final class Receipt extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Receipt.Builder,Receipt>
Records events during an engagement.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReceipt.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Receipt.Builderbuilder()StringcontactChannelArn()The Amazon Resource Name (ARN) of the contact channel Incident Manager engaged.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringreceiptInfo()Information provided during the page acknowledgement.InstantreceiptTime()The time receipt wasSENT,DELIVERED, orREAD.ReceiptTypereceiptType()The type follows the engagement cycle,SENT,DELIVERED, andREAD.StringreceiptTypeAsString()The type follows the engagement cycle,SENT,DELIVERED, andREAD.List<SdkField<?>>sdkFields()static Class<? extends Receipt.Builder>serializableBuilderClass()Receipt.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
contactChannelArn
public final String contactChannelArn()
The Amazon Resource Name (ARN) of the contact channel Incident Manager engaged.
- Returns:
- The Amazon Resource Name (ARN) of the contact channel Incident Manager engaged.
-
receiptType
public final ReceiptType receiptType()
The type follows the engagement cycle,
SENT,DELIVERED, andREAD.If the service returns an enum value that is not available in the current SDK version,
receiptTypewill returnReceiptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreceiptTypeAsString().- Returns:
- The type follows the engagement cycle,
SENT,DELIVERED, andREAD. - See Also:
ReceiptType
-
receiptTypeAsString
public final String receiptTypeAsString()
The type follows the engagement cycle,
SENT,DELIVERED, andREAD.If the service returns an enum value that is not available in the current SDK version,
receiptTypewill returnReceiptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreceiptTypeAsString().- Returns:
- The type follows the engagement cycle,
SENT,DELIVERED, andREAD. - See Also:
ReceiptType
-
receiptInfo
public final String receiptInfo()
Information provided during the page acknowledgement.
- Returns:
- Information provided during the page acknowledgement.
-
receiptTime
public final Instant receiptTime()
The time receipt was
SENT,DELIVERED, orREAD.- Returns:
- The time receipt was
SENT,DELIVERED, orREAD.
-
toBuilder
public Receipt.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Receipt.Builder,Receipt>
-
builder
public static Receipt.Builder builder()
-
serializableBuilderClass
public static Class<? extends Receipt.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-