Class DescribeEngagementResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.ssmcontacts.model.SsmContactsResponse
-
- software.amazon.awssdk.services.ssmcontacts.model.DescribeEngagementResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeEngagementResponse.Builder,DescribeEngagementResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeEngagementResponse extends SsmContactsResponse implements ToCopyableBuilder<DescribeEngagementResponse.Builder,DescribeEngagementResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeEngagementResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeEngagementResponse.Builderbuilder()StringcontactArn()The ARN of the escalation plan or contacts involved in the engagement.Stringcontent()The secure content of the message that was sent to the contact.StringengagementArn()The ARN of the engagement.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringincidentId()The ARN of the incident in which the engagement occurred.StringpublicContent()The insecure content of the message that was sent to the contact.StringpublicSubject()The insecure subject of the message that was sent to the contact.List<SdkField<?>>sdkFields()Stringsender()The user that started the engagement.static Class<? extends DescribeEngagementResponse.Builder>serializableBuilderClass()InstantstartTime()The time that the engagement started.InstantstopTime()The time that the engagement ended.Stringsubject()The secure subject of the message that was sent to the contact.DescribeEngagementResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.ssmcontacts.model.SsmContactsResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
contactArn
public final String contactArn()
The ARN of the escalation plan or contacts involved in the engagement.
- Returns:
- The ARN of the escalation plan or contacts involved in the engagement.
-
engagementArn
public final String engagementArn()
The ARN of the engagement.
- Returns:
- The ARN of the engagement.
-
sender
public final String sender()
The user that started the engagement.
- Returns:
- The user that started the engagement.
-
subject
public final String subject()
The secure subject of the message that was sent to the contact. Use this field for engagements to
VOICEandEMAIL.- Returns:
- The secure subject of the message that was sent to the contact. Use this field for engagements to
VOICEandEMAIL.
-
content
public final String content()
The secure content of the message that was sent to the contact. Use this field for engagements to
VOICEandEMAIL.- Returns:
- The secure content of the message that was sent to the contact. Use this field for engagements to
VOICEandEMAIL.
-
publicSubject
public final String publicSubject()
The insecure subject of the message that was sent to the contact. Use this field for engagements to
SMS.- Returns:
- The insecure subject of the message that was sent to the contact. Use this field for engagements to
SMS.
-
publicContent
public final String publicContent()
The insecure content of the message that was sent to the contact. Use this field for engagements to
SMS.- Returns:
- The insecure content of the message that was sent to the contact. Use this field for engagements to
SMS.
-
incidentId
public final String incidentId()
The ARN of the incident in which the engagement occurred.
- Returns:
- The ARN of the incident in which the engagement occurred.
-
startTime
public final Instant startTime()
The time that the engagement started.
- Returns:
- The time that the engagement started.
-
stopTime
public final Instant stopTime()
The time that the engagement ended.
- Returns:
- The time that the engagement ended.
-
toBuilder
public DescribeEngagementResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeEngagementResponse.Builder,DescribeEngagementResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeEngagementResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeEngagementResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-