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 use when requesting the next set of items.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssmincidents.model.SsmIncidentsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
- Parameters:
nextToken- The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.- 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.Builderavoiding the need to create one manually viaResponsePlanSummary.builder().When the
Consumercompletes,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:
-