Interface ListIncidentRecordsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListIncidentRecordsResponse.Builder,
,ListIncidentRecordsResponse> SdkBuilder<ListIncidentRecordsResponse.Builder,
,ListIncidentRecordsResponse> SdkPojo
,SdkResponse.Builder
,SsmIncidentsResponse.Builder
- Enclosing class:
ListIncidentRecordsResponse
public static interface ListIncidentRecordsResponse.Builder
extends SsmIncidentsResponse.Builder, SdkPojo, CopyableBuilder<ListIncidentRecordsResponse.Builder,ListIncidentRecordsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionincidentRecordSummaries
(Collection<IncidentRecordSummary> incidentRecordSummaries) The details of each listed incident record.incidentRecordSummaries
(Consumer<IncidentRecordSummary.Builder>... incidentRecordSummaries) The details of each listed incident record.incidentRecordSummaries
(IncidentRecordSummary... incidentRecordSummaries) The details of each listed incident record.The pagination token to use when requesting the next set of items.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
-
incidentRecordSummaries
ListIncidentRecordsResponse.Builder incidentRecordSummaries(Collection<IncidentRecordSummary> incidentRecordSummaries) The details of each listed incident record.
- Parameters:
incidentRecordSummaries
- The details of each listed incident record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentRecordSummaries
ListIncidentRecordsResponse.Builder incidentRecordSummaries(IncidentRecordSummary... incidentRecordSummaries) The details of each listed incident record.
- Parameters:
incidentRecordSummaries
- The details of each listed incident record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentRecordSummaries
ListIncidentRecordsResponse.Builder incidentRecordSummaries(Consumer<IncidentRecordSummary.Builder>... incidentRecordSummaries) The details of each listed incident record.
This is a convenience method that creates an instance of theIncidentRecordSummary.Builder
avoiding the need to create one manually viaIncidentRecordSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toincidentRecordSummaries(List<IncidentRecordSummary>)
.- Parameters:
incidentRecordSummaries
- a consumer that will call methods onIncidentRecordSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-