Interface DataStorage.Builder

  • Method Details

    • cwLog

      DataStorage.Builder cwLog(CwLog cwLog)

      A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs. If it does, this structure also contains the name of the log group.

      Parameters:
      cwLog - A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs. If it does, this structure also contains the name of the log group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cwLog

      default DataStorage.Builder cwLog(Consumer<CwLog.Builder> cwLog)

      A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs. If it does, this structure also contains the name of the log group.

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

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

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