Package com.pulumi.aws.cloudwatch.inputs
Class InternetMonitorState.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudwatch.inputs.InternetMonitorState.Builder
-
- Enclosing class:
- InternetMonitorState
public static final class InternetMonitorState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(InternetMonitorState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternetMonitorState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)InternetMonitorState.Builderarn(java.lang.String arn)InternetMonitorStatebuild()InternetMonitorState.BuilderhealthEventsConfig(InternetMonitorHealthEventsConfigArgs healthEventsConfig)InternetMonitorState.BuilderhealthEventsConfig(com.pulumi.core.Output<InternetMonitorHealthEventsConfigArgs> healthEventsConfig)InternetMonitorState.BuilderinternetMeasurementsLogDelivery(InternetMonitorInternetMeasurementsLogDeliveryArgs internetMeasurementsLogDelivery)InternetMonitorState.BuilderinternetMeasurementsLogDelivery(com.pulumi.core.Output<InternetMonitorInternetMeasurementsLogDeliveryArgs> internetMeasurementsLogDelivery)InternetMonitorState.BuildermaxCityNetworksToMonitor(com.pulumi.core.Output<java.lang.Integer> maxCityNetworksToMonitor)InternetMonitorState.BuildermaxCityNetworksToMonitor(java.lang.Integer maxCityNetworksToMonitor)InternetMonitorState.BuildermonitorName(com.pulumi.core.Output<java.lang.String> monitorName)InternetMonitorState.BuildermonitorName(java.lang.String monitorName)InternetMonitorState.Builderregion(com.pulumi.core.Output<java.lang.String> region)InternetMonitorState.Builderregion(java.lang.String region)InternetMonitorState.Builderresources(com.pulumi.core.Output<java.util.List<java.lang.String>> resources)InternetMonitorState.Builderresources(java.lang.String... resources)InternetMonitorState.Builderresources(java.util.List<java.lang.String> resources)InternetMonitorState.Builderstatus(com.pulumi.core.Output<java.lang.String> status)InternetMonitorState.Builderstatus(java.lang.String status)InternetMonitorState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)InternetMonitorState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)InternetMonitorState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)InternetMonitorState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)InternetMonitorState.BuildertrafficPercentageToMonitor(com.pulumi.core.Output<java.lang.Integer> trafficPercentageToMonitor)InternetMonitorState.BuildertrafficPercentageToMonitor(java.lang.Integer trafficPercentageToMonitor)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InternetMonitorState defaults)
-
-
Method Detail
-
arn
public InternetMonitorState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the Monitor.- Returns:
- builder
-
arn
public InternetMonitorState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the Monitor.- Returns:
- builder
-
healthEventsConfig
public InternetMonitorState.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 InternetMonitorState.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 InternetMonitorState.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 InternetMonitorState.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 InternetMonitorState.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 InternetMonitorState.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 InternetMonitorState.Builder monitorName(@Nullable com.pulumi.core.Output<java.lang.String> monitorName)
- Parameters:
monitorName- The name of the monitor. The following arguments are optional:- Returns:
- builder
-
monitorName
public InternetMonitorState.Builder monitorName(java.lang.String monitorName)
- Parameters:
monitorName- The name of the monitor. The following arguments are optional:- Returns:
- builder
-
region
public InternetMonitorState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public InternetMonitorState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
resources
public InternetMonitorState.Builder resources(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> resources)
- Parameters:
resources- Resources to include in a monitor, which you provide as a set of ARNs.- Returns:
- builder
-
resources
public InternetMonitorState.Builder resources(java.util.List<java.lang.String> resources)
- Parameters:
resources- Resources to include in a monitor, which you provide as a set of ARNs.- Returns:
- builder
-
resources
public InternetMonitorState.Builder resources(java.lang.String... resources)
- Parameters:
resources- Resources to include in a monitor, which you provide as a set of ARNs.- Returns:
- builder
-
status
public InternetMonitorState.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 InternetMonitorState.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 InternetMonitorState.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public InternetMonitorState.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public InternetMonitorState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public InternetMonitorState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
trafficPercentageToMonitor
public InternetMonitorState.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 InternetMonitorState.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 InternetMonitorState build()
-
-