Interface GetMonitorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetMonitorResponse.Builder,
,GetMonitorResponse> InternetMonitorResponse.Builder
,SdkBuilder<GetMonitorResponse.Builder,
,GetMonitorResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMonitorResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe time when the monitor was created.default GetMonitorResponse.Builder
healthEventsConfig
(Consumer<HealthEventsConfig.Builder> healthEventsConfig) The list of health event threshold configurations.healthEventsConfig
(HealthEventsConfig healthEventsConfig) The list of health event threshold configurations.default GetMonitorResponse.Builder
internetMeasurementsLogDelivery
(Consumer<InternetMeasurementsLogDelivery.Builder> internetMeasurementsLogDelivery) Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket.internetMeasurementsLogDelivery
(InternetMeasurementsLogDelivery internetMeasurementsLogDelivery) Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket.maxCityNetworksToMonitor
(Integer maxCityNetworksToMonitor) The maximum number of city-networks to monitor for your resources.modifiedAt
(Instant modifiedAt) The last time that the monitor was modified.monitorArn
(String monitorArn) The Amazon Resource Name (ARN) of the monitor.monitorName
(String monitorName) The name of the monitor.processingStatus
(String processingStatus) The health of the data processing for the monitor.processingStatus
(MonitorProcessingStatusCode processingStatus) The health of the data processing for the monitor.processingStatusInfo
(String processingStatusInfo) Additional information about the health of the data processing for the monitor.The resources monitored by the monitor.resources
(Collection<String> resources) The resources monitored by the monitor.The status of the monitor.status
(MonitorConfigState status) The status of the monitor.The tags that have been added to monitor.trafficPercentageToMonitor
(Integer trafficPercentageToMonitor) The percentage of the internet-facing traffic for your application to monitor with this monitor.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.internetmonitor.model.InternetMonitorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
monitorName
The name of the monitor.
- Parameters:
monitorName
- The name of the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitorArn
The Amazon Resource Name (ARN) of the monitor.
- Parameters:
monitorArn
- The Amazon Resource Name (ARN) of the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The resources monitored by the monitor. Resources are listed by their Amazon Resource Names (ARNs).
- Parameters:
resources
- The resources monitored by the monitor. Resources are listed by their Amazon Resource Names (ARNs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The resources monitored by the monitor. Resources are listed by their Amazon Resource Names (ARNs).
- Parameters:
resources
- The resources monitored by the monitor. Resources are listed by their Amazon Resource Names (ARNs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the monitor.
- Parameters:
status
- The status of the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the monitor.
- Parameters:
status
- The status of the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time when the monitor was created.
- Parameters:
createdAt
- The time when the monitor was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The last time that the monitor was modified.
- Parameters:
modifiedAt
- The last time that the monitor was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processingStatus
The health of the data processing for the monitor.
- Parameters:
processingStatus
- The health of the data processing for the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
processingStatus
The health of the data processing for the monitor.
- Parameters:
processingStatus
- The health of the data processing for the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
processingStatusInfo
Additional information about the health of the data processing for the monitor.
- Parameters:
processingStatusInfo
- Additional information about the health of the data processing for the monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags that have been added to monitor.
- Parameters:
tags
- The tags that have been added to monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxCityNetworksToMonitor
The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the ASN or network provider, such as an internet service provider (ISP), that clients access the resources through. This limit can help control billing costs.
To learn more, see Choosing a city-network maximum value in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
- Parameters:
maxCityNetworksToMonitor
- The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the ASN or network provider, such as an internet service provider (ISP), that clients access the resources through. This limit can help control billing costs.To learn more, see Choosing a city-network maximum value in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
internetMeasurementsLogDelivery
GetMonitorResponse.Builder internetMeasurementsLogDelivery(InternetMeasurementsLogDelivery internetMeasurementsLogDelivery) Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.
- Parameters:
internetMeasurementsLogDelivery
- Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
internetMeasurementsLogDelivery
default GetMonitorResponse.Builder internetMeasurementsLogDelivery(Consumer<InternetMeasurementsLogDelivery.Builder> internetMeasurementsLogDelivery) Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.
This is a convenience method that creates an instance of theInternetMeasurementsLogDelivery.Builder
avoiding the need to create one manually viaInternetMeasurementsLogDelivery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointernetMeasurementsLogDelivery(InternetMeasurementsLogDelivery)
.- Parameters:
internetMeasurementsLogDelivery
- a consumer that will call methods onInternetMeasurementsLogDelivery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trafficPercentageToMonitor
The percentage of the internet-facing traffic for your application to monitor with this monitor. If you set a city-networks maximum, that limit overrides the traffic percentage that you set.
To learn more, see Choosing an application traffic percentage to monitor in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
- Parameters:
trafficPercentageToMonitor
- The percentage of the internet-facing traffic for your application to monitor with this monitor. If you set a city-networks maximum, that limit overrides the traffic percentage that you set.To learn more, see Choosing an application traffic percentage to monitor in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthEventsConfig
The list of health event threshold configurations. The threshold percentage for a health score determines, along with other configuration information, when Internet Monitor creates a health event when there's an internet issue that affects your application end users.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
- Parameters:
healthEventsConfig
- The list of health event threshold configurations. The threshold percentage for a health score determines, along with other configuration information, when Internet Monitor creates a health event when there's an internet issue that affects your application end users.For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthEventsConfig
default GetMonitorResponse.Builder healthEventsConfig(Consumer<HealthEventsConfig.Builder> healthEventsConfig) The list of health event threshold configurations. The threshold percentage for a health score determines, along with other configuration information, when Internet Monitor creates a health event when there's an internet issue that affects your application end users.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
This is a convenience method that creates an instance of theHealthEventsConfig.Builder
avoiding the need to create one manually viaHealthEventsConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohealthEventsConfig(HealthEventsConfig)
.- Parameters:
healthEventsConfig
- a consumer that will call methods onHealthEventsConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-