Interface ListHealthEventsRequest.Builder

  • Method Details

    • monitorName

      ListHealthEventsRequest.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.
    • startTime

      The time when a health event started.

      Parameters:
      startTime - The time when a health event started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The time when a health event ended. If the health event is still ongoing, then the end time is not set.

      Parameters:
      endTime - The time when a health event ended. If the health event is still ongoing, then the end time is not set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The token for the next set of results. You receive this token from a previous call.

      Parameters:
      nextToken - The token for the next set of results. You receive this token from a previous call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListHealthEventsRequest.Builder maxResults(Integer maxResults)

      The number of health event objects that you want to return with this call.

      Parameters:
      maxResults - The number of health event objects that you want to return with this call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventStatus

      ListHealthEventsRequest.Builder eventStatus(String eventStatus)

      The status of a health event.

      Parameters:
      eventStatus - The status of a health event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eventStatus

      The status of a health event.

      Parameters:
      eventStatus - The status of a health event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • linkedAccountId

      ListHealthEventsRequest.Builder linkedAccountId(String linkedAccountId)

      The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.

      Parameters:
      linkedAccountId - The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListHealthEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.