Interface ListCodeFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<ListCodeFindingsResponse.Builder,,ListCodeFindingsResponse> SdkBuilder<ListCodeFindingsResponse.Builder,,ListCodeFindingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCodeFindingsResponse
@Mutable
@NotThreadSafe
public static interface ListCodeFindingsResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<ListCodeFindingsResponse.Builder,ListCodeFindingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<FindingSummary> items) The findings in the environment, ordered by findingId descending.items(Consumer<FindingSummary.Builder>... items) The findings in the environment, ordered by findingId descending.items(FindingSummary... items) The findings in the environment, ordered by findingId descending.A pagination token to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
items
The findings in the environment, ordered by findingId descending.
- Parameters:
items- The findings in the environment, ordered by findingId descending.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The findings in the environment, ordered by findingId descending.
- Parameters:
items- The findings in the environment, ordered by findingId descending.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The findings in the environment, ordered by findingId descending.
This is a convenience method that creates an instance of theFindingSummary.Builderavoiding the need to create one manually viaFindingSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<FindingSummary>).- Parameters:
items- a consumer that will call methods onFindingSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token to retrieve the next page of results. Absent when there are no more results.
- Parameters:
nextToken- A pagination token to retrieve the next page of results. Absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-