Interface ListFindingsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFindingsResponse.Builder,ListFindingsResponse>,Inspector2Response.Builder,SdkBuilder<ListFindingsResponse.Builder,ListFindingsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListFindingsResponse
public static interface ListFindingsResponse.Builder extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<ListFindingsResponse.Builder,ListFindingsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFindingsResponse.Builderfindings(Collection<Finding> findings)Contains details on the findings in your environment.ListFindingsResponse.Builderfindings(Consumer<Finding.Builder>... findings)Contains details on the findings in your environment.ListFindingsResponse.Builderfindings(Finding... findings)Contains details on the findings in your environment.ListFindingsResponse.BuildernextToken(String nextToken)A token to use for paginating results that are returned in the response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
findings
ListFindingsResponse.Builder findings(Collection<Finding> findings)
Contains details on the findings in your environment.
- Parameters:
findings- Contains details on the findings in your environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
ListFindingsResponse.Builder findings(Finding... findings)
Contains details on the findings in your environment.
- Parameters:
findings- Contains details on the findings in your environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
ListFindingsResponse.Builder findings(Consumer<Finding.Builder>... findings)
Contains details on the findings in your environment.
This is a convenience method that creates an instance of theFinding.Builderavoiding the need to create one manually viaFinding.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 onFinding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#findings(java.util.Collection)
-
nextToken
ListFindingsResponse.Builder nextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the
NextTokenvalue returned from the previous request to continue listing results after the first page.- Parameters:
nextToken- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use theNextTokenvalue returned from the previous request to continue listing results after the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-