@Generated(value="software.amazon.awssdk:codegen") public final class Reference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Reference.Builder,Reference>
A link that an agent selects to complete a given task. You can have up to 4,096 UTF-8 bytes across all references for a contact.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Reference.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Reference.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Reference.Builder> |
serializableBuilderClass() |
Reference.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ReferenceType |
type()
The type of the reference.
|
String |
typeAsString()
The type of the reference.
|
String |
value()
A valid value for the reference.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String value()
A valid value for the reference. For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).
public final ReferenceType type()
The type of the reference. Only URL type can be added or updated on a contact.
If the service returns an enum value that is not available in the current SDK version, type will return
ReferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
URL type can be added or updated on a contact.ReferenceTypepublic final String typeAsString()
The type of the reference. Only URL type can be added or updated on a contact.
If the service returns an enum value that is not available in the current SDK version, type will return
ReferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
URL type can be added or updated on a contact.ReferenceTypepublic Reference.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Reference.Builder,Reference>public static Reference.Builder builder()
public static Class<? extends Reference.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.