public OpampClient build()

in client/src/main/java/co/elastic/opamp/client/OpampClientBuilder.java [152:166]


  public OpampClient build() {
    if (service == null) {
      throw new NullPointerException(
          "The request service is not set. You must provide it by calling setRequestService()");
    }
    OpampClientState state =
        new OpampClientState(
            remoteConfigStatusState,
            sequenceNumberState,
            agentDescriptionState,
            capabilitiesState,
            instanceUidState,
            effectiveConfigState);
    return OpampClientImpl.create(service, state);
  }