Class ContactConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.ContactConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ContactConfiguration.Builder,ContactConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ContactConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContactConfiguration.Builder,ContactConfiguration>
The contact configuration for push notification registration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContactConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContactConfiguration.Builderbuilder()StringcontactId()The identifier of the contact within the Amazon Connect instance.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanincludeRawMessage()Whether to include raw connect message in the push notification payload.ParticipantRoleparticipantRole()The role of the participant in the chat conversation.StringparticipantRoleAsString()The role of the participant in the chat conversation.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ContactConfiguration.Builder>serializableBuilderClass()ContactConfiguration.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
-
contactId
public final String contactId()
The identifier of the contact within the Amazon Connect instance.
- Returns:
- The identifier of the contact within the Amazon Connect instance.
-
participantRole
public final ParticipantRole participantRole()
The role of the participant in the chat conversation.
Only
CUSTOMERis currently supported. Any other values other thanCUSTOMERwill result in an exception (4xx error).If the service returns an enum value that is not available in the current SDK version,
participantRolewill returnParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparticipantRoleAsString().- Returns:
- The role of the participant in the chat conversation.
Only
CUSTOMERis currently supported. Any other values other thanCUSTOMERwill result in an exception (4xx error). - See Also:
ParticipantRole
-
participantRoleAsString
public final String participantRoleAsString()
The role of the participant in the chat conversation.
Only
CUSTOMERis currently supported. Any other values other thanCUSTOMERwill result in an exception (4xx error).If the service returns an enum value that is not available in the current SDK version,
participantRolewill returnParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparticipantRoleAsString().- Returns:
- The role of the participant in the chat conversation.
Only
CUSTOMERis currently supported. Any other values other thanCUSTOMERwill result in an exception (4xx error). - See Also:
ParticipantRole
-
includeRawMessage
public final Boolean includeRawMessage()
Whether to include raw connect message in the push notification payload. Default is
False.- Returns:
- Whether to include raw connect message in the push notification payload. Default is
False.
-
toBuilder
public ContactConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ContactConfiguration.Builder,ContactConfiguration>
-
builder
public static ContactConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ContactConfiguration.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-