Interface AppMonitor.Builder

  • Method Details

    • appMonitorConfiguration

      AppMonitor.Builder appMonitorConfiguration(AppMonitorConfiguration appMonitorConfiguration)

      A structure that contains much of the configuration data for the app monitor.

      Parameters:
      appMonitorConfiguration - A structure that contains much of the configuration data for the app monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appMonitorConfiguration

      default AppMonitor.Builder appMonitorConfiguration(Consumer<AppMonitorConfiguration.Builder> appMonitorConfiguration)

      A structure that contains much of the configuration data for the app monitor.

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

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

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

      AppMonitor.Builder created(String created)

      The date and time that this app monitor was created.

      Parameters:
      created - The date and time that this app monitor was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customEvents

      AppMonitor.Builder customEvents(CustomEvents customEvents)

      Specifies whether this app monitor allows the web client to define and send custom events.

      For more information about custom events, see Send custom events.

      Parameters:
      customEvents - Specifies whether this app monitor allows the web client to define and send custom events.

      For more information about custom events, see Send custom events.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customEvents

      default AppMonitor.Builder customEvents(Consumer<CustomEvents.Builder> customEvents)

      Specifies whether this app monitor allows the web client to define and send custom events.

      For more information about custom events, see Send custom events.

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

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

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

      AppMonitor.Builder dataStorage(DataStorage dataStorage)

      A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM collects using CloudWatch Logs.

      Parameters:
      dataStorage - A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM collects using CloudWatch Logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataStorage

      default AppMonitor.Builder dataStorage(Consumer<DataStorage.Builder> dataStorage)

      A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM collects using CloudWatch Logs.

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

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

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

      AppMonitor.Builder deobfuscationConfiguration(DeobfuscationConfiguration deobfuscationConfiguration)

      A structure that contains the configuration for how an app monitor can deobfuscate stack traces.

      Parameters:
      deobfuscationConfiguration - A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deobfuscationConfiguration

      default AppMonitor.Builder deobfuscationConfiguration(Consumer<DeobfuscationConfiguration.Builder> deobfuscationConfiguration)

      A structure that contains the configuration for how an app monitor can deobfuscate stack traces.

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

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

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

      AppMonitor.Builder domain(String domain)

      The top-level internet domain name for which your application has administrative authority.

      Parameters:
      domain - The top-level internet domain name for which your application has administrative authority.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainList

      AppMonitor.Builder domainList(Collection<String> domainList)

      List the domain names for which your application has administrative authority.

      Parameters:
      domainList - List the domain names for which your application has administrative authority.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainList

      AppMonitor.Builder domainList(String... domainList)

      List the domain names for which your application has administrative authority.

      Parameters:
      domainList - List the domain names for which your application has administrative authority.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The unique ID of this app monitor.

      Parameters:
      id - The unique ID of this app monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModified

      AppMonitor.Builder lastModified(String lastModified)

      The date and time of the most recent changes to this app monitor's configuration.

      Parameters:
      lastModified - The date and time of the most recent changes to this app monitor's configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the app monitor.

      Parameters:
      name - The name of the app monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      AppMonitor.Builder state(String state)

      The current state of the app monitor.

      Parameters:
      state - The current state of the app monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The current state of the app monitor.

      Parameters:
      state - The current state of the app monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The list of tag keys and values associated with this app monitor.

      Parameters:
      tags - The list of tag keys and values associated with this app monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.