Interface ApiCall.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ApiCall.Builder,ApiCall>, SdkBuilder<ApiCall.Builder,ApiCall>, SdkPojo
Enclosing class:
ApiCall

@Mutable @NotThreadSafe public static interface ApiCall.Builder extends SdkPojo, CopyableBuilder<ApiCall.Builder,ApiCall>
  • Method Details

    • operation

      ApiCall.Builder operation(String operation)

      The name of the API operation that was invoked.

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

      ApiCall.Builder service(String service)

      The service that the API operation was invoked against.

      Parameters:
      service - The service that the API operation was invoked against.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      ApiCall.Builder error(String error)

      The error code that was returned, if the API call failed.

      Parameters:
      error - The error code that was returned, if the API call failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userAgent

      ApiCall.Builder userAgent(String userAgent)

      User agent in the request to the API operation

      Parameters:
      userAgent - User agent in the request to the API operation
      Returns:
      Returns a reference to this object so that method calls can be chained together.