@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Reference extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
Reference() |
| Modifier and Type | Method and Description |
|---|---|
Reference |
clone() |
boolean |
equals(Object obj) |
String |
getType()
A valid URL.
|
String |
getValue()
A formatted URL that displays to an agent in the Contact Control Panel (CCP)
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setType(String type)
A valid URL.
|
void |
setValue(String value)
A formatted URL that displays to an agent in the Contact Control Panel (CCP)
|
String |
toString()
Returns a string representation of this object.
|
Reference |
withType(ReferenceType type)
A valid URL.
|
Reference |
withType(String type)
A valid URL.
|
Reference |
withValue(String value)
A formatted URL that displays to an agent in the Contact Control Panel (CCP)
|
public void setValue(String value)
A formatted URL that displays to an agent in the Contact Control Panel (CCP)
value - A formatted URL that displays to an agent in the Contact Control Panel (CCP)public String getValue()
A formatted URL that displays to an agent in the Contact Control Panel (CCP)
public Reference withValue(String value)
A formatted URL that displays to an agent in the Contact Control Panel (CCP)
value - A formatted URL that displays to an agent in the Contact Control Panel (CCP)public void setType(String type)
A valid URL.
type - A valid URL.ReferenceTypepublic String getType()
A valid URL.
ReferenceTypepublic Reference withType(String type)
A valid URL.
type - A valid URL.ReferenceTypepublic Reference withType(ReferenceType type)
A valid URL.
type - A valid URL.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.