Interface ListControlsResponse.Builder
- All Superinterfaces:
AuditManagerResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListControlsResponse.Builder,
,ListControlsResponse> SdkBuilder<ListControlsResponse.Builder,
,ListControlsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListControlsResponse
public static interface ListControlsResponse.Builder
extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<ListControlsResponse.Builder,ListControlsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontrolMetadataList
(Collection<ControlMetadata> controlMetadataList) A list of metadata that theListControls
API returns for each control.controlMetadataList
(Consumer<ControlMetadata.Builder>... controlMetadataList) A list of metadata that theListControls
API returns for each control.controlMetadataList
(ControlMetadata... controlMetadataList) A list of metadata that theListControls
API returns for each control.The pagination token that's used to fetch the next set of results.Methods inherited from interface software.amazon.awssdk.services.auditmanager.model.AuditManagerResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
controlMetadataList
A list of metadata that the
ListControls
API returns for each control.- Parameters:
controlMetadataList
- A list of metadata that theListControls
API returns for each control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlMetadataList
A list of metadata that the
ListControls
API returns for each control.- Parameters:
controlMetadataList
- A list of metadata that theListControls
API returns for each control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlMetadataList
ListControlsResponse.Builder controlMetadataList(Consumer<ControlMetadata.Builder>... controlMetadataList) A list of metadata that the
This is a convenience method that creates an instance of theListControls
API returns for each control.ControlMetadata.Builder
avoiding the need to create one manually viaControlMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontrolMetadataList(List<ControlMetadata>)
.- Parameters:
controlMetadataList
- a consumer that will call methods onControlMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token that's used to fetch the next set of results.
- Parameters:
nextToken
- The pagination token that's used to fetch the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-