@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) |
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.
type - The type of the reference.ReferenceTypepublic String getType()
The type of the reference.
ReferenceTypepublic Reference withType(String type)
The type of the reference.
type - The type of the reference.ReferenceTypepublic Reference withType(ReferenceType type)
The type of the reference.
type - The type of the reference.ReferenceTypepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.