Interface ListProblemsResponse.Builder
- All Superinterfaces:
ApplicationInsightsResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListProblemsResponse.Builder,
,ListProblemsResponse> SdkBuilder<ListProblemsResponse.Builder,
,ListProblemsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProblemsResponse
public static interface ListProblemsResponse.Builder
extends ApplicationInsightsResponse.Builder, SdkPojo, CopyableBuilder<ListProblemsResponse.Builder,ListProblemsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe AWS account ID for the resource group owner.The token used to retrieve the next page of results.problemList
(Collection<Problem> problemList) The list of problems.problemList
(Consumer<Problem.Builder>... problemList) The list of problems.problemList
(Problem... problemList) The list of problems.resourceGroupName
(String resourceGroupName) The name of the resource group.Methods inherited from interface software.amazon.awssdk.services.applicationinsights.model.ApplicationInsightsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
- 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 theProblem.Builder
avoiding the need to create one manually viaProblem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproblemList(List<Problem>)
.- Parameters:
problemList
- a consumer that will call methods onProblem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.
-