Interface DataStorage.Builder

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

public static interface DataStorage.Builder extends SdkPojo, CopyableBuilder<DataStorage.Builder,DataStorage>
  • Method Summary

    Modifier and Type
    Method
    Description
    A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs.
    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.

    Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder

    copy

    Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder

    applyMutation, build

    Methods inherited from interface software.amazon.awssdk.core.SdkPojo

    equalsBySdkFields, sdkFields
  • 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: