Interface GetMonitorResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetMonitorResponse.Builder,GetMonitorResponse>, InternetMonitorResponse.Builder, SdkBuilder<GetMonitorResponse.Builder,GetMonitorResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetMonitorResponse

public static interface GetMonitorResponse.Builder extends InternetMonitorResponse.Builder, SdkPojo, CopyableBuilder<GetMonitorResponse.Builder,GetMonitorResponse>
  • Method Details

    • monitorName

      GetMonitorResponse.Builder monitorName(String 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

      GetMonitorResponse.Builder monitorArn(String 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

      GetMonitorResponse.Builder resources(String... 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

      GetMonitorResponse.Builder createdAt(Instant 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

      GetMonitorResponse.Builder modifiedAt(Instant 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

      GetMonitorResponse.Builder processingStatus(String 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

      GetMonitorResponse.Builder processingStatus(MonitorProcessingStatusCode 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

      GetMonitorResponse.Builder processingStatusInfo(String 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

      GetMonitorResponse.Builder maxCityNetworksToMonitor(Integer 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 the InternetMeasurementsLogDelivery.Builder avoiding the need to create one manually via InternetMeasurementsLogDelivery.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to internetMeasurementsLogDelivery(InternetMeasurementsLogDelivery).

      Parameters:
      internetMeasurementsLogDelivery - a consumer that will call methods on InternetMeasurementsLogDelivery.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • trafficPercentageToMonitor

      GetMonitorResponse.Builder trafficPercentageToMonitor(Integer 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

      GetMonitorResponse.Builder healthEventsConfig(HealthEventsConfig 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 the HealthEventsConfig.Builder avoiding the need to create one manually via HealthEventsConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to healthEventsConfig(HealthEventsConfig).

      Parameters:
      healthEventsConfig - a consumer that will call methods on HealthEventsConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: