Interface AppMonitor.Builder

    • Method Detail

      • 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.
      • 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.
      • 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.
      • 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.
      • id

        AppMonitor.Builder id​(String 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

        AppMonitor.Builder name​(String 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:
        StateEnum, StateEnum
      • state

        AppMonitor.Builder state​(StateEnum 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:
        StateEnum, StateEnum
      • tags

        AppMonitor.Builder tags​(Map<String,​String> 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.