Class AgentContactReference
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AgentContactReference.Builder,AgentContactReference>
Information about the contact associated to the user.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal ContactStateThe state of the contact.final StringThe state of the contact.builder()final Channelchannel()The channel of the contact.final StringThe channel of the contact.final InstantThe time at which the contact was connected to an agent.final StringThe identifier of the contact in this instance of Amazon Connect.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ContactInitiationMethodHow the contact was initiated.final StringHow the contact was initiated.final QueueReferencequeue()Returns the value of the Queue property for this object.static Class<? extends AgentContactReference.Builder> final InstantThe epoch timestamp when the contact state started.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
contactId
The identifier of the contact in this instance of Amazon Connect.
- Returns:
- The identifier of the contact in this instance of Amazon Connect.
-
channel
The channel of the contact.
If the service returns an enum value that is not available in the current SDK version,
channelwill returnChannel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchannelAsString().- Returns:
- The channel of the contact.
- See Also:
-
channelAsString
The channel of the contact.
If the service returns an enum value that is not available in the current SDK version,
channelwill returnChannel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchannelAsString().- Returns:
- The channel of the contact.
- See Also:
-
initiationMethod
How the contact was initiated.
If the service returns an enum value that is not available in the current SDK version,
initiationMethodwill returnContactInitiationMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominitiationMethodAsString().- Returns:
- How the contact was initiated.
- See Also:
-
initiationMethodAsString
How the contact was initiated.
If the service returns an enum value that is not available in the current SDK version,
initiationMethodwill returnContactInitiationMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominitiationMethodAsString().- Returns:
- How the contact was initiated.
- See Also:
-
agentContactState
The state of the contact.
When
AgentContactStateis set toCONNECTED_ONHOLD,StateStartTimestampis not changed. Instead,StateStartTimestampreflects the time the contact wasCONNECTEDto the agent.If the service returns an enum value that is not available in the current SDK version,
agentContactStatewill returnContactState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromagentContactStateAsString().- Returns:
- The state of
the contact.
When
AgentContactStateis set toCONNECTED_ONHOLD,StateStartTimestampis not changed. Instead,StateStartTimestampreflects the time the contact wasCONNECTEDto the agent. - See Also:
-
agentContactStateAsString
The state of the contact.
When
AgentContactStateis set toCONNECTED_ONHOLD,StateStartTimestampis not changed. Instead,StateStartTimestampreflects the time the contact wasCONNECTEDto the agent.If the service returns an enum value that is not available in the current SDK version,
agentContactStatewill returnContactState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromagentContactStateAsString().- Returns:
- The state of
the contact.
When
AgentContactStateis set toCONNECTED_ONHOLD,StateStartTimestampis not changed. Instead,StateStartTimestampreflects the time the contact wasCONNECTEDto the agent. - See Also:
-
stateStartTimestamp
The epoch timestamp when the contact state started.
- Returns:
- The epoch timestamp when the contact state started.
-
connectedToAgentTimestamp
The time at which the contact was connected to an agent.
- Returns:
- The time at which the contact was connected to an agent.
-
queue
Returns the value of the Queue property for this object.- Returns:
- The value of the Queue property for this object.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AgentContactReference.Builder,AgentContactReference> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-