Package com.nexmo.client.voice.ncco
Class ConnectAction
- java.lang.Object
-
- com.nexmo.client.voice.ncco.ConnectAction
-
- All Implemented Interfaces:
Action
public class ConnectAction extends java.lang.Object implements Action
An NCCO connect action that allows for the establishment of a connection to variousEndpoint.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnectAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectAction.Builderbuilder(Endpoint... endpoint)static ConnectAction.Builderbuilder(java.util.Collection<Endpoint> endpoint)java.lang.StringgetAction()java.util.Collection<Endpoint>getEndpoint()EventMethodgetEventMethod()EventTypegetEventType()java.util.Collection<java.lang.String>getEventUrl()java.lang.StringgetFrom()java.lang.IntegergetLimit()MachineDetectiongetMachineDetection()java.lang.IntegergetTimeOut()
-
-
-
Method Detail
-
getEndpoint
public java.util.Collection<Endpoint> getEndpoint()
-
getFrom
public java.lang.String getFrom()
-
getEventType
public EventType getEventType()
-
getTimeOut
public java.lang.Integer getTimeOut()
-
getLimit
public java.lang.Integer getLimit()
-
getMachineDetection
public MachineDetection getMachineDetection()
-
getEventUrl
public java.util.Collection<java.lang.String> getEventUrl()
-
getEventMethod
public EventMethod getEventMethod()
-
builder
public static ConnectAction.Builder builder(java.util.Collection<Endpoint> endpoint)
-
builder
public static ConnectAction.Builder builder(Endpoint... endpoint)
-
-