@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Reference extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
Reference() |
| Modifier and Type | Method and Description |
|---|---|
Reference |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The type of the reference.
|
String |
getValue()
A valid value for the reference.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setType(String type)
The type of the reference.
|
void |
setValue(String value)
A valid value for the reference.
|
String |
toString()
Returns a string representation of this object.
|
Reference |
withType(ReferenceType type)
The type of the reference.
|
Reference |
withType(String type)
The type of the reference.
|
Reference |
withValue(String value)
A valid value for the reference.
|
public void setValue(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).
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 String getValue()
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 Reference withValue(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).
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 void setType(String type)
The type of the reference. DATE must be of type Epoch timestamp.
type - The type of the reference. DATE must be of type Epoch timestamp.ReferenceTypepublic String getType()
The type of the reference. DATE must be of type Epoch timestamp.
DATE must be of type Epoch timestamp.ReferenceTypepublic Reference withType(String type)
The type of the reference. DATE must be of type Epoch timestamp.
type - The type of the reference. DATE must be of type Epoch timestamp.ReferenceTypepublic Reference withType(ReferenceType type)
The type of the reference. DATE must be of type Epoch timestamp.
type - The type of the reference. DATE must be of type Epoch timestamp.ReferenceTypepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.