Interface ListAuditTasksResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAuditTasksResponse.Builder,ListAuditTasksResponse>,IotResponse.Builder,SdkBuilder<ListAuditTasksResponse.Builder,ListAuditTasksResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAuditTasksResponse
public static interface ListAuditTasksResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListAuditTasksResponse.Builder,ListAuditTasksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAuditTasksResponse.BuildernextToken(String nextToken)A token that can be used to retrieve the next set of results, ornullif there are no additional results.ListAuditTasksResponse.Buildertasks(Collection<AuditTaskMetadata> tasks)The audits that were performed during the specified time period.ListAuditTasksResponse.Buildertasks(Consumer<AuditTaskMetadata.Builder>... tasks)The audits that were performed during the specified time period.ListAuditTasksResponse.Buildertasks(AuditTaskMetadata... tasks)The audits that were performed during the specified time period.-
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 Detail
-
tasks
ListAuditTasksResponse.Builder tasks(Collection<AuditTaskMetadata> tasks)
The audits that were performed during the specified time period.
- Parameters:
tasks- The audits that were performed during the specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
ListAuditTasksResponse.Builder tasks(AuditTaskMetadata... tasks)
The audits that were performed during the specified time period.
- Parameters:
tasks- The audits that were performed during the specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
ListAuditTasksResponse.Builder tasks(Consumer<AuditTaskMetadata.Builder>... tasks)
The audits that were performed during the specified time period.
This is a convenience method that creates an instance of theAuditTaskMetadata.Builderavoiding the need to create one manually viaAuditTaskMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tasks(List.) - Parameters:
tasks- a consumer that will call methods onAuditTaskMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tasks(java.util.Collection)
-
nextToken
ListAuditTasksResponse.Builder nextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
nullif there are no additional results.- Parameters:
nextToken- A token that can be used to retrieve the next set of results, ornullif there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-