Interface ListAuditFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAuditFindingsResponse.Builder,
,ListAuditFindingsResponse> IotResponse.Builder
,SdkBuilder<ListAuditFindingsResponse.Builder,
,ListAuditFindingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAuditFindingsResponse
public static interface ListAuditFindingsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListAuditFindingsResponse.Builder,ListAuditFindingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfindings
(Collection<AuditFinding> findings) The findings (results) of the audit.findings
(Consumer<AuditFinding.Builder>... findings) The findings (results) of the audit.findings
(AuditFinding... findings) The findings (results) of the audit.A token that can be used to retrieve the next set of results, ornull
if there are no additional results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.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 Details
-
findings
The findings (results) of the audit.
- Parameters:
findings
- The findings (results) of the audit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The findings (results) of the audit.
- Parameters:
findings
- The findings (results) of the audit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The findings (results) of the audit.
This is a convenience method that creates an instance of theAuditFinding.Builder
avoiding the need to create one manually viaAuditFinding.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofindings(List<AuditFinding>)
.- Parameters:
findings
- a consumer that will call methods onAuditFinding.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that can be used to retrieve the next set of results, or
null
if there are no additional results.- Parameters:
nextToken
- A token that can be used to retrieve the next set of results, ornull
if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-