public class UpdateBrowserActionRequestExecutor extends RequestExecutor<java.lang.String>
ActionsApi. Use this class if you want to update
 browser actions through fluent API in chained fashion, for example:
 
   
   KontaktCloud kontaktCloud = KontaktCloudFactory.create();
   kontaktCloud.actions().updateBrowserAction(id)
      .withProximity(Proximity.IMMEDIATE)
      .withUrl("https://kontakt.io")
      .execute();
   
 | Constructor and Description | 
|---|
UpdateBrowserActionRequestExecutor(ActionsService actionsService,
                                  java.util.UUID id)
Constructs request executor initialized with corresponding service class and action's id. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
execute()
Executes created request synchronously. 
 | 
void | 
execute(CloudCallback<java.lang.String> callback)
Executes created request asynchronously and invokes callback with the result. 
 | 
UpdateBrowserActionRequestExecutor | 
withProximity(Proximity proximity)
Updates the action's proximity. 
 | 
UpdateBrowserActionRequestExecutor | 
withUrl(java.lang.String url)
Updates the action's URL. 
 | 
public UpdateBrowserActionRequestExecutor(ActionsService actionsService, java.util.UUID id)
actionsService - teh actions API service.id - the action's unique identifier.public UpdateBrowserActionRequestExecutor withUrl(java.lang.String url)
url - the URL.public UpdateBrowserActionRequestExecutor withProximity(Proximity proximity)
proximity - the proximity.public java.lang.String execute()
                         throws java.io.IOException,
                                KontaktCloudException
execute in class RequestExecutor<java.lang.String>java.io.IOException - exceptionKontaktCloudException - exceptionpublic void execute(CloudCallback<java.lang.String> callback)
execute in class RequestExecutor<java.lang.String>callback - the callback object.