@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DialRequest extends Object implements Serializable, Cloneable, StructuredPojo
A dial request for a campaign.
Constructor and Description |
---|
DialRequest() |
Modifier and Type | Method and Description |
---|---|
DialRequest |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
DialRequest |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
DialRequest |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes() |
String |
getClientToken() |
Date |
getExpirationTime() |
String |
getPhoneNumber() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Map<String,String> attributes) |
void |
setClientToken(String clientToken) |
void |
setExpirationTime(Date expirationTime) |
void |
setPhoneNumber(String phoneNumber) |
String |
toString()
Returns a string representation of this object.
|
DialRequest |
withAttributes(Map<String,String> attributes) |
DialRequest |
withClientToken(String clientToken) |
DialRequest |
withExpirationTime(Date expirationTime) |
DialRequest |
withPhoneNumber(String phoneNumber) |
public void setClientToken(String clientToken)
clientToken
- public String getClientToken()
public DialRequest withClientToken(String clientToken)
clientToken
- public void setPhoneNumber(String phoneNumber)
phoneNumber
- public String getPhoneNumber()
public DialRequest withPhoneNumber(String phoneNumber)
phoneNumber
- public void setExpirationTime(Date expirationTime)
expirationTime
- public Date getExpirationTime()
public DialRequest withExpirationTime(Date expirationTime)
expirationTime
- public DialRequest withAttributes(Map<String,String> attributes)
attributes
- public DialRequest addAttributesEntry(String key, String value)
public DialRequest clearAttributesEntries()
public String toString()
toString
in class Object
Object.toString()
public DialRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.