@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnswerMachineDetectionConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration of the answering machine detection.
Constructor and Description |
---|
AnswerMachineDetectionConfig() |
Modifier and Type | Method and Description |
---|---|
AnswerMachineDetectionConfig |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAwaitAnswerMachinePrompt()
Wait for the answering machine prompt.
|
Boolean |
getEnableAnswerMachineDetection()
The flag to indicate if answer machine detection analysis needs to be performed for a voice call.
|
int |
hashCode() |
Boolean |
isAwaitAnswerMachinePrompt()
Wait for the answering machine prompt.
|
Boolean |
isEnableAnswerMachineDetection()
The flag to indicate if answer machine detection analysis needs to be performed for a voice call.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwaitAnswerMachinePrompt(Boolean awaitAnswerMachinePrompt)
Wait for the answering machine prompt.
|
void |
setEnableAnswerMachineDetection(Boolean enableAnswerMachineDetection)
The flag to indicate if answer machine detection analysis needs to be performed for a voice call.
|
String |
toString()
Returns a string representation of this object.
|
AnswerMachineDetectionConfig |
withAwaitAnswerMachinePrompt(Boolean awaitAnswerMachinePrompt)
Wait for the answering machine prompt.
|
AnswerMachineDetectionConfig |
withEnableAnswerMachineDetection(Boolean enableAnswerMachineDetection)
The flag to indicate if answer machine detection analysis needs to be performed for a voice call.
|
public void setEnableAnswerMachineDetection(Boolean enableAnswerMachineDetection)
The flag to indicate if answer machine detection analysis needs to be performed for a voice call. If set to
true
, TrafficType
must be set as CAMPAIGN
.
enableAnswerMachineDetection
- The flag to indicate if answer machine detection analysis needs to be performed for a voice call. If set
to true
, TrafficType
must be set as CAMPAIGN
.public Boolean getEnableAnswerMachineDetection()
The flag to indicate if answer machine detection analysis needs to be performed for a voice call. If set to
true
, TrafficType
must be set as CAMPAIGN
.
true
, TrafficType
must be set as CAMPAIGN
.public AnswerMachineDetectionConfig withEnableAnswerMachineDetection(Boolean enableAnswerMachineDetection)
The flag to indicate if answer machine detection analysis needs to be performed for a voice call. If set to
true
, TrafficType
must be set as CAMPAIGN
.
enableAnswerMachineDetection
- The flag to indicate if answer machine detection analysis needs to be performed for a voice call. If set
to true
, TrafficType
must be set as CAMPAIGN
.public Boolean isEnableAnswerMachineDetection()
The flag to indicate if answer machine detection analysis needs to be performed for a voice call. If set to
true
, TrafficType
must be set as CAMPAIGN
.
true
, TrafficType
must be set as CAMPAIGN
.public void setAwaitAnswerMachinePrompt(Boolean awaitAnswerMachinePrompt)
Wait for the answering machine prompt.
awaitAnswerMachinePrompt
- Wait for the answering machine prompt.public Boolean getAwaitAnswerMachinePrompt()
Wait for the answering machine prompt.
public AnswerMachineDetectionConfig withAwaitAnswerMachinePrompt(Boolean awaitAnswerMachinePrompt)
Wait for the answering machine prompt.
awaitAnswerMachinePrompt
- Wait for the answering machine prompt.public Boolean isAwaitAnswerMachinePrompt()
Wait for the answering machine prompt.
public String toString()
toString
in class Object
Object.toString()
public AnswerMachineDetectionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.