Interface ListProblemsRequest.Builder

All Superinterfaces:
ApplicationInsightsRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<ListProblemsRequest.Builder,ListProblemsRequest>, SdkBuilder<ListProblemsRequest.Builder,ListProblemsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListProblemsRequest

  • Method Details

    • accountId

      ListProblemsRequest.Builder accountId(String accountId)

      The AWS account ID for the resource group owner.

      Parameters:
      accountId - The AWS account ID for the resource group owner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceGroupName

      ListProblemsRequest.Builder resourceGroupName(String resourceGroupName)

      The name of the resource group.

      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      ListProblemsRequest.Builder startTime(Instant startTime)

      The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.

      Parameters:
      startTime - The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.

      Parameters:
      endTime - The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListProblemsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

      Parameters:
      maxResults - The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListProblemsRequest.Builder nextToken(String nextToken)

      The token to request the next page of results.

      Parameters:
      nextToken - The token to request the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • componentName

      ListProblemsRequest.Builder componentName(String componentName)

      The name of the component.

      Parameters:
      componentName - The name of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • visibility

      ListProblemsRequest.Builder visibility(String visibility)

      Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.

      Parameters:
      visibility - Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • visibility

      ListProblemsRequest.Builder visibility(Visibility visibility)

      Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.

      Parameters:
      visibility - Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      ListProblemsRequest.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.