Interface ListInvestigationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInvestigationsResponse.Builder,,ListInvestigationsResponse> GuardDutyResponse.Builder,SdkBuilder<ListInvestigationsResponse.Builder,,ListInvestigationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListInvestigationsResponse
@Mutable
@NotThreadSafe
public static interface ListInvestigationsResponse.Builder
extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<ListInvestigationsResponse.Builder,ListInvestigationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninvestigations(Collection<InvestigationSummary> investigations) A list of investigation summaries associated with the specified detector.investigations(Consumer<InvestigationSummary.Builder>... investigations) A list of investigation summaries associated with the specified detector.investigations(InvestigationSummary... investigations) A list of investigation summaries associated with the specified detector.The pagination parameter to be used on the next list operation to retrieve more items.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
investigations
A list of investigation summaries associated with the specified detector.
- Parameters:
investigations- A list of investigation summaries associated with the specified detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investigations
A list of investigation summaries associated with the specified detector.
- Parameters:
investigations- A list of investigation summaries associated with the specified detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investigations
ListInvestigationsResponse.Builder investigations(Consumer<InvestigationSummary.Builder>... investigations) A list of investigation summaries associated with the specified detector.
This is a convenience method that creates an instance of theInvestigationSummary.Builderavoiding the need to create one manually viaInvestigationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvestigations(List<InvestigationSummary>).- Parameters:
investigations- a consumer that will call methods onInvestigationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination parameter to be used on the next list operation to retrieve more items.
- Parameters:
nextToken- The pagination parameter to be used on the next list operation to retrieve more items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-