Interface ServiceOperationEntity.Builder

  • Method Details

    • service

      The service entity that contains this operation.

      Parameters:
      service - The service entity that contains this operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • service

      The service entity that contains this operation.

      This is a convenience method that creates an instance of the ServiceEntity.Builder avoiding the need to create one manually via ServiceEntity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to service(ServiceEntity).

      Parameters:
      service - a consumer that will call methods on ServiceEntity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • operation

      ServiceOperationEntity.Builder operation(String operation)

      The name of the specific operation within the service.

      Parameters:
      operation - The name of the specific operation within the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricType

      ServiceOperationEntity.Builder metricType(String metricType)

      The type of metric associated with this service operation, such as "Latency", "ErrorRate", or "Throughput".

      Parameters:
      metricType - The type of metric associated with this service operation, such as "Latency", "ErrorRate", or "Throughput".
      Returns:
      Returns a reference to this object so that method calls can be chained together.