Interface ListProblemsResponse.Builder

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

  • Method Details

    • problemList

      ListProblemsResponse.Builder problemList(Collection<Problem> problemList)

      The list of problems.

      Parameters:
      problemList - The list of problems.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • problemList

      ListProblemsResponse.Builder problemList(Problem... problemList)

      The list of problems.

      Parameters:
      problemList - The list of problems.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • problemList

      The list of problems.

      This is a convenience method that creates an instance of the Problem.Builder avoiding the need to create one manually via Problem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to problemList(List<Problem>).

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

      ListProblemsResponse.Builder nextToken(String nextToken)

      The token used to retrieve the next page of results. This value is null when there are no more results to return.

      Parameters:
      nextToken - The token used to retrieve the next page of results. This value is null when there are no more results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceGroupName

      ListProblemsResponse.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.
    • accountId

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