Class LiveCommandRequestBuilder

java.lang.Object
com.qtsurfer.api.sdk.LiveCommandRequestBuilder

public final class LiveCommandRequestBuilder extends Object
Builds a live command while keeping its arbitrary properties in a fluent API.
  • Method Details

    • builder

      public static LiveCommandRequestBuilder builder()
      Start building a live command.
    • command

      public LiveCommandRequestBuilder command(String command)
      Set the non-blank command text handled by the running strategy.
    • property

      public LiveCommandRequestBuilder property(String name, Object value)
      Add or replace one arbitrary JSON property delivered alongside the command.
    • properties

      public LiveCommandRequestBuilder properties(Map<String,?> values)
      Add or replace several arbitrary JSON properties.
    • build

      public com.qtsurfer.api.client.model.SendLiveCommandRequest build()
      Build the generated request accepted by the API client.