Class Request.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.internal.Request.Builder
Enclosing class:
Request

public static class Request.Builder extends Object
Builder class for creating instances of the Request class.
  • Method Details

    • build

      public Request build()
      Builds and returns the instance of the Request class.
      Returns:
      The instance of the Request class.
    • setCorrelationId

      public Request.Builder setCorrelationId(String value)
      Sets the correlation ID of the request being built.
      Parameters:
      value - The correlation ID to set.
      Returns:
      The current instance of the Builder class.
    • setTimestampUtc

      public Request.Builder setTimestampUtc(long value)
      Sets the UTC millis timestamp of the request being built.
      Parameters:
      value - The UTC millis timestamp to set.
      Returns:
      The current instance of the Builder class.
    • setOperatorId

      public Request.Builder setOperatorId(long value)
      Sets the operator ID of the request being built.
      Parameters:
      value - The operator ID to set.
      Returns:
      The current instance of the Builder class.
    • setOperation

      public Request.Builder setOperation(String value)
      Sets the operation of the request being built.
      Parameters:
      value - The operation to set.
      Returns:
      The current instance of the Builder class.
    • setVersion

      public Request.Builder setVersion(String value)
      Sets the version of the request being built.
      Parameters:
      value - The version to set.
      Returns:
      The current instance of the Builder class.
    • setContent

      public Request.Builder setContent(ContentRequest value)
      Sets the content of the request being built.
      Parameters:
      value - The content to set.
      Returns:
      The current instance of the Builder class.