Interface AppMonitor.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AppMonitor.Builder,
,AppMonitor> SdkBuilder<AppMonitor.Builder,
,AppMonitor> SdkPojo
- Enclosing class:
AppMonitor
-
Method Summary
Modifier and TypeMethodDescriptiondefault AppMonitor.Builder
appMonitorConfiguration
(Consumer<AppMonitorConfiguration.Builder> appMonitorConfiguration) A structure that contains much of the configuration data for the app monitor.appMonitorConfiguration
(AppMonitorConfiguration appMonitorConfiguration) A structure that contains much of the configuration data for the app monitor.The date and time that this app monitor was created.default AppMonitor.Builder
customEvents
(Consumer<CustomEvents.Builder> customEvents) Specifies whether this app monitor allows the web client to define and send custom events.customEvents
(CustomEvents customEvents) Specifies whether this app monitor allows the web client to define and send custom events.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.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.The top-level internet domain name for which your application has administrative authority.The unique ID of this app monitor.lastModified
(String lastModified) The date and time of the most recent changes to this app monitor's configuration.The name of the app monitor.The current state of the app monitor.The current state of the app monitor.The list of tag keys and values associated with this app monitor.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
-
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 theAppMonitorConfiguration.Builder
avoiding the need to create one manually viaAppMonitorConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toappMonitorConfiguration(AppMonitorConfiguration)
.- Parameters:
appMonitorConfiguration
- a consumer that will call methods onAppMonitorConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theCustomEvents.Builder
avoiding the need to create one manually viaCustomEvents.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomEvents(CustomEvents)
.- Parameters:
customEvents
- a consumer that will call methods onCustomEvents.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theDataStorage.Builder
avoiding the need to create one manually viaDataStorage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataStorage(DataStorage)
.- Parameters:
dataStorage
- a consumer that will call methods onDataStorage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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.
-