@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.
type
- The type of the reference.ReferenceType
public String getType()
The type of the reference.
ReferenceType
public Reference withType(String type)
The type of the reference.
type
- The type of the reference.ReferenceType
public Reference withType(ReferenceType type)
The type of the reference.
type
- The type of the reference.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.