@Generated(value="software.amazon.awssdk:codegen") public final class AgentContactReference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AgentContactReference.Builder,AgentContactReference>
Information about the contact associated to the user.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AgentContactReference.Builder |
| Modifier and Type | Method and Description |
|---|---|
ContactState |
agentContactState()
The state of the
contact.
|
String |
agentContactStateAsString()
The state of the
contact.
|
static AgentContactReference.Builder |
builder() |
Channel |
channel()
The channel of the contact.
|
String |
channelAsString()
The channel of the contact.
|
Instant |
connectedToAgentTimestamp()
The time at which the contact was connected to an agent.
|
String |
contactId()
The identifier of the contact in this instance of Amazon Connect.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ContactInitiationMethod |
initiationMethod()
How the contact was initiated.
|
String |
initiationMethodAsString()
How the contact was initiated.
|
QueueReference |
queue()
Returns the value of the Queue property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AgentContactReference.Builder> |
serializableBuilderClass() |
Instant |
stateStartTimestamp()
The epoch timestamp when the contact state started.
|
AgentContactReference.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String contactId()
The identifier of the contact in this instance of Amazon Connect.
public final Channel channel()
The channel of the contact.
If the service returns an enum value that is not available in the current SDK version, channel will
return Channel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
channelAsString().
Channelpublic final String channelAsString()
The channel of the contact.
If the service returns an enum value that is not available in the current SDK version, channel will
return Channel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
channelAsString().
Channelpublic final ContactInitiationMethod initiationMethod()
How the contact was initiated.
If the service returns an enum value that is not available in the current SDK version, initiationMethod
will return ContactInitiationMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from initiationMethodAsString().
ContactInitiationMethodpublic final String initiationMethodAsString()
How the contact was initiated.
If the service returns an enum value that is not available in the current SDK version, initiationMethod
will return ContactInitiationMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from initiationMethodAsString().
ContactInitiationMethodpublic final ContactState agentContactState()
The state of the contact.
If the service returns an enum value that is not available in the current SDK version, agentContactState
will return ContactState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
agentContactStateAsString().
ContactStatepublic final String agentContactStateAsString()
The state of the contact.
If the service returns an enum value that is not available in the current SDK version, agentContactState
will return ContactState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
agentContactStateAsString().
ContactStatepublic final Instant stateStartTimestamp()
The epoch timestamp when the contact state started.
public final Instant connectedToAgentTimestamp()
The time at which the contact was connected to an agent.
public final QueueReference queue()
public AgentContactReference.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AgentContactReference.Builder,AgentContactReference>public static AgentContactReference.Builder builder()
public static Class<? extends AgentContactReference.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.