Package com.pulumi.aws.cloudwatch
Class InternetMonitorArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudwatch.InternetMonitorArgs.Builder
-
- Enclosing class:
- InternetMonitorArgs
public static final class InternetMonitorArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(InternetMonitorArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InternetMonitorArgs defaults)
-
-
Method Detail
-
healthEventsConfig
public InternetMonitorArgs.Builder healthEventsConfig(@Nullable com.pulumi.core.Output<InternetMonitorHealthEventsConfigArgs> healthEventsConfig)
- Parameters:
healthEventsConfig
- Health event thresholds. A health event threshold percentage, for performance and availability, determines when Internet Monitor creates a health event when there's an internet issue that affects your application end users. See Health Events Config below.- Returns:
- builder
-
healthEventsConfig
public InternetMonitorArgs.Builder healthEventsConfig(InternetMonitorHealthEventsConfigArgs healthEventsConfig)
- Parameters:
healthEventsConfig
- Health event thresholds. A health event threshold percentage, for performance and availability, determines when Internet Monitor creates a health event when there's an internet issue that affects your application end users. See Health Events Config below.- Returns:
- builder
-
internetMeasurementsLogDelivery
public InternetMonitorArgs.Builder internetMeasurementsLogDelivery(@Nullable com.pulumi.core.Output<InternetMonitorInternetMeasurementsLogDeliveryArgs> internetMeasurementsLogDelivery)
- Parameters:
internetMeasurementsLogDelivery
- Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.- Returns:
- builder
-
internetMeasurementsLogDelivery
public InternetMonitorArgs.Builder internetMeasurementsLogDelivery(InternetMonitorInternetMeasurementsLogDeliveryArgs internetMeasurementsLogDelivery)
- Parameters:
internetMeasurementsLogDelivery
- Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.- Returns:
- builder
-
maxCityNetworksToMonitor
public InternetMonitorArgs.Builder maxCityNetworksToMonitor(@Nullable com.pulumi.core.Output<java.lang.Integer> maxCityNetworksToMonitor)
- 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 network or ASN, such as an internet service provider (ISP), that clients access the resources through. This limit helps control billing costs.- Returns:
- builder
-
maxCityNetworksToMonitor
public InternetMonitorArgs.Builder maxCityNetworksToMonitor(java.lang.Integer maxCityNetworksToMonitor)
- 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 network or ASN, such as an internet service provider (ISP), that clients access the resources through. This limit helps control billing costs.- Returns:
- builder
-
monitorName
public InternetMonitorArgs.Builder monitorName(com.pulumi.core.Output<java.lang.String> monitorName)
- Parameters:
monitorName
- The name of the monitor. The following arguments are optional:- Returns:
- builder
-
monitorName
public InternetMonitorArgs.Builder monitorName(java.lang.String monitorName)
- Parameters:
monitorName
- The name of the monitor. The following arguments are optional:- Returns:
- builder
-
resources
public InternetMonitorArgs.Builder resources(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> resources)
- Parameters:
resources
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).- Returns:
- builder
-
resources
public InternetMonitorArgs.Builder resources(java.util.List<java.lang.String> resources)
- Parameters:
resources
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).- Returns:
- builder
-
resources
public InternetMonitorArgs.Builder resources(java.lang.String... resources)
- Parameters:
resources
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).- Returns:
- builder
-
status
public InternetMonitorArgs.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following: `ACTIVE` and `INACTIVE`.- Returns:
- builder
-
status
public InternetMonitorArgs.Builder status(java.lang.String status)
- Parameters:
status
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following: `ACTIVE` and `INACTIVE`.- Returns:
- builder
-
tags
public InternetMonitorArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public InternetMonitorArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
trafficPercentageToMonitor
public InternetMonitorArgs.Builder trafficPercentageToMonitor(@Nullable com.pulumi.core.Output<java.lang.Integer> trafficPercentageToMonitor)
- Parameters:
trafficPercentageToMonitor
- The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.- Returns:
- builder
-
trafficPercentageToMonitor
public InternetMonitorArgs.Builder trafficPercentageToMonitor(java.lang.Integer trafficPercentageToMonitor)
- Parameters:
trafficPercentageToMonitor
- The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.- Returns:
- builder
-
build
public InternetMonitorArgs build()
-
-