Interface GetInvestigationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetInvestigationResponse.Builder,,GetInvestigationResponse> GuardDutyResponse.Builder,SdkBuilder<GetInvestigationResponse.Builder,,GetInvestigationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetInvestigationResponse
@Mutable
@NotThreadSafe
public static interface GetInvestigationResponse.Builder
extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<GetInvestigationResponse.Builder,GetInvestigationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetInvestigationResponse.Builderinvestigation(Consumer<Investigation.Builder> investigation) The details and results of the requested investigation.investigation(Investigation investigation) The details and results of the requested investigation.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
-
investigation
The details and results of the requested investigation.
- Parameters:
investigation- The details and results of the requested investigation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
investigation
default GetInvestigationResponse.Builder investigation(Consumer<Investigation.Builder> investigation) The details and results of the requested investigation.
This is a convenience method that creates an instance of theInvestigation.Builderavoiding the need to create one manually viaInvestigation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvestigation(Investigation).- Parameters:
investigation- a consumer that will call methods onInvestigation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-