Interface GetFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeGuruSecurityResponse.Builder
,CopyableBuilder<GetFindingsResponse.Builder,
,GetFindingsResponse> SdkBuilder<GetFindingsResponse.Builder,
,GetFindingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetFindingsResponse
@Mutable
@NotThreadSafe
public static interface GetFindingsResponse.Builder
extends CodeGuruSecurityResponse.Builder, SdkPojo, CopyableBuilder<GetFindingsResponse.Builder,GetFindingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfindings
(Collection<Finding> findings) A list of findings generated by the specified scan.findings
(Consumer<Finding.Builder>... findings) A list of findings generated by the specified scan.A list of findings generated by the specified scan.A pagination token.Methods inherited from interface software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
findings
A list of findings generated by the specified scan.
- Parameters:
findings
- A list of findings generated by the specified scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
A list of findings generated by the specified scan.
- Parameters:
findings
- A list of findings generated by the specified scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
A list of findings generated by the specified scan.
This is a convenience method that creates an instance of theFinding.Builder
avoiding the need to create one manually viaFinding.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofindings(List<Finding>)
.- Parameters:
findings
- a consumer that will call methods onFinding.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token. You can use this in future calls to
GetFindings
to continue listing results after the current page.- Parameters:
nextToken
- A pagination token. You can use this in future calls toGetFindings
to continue listing results after the current page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-