Class Reference
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.Reference
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Reference.Builder,Reference>
@Generated("software.amazon.awssdk:codegen") public final class Reference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Reference.Builder,Reference>
Well-formed data on a contact, used by agents to complete a contact request. You can have up to 4,096 UTF-8 bytes across all references for a contact.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReference.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Reference.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Reference.Builder>serializableBuilderClass()Reference.BuildertoBuilder()StringtoString()Returns a string representation of this object.ReferenceTypetype()The type of the reference.StringtypeAsString()The type of the reference.Stringvalue()A valid value for the reference.-
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
-
value
public 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).
- Returns:
- 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).
-
type
public final ReferenceType type()
The type of the reference.
DATEmust be of type Epoch timestamp.If the service returns an enum value that is not available in the current SDK version,
typewill returnReferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the reference.
DATEmust be of type Epoch timestamp. - See Also:
ReferenceType
-
typeAsString
public final String typeAsString()
The type of the reference.
DATEmust be of type Epoch timestamp.If the service returns an enum value that is not available in the current SDK version,
typewill returnReferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the reference.
DATEmust be of type Epoch timestamp. - See Also:
ReferenceType
-
toBuilder
public Reference.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Reference.Builder,Reference>
-
builder
public static Reference.Builder builder()
-
serializableBuilderClass
public static Class<? extends Reference.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.
-
-