Interface ListProblemsRequest.Builder

    • Method Detail

      • 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

        ListProblemsRequest.Builder endTime​(Instant 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, Visibility
      • 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:
        Visibility, Visibility