Interface ListResponsePlansResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListResponsePlansResponse.Builder,
,ListResponsePlansResponse> SdkBuilder<ListResponsePlansResponse.Builder,
,ListResponsePlansResponse> SdkPojo
,SdkResponse.Builder
,SsmIncidentsResponse.Builder
- Enclosing class:
ListResponsePlansResponse
public static interface ListResponsePlansResponse.Builder
extends SsmIncidentsResponse.Builder, SdkPojo, CopyableBuilder<ListResponsePlansResponse.Builder,ListResponsePlansResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to continue to the next page of results.responsePlanSummaries
(Collection<ResponsePlanSummary> responsePlanSummaries) Details of each response plan.responsePlanSummaries
(Consumer<ResponsePlanSummary.Builder>... responsePlanSummaries) Details of each response plan.responsePlanSummaries
(ResponsePlanSummary... responsePlanSummaries) Details of each response plan.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
Methods inherited from interface software.amazon.awssdk.services.ssmincidents.model.SsmIncidentsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The pagination token to continue to the next page of results.
- Parameters:
nextToken
- The pagination token to continue to the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responsePlanSummaries
ListResponsePlansResponse.Builder responsePlanSummaries(Collection<ResponsePlanSummary> responsePlanSummaries) Details of each response plan.
- Parameters:
responsePlanSummaries
- Details of each response plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responsePlanSummaries
ListResponsePlansResponse.Builder responsePlanSummaries(ResponsePlanSummary... responsePlanSummaries) Details of each response plan.
- Parameters:
responsePlanSummaries
- Details of each response plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responsePlanSummaries
ListResponsePlansResponse.Builder responsePlanSummaries(Consumer<ResponsePlanSummary.Builder>... responsePlanSummaries) Details of each response plan.
This is a convenience method that creates an instance of theResponsePlanSummary.Builder
avoiding the need to create one manually viaResponsePlanSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresponsePlanSummaries(List<ResponsePlanSummary>)
.- Parameters:
responsePlanSummaries
- a consumer that will call methods onResponsePlanSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-