Interface ListControlsResponse.Builder
- All Superinterfaces:
AuditManagerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListControlsResponse.Builder,,ListControlsResponse> SdkBuilder<ListControlsResponse.Builder,,ListControlsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListControlsResponse
@Mutable
@NotThreadSafe
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 theListControlsAPI returns for each control.controlMetadataList(Consumer<ControlMetadata.Builder>... controlMetadataList) A list of metadata that theListControlsAPI returns for each control.controlMetadataList(ControlMetadata... controlMetadataList) A list of metadata that theListControlsAPI 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, 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
-
controlMetadataList
A list of metadata that the
ListControlsAPI returns for each control.- Parameters:
controlMetadataList- A list of metadata that theListControlsAPI 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
ListControlsAPI returns for each control.- Parameters:
controlMetadataList- A list of metadata that theListControlsAPI 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 theListControlsAPI returns for each control.ControlMetadata.Builderavoiding the need to create one manually viaControlMetadata.builder().When the
Consumercompletes,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.
-