public class Reference
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getType()
A valid URL.
|
java.lang.String |
getValue()
A formatted URL that will be shown to an agent in the Contact Control
Panel (CCP)
|
int |
hashCode() |
void |
setType(ReferenceType type)
A valid URL.
|
void |
setType(java.lang.String type)
A valid URL.
|
void |
setValue(java.lang.String value)
A formatted URL that will be shown to an agent in the Contact Control
Panel (CCP)
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Reference |
withType(ReferenceType type)
A valid URL.
|
Reference |
withType(java.lang.String type)
A valid URL.
|
Reference |
withValue(java.lang.String value)
A formatted URL that will be shown to an agent in the Contact Control
Panel (CCP)
|
public java.lang.String getValue()
A formatted URL that will be shown to an agent in the Contact Control Panel (CCP)
Constraints:
Length: 0 - 4096
A formatted URL that will be shown to an agent in the Contact Control Panel (CCP)
public void setValue(java.lang.String value)
A formatted URL that will be shown to an agent in the Contact Control Panel (CCP)
Constraints:
Length: 0 - 4096
value
- A formatted URL that will be shown to an agent in the Contact Control Panel (CCP)
public Reference withValue(java.lang.String value)
A formatted URL that will be shown to an agent in the Contact Control Panel (CCP)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 4096
value
- A formatted URL that will be shown to an agent in the Contact Control Panel (CCP)
public java.lang.String getType()
A valid URL.
Constraints:
Allowed Values: URL
A valid URL.
ReferenceType
public void setType(java.lang.String type)
A valid URL.
Constraints:
Allowed Values: URL
type
- A valid URL.
ReferenceType
public Reference withType(java.lang.String type)
A valid URL.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: URL
type
- A valid URL.
ReferenceType
public void setType(ReferenceType type)
A valid URL.
Constraints:
Allowed Values: URL
type
- A valid URL.
ReferenceType
public Reference withType(ReferenceType type)
A valid URL.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: URL
type
- A valid URL.
ReferenceType
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.