Interface AppMonitor.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AppMonitor.Builder,AppMonitor>,SdkBuilder<AppMonitor.Builder,AppMonitor>,SdkPojo
- Enclosing class:
- AppMonitor
public static interface AppMonitor.Builder extends SdkPojo, CopyableBuilder<AppMonitor.Builder,AppMonitor>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AppMonitor.BuilderappMonitorConfiguration(Consumer<AppMonitorConfiguration.Builder> appMonitorConfiguration)A structure that contains much of the configuration data for the app monitor.AppMonitor.BuilderappMonitorConfiguration(AppMonitorConfiguration appMonitorConfiguration)A structure that contains much of the configuration data for the app monitor.AppMonitor.Buildercreated(String created)The date and time that this app monitor was created.default AppMonitor.BuildercustomEvents(Consumer<CustomEvents.Builder> customEvents)Specifies whether this app monitor allows the web client to define and send custom events.AppMonitor.BuildercustomEvents(CustomEvents customEvents)Specifies whether this app monitor allows the web client to define and send custom events.default AppMonitor.BuilderdataStorage(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.AppMonitor.BuilderdataStorage(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.AppMonitor.Builderdomain(String domain)The top-level internet domain name for which your application has administrative authority.AppMonitor.Builderid(String id)The unique ID of this app monitor.AppMonitor.BuilderlastModified(String lastModified)The date and time of the most recent changes to this app monitor's configuration.AppMonitor.Buildername(String name)The name of the app monitor.AppMonitor.Builderstate(String state)The current state of the app monitor.AppMonitor.Builderstate(StateEnum state)The current state of the app monitor.AppMonitor.Buildertags(Map<String,String> tags)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 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.
-
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.Builderavoiding the need to create one manually viaAppMonitorConfiguration.builder().When the
Consumercompletes,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:
appMonitorConfiguration(AppMonitorConfiguration)
-
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 theCustomEvents.Builderavoiding the need to create one manually viaCustomEvents.builder().When the
Consumercompletes,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:
customEvents(CustomEvents)
-
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 theDataStorage.Builderavoiding the need to create one manually viaDataStorage.builder().When the
Consumercompletes,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:
dataStorage(DataStorage)
-
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.
-
state
AppMonitor.Builder state(StateEnum state)
The current state of the app monitor.
-
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.
-
-