Interface GetFindingsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFindingsResponse.Builder,GetFindingsResponse>,SdkBuilder<GetFindingsResponse.Builder,GetFindingsResponse>,SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
- GetFindingsResponse
public static interface GetFindingsResponse.Builder extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetFindingsResponse.Builder,GetFindingsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetFindingsResponse.Builderfindings(Collection<AwsSecurityFinding> findings)The findings that matched the filters specified in the request.GetFindingsResponse.Builderfindings(Consumer<AwsSecurityFinding.Builder>... findings)The findings that matched the filters specified in the request.GetFindingsResponse.Builderfindings(AwsSecurityFinding... findings)The findings that matched the filters specified in the request.GetFindingsResponse.BuildernextToken(String nextToken)The pagination token to use to request the next page of results.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
findings
GetFindingsResponse.Builder findings(Collection<AwsSecurityFinding> findings)
The findings that matched the filters specified in the request.
- Parameters:
findings- The findings that matched the filters specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
GetFindingsResponse.Builder findings(AwsSecurityFinding... findings)
The findings that matched the filters specified in the request.
- Parameters:
findings- The findings that matched the filters specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
GetFindingsResponse.Builder findings(Consumer<AwsSecurityFinding.Builder>... findings)
The findings that matched the filters specified in the request.
This is a convenience method that creates an instance of theAwsSecurityFinding.Builderavoiding the need to create one manually viaAwsSecurityFinding.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#findings(List.) - Parameters:
findings- a consumer that will call methods onAwsSecurityFinding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#findings(java.util.Collection)
-
nextToken
GetFindingsResponse.Builder nextToken(String nextToken)
The pagination token to use to request the next page of results.
- Parameters:
nextToken- The pagination token to use to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-