@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.ReferenceType
public String getType()
A valid URL.
ReferenceType
public Reference withType(String type)
A valid URL.
type
- A valid URL.ReferenceType
public Reference withType(ReferenceType type)
A valid URL.
type
- A valid URL.ReferenceType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.