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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListControlsResponse.BuildercontrolMetadataList(Collection<ControlMetadata> controlMetadataList)A list of metadata that theListControlsAPI returns for each control.ListControlsResponse.BuildercontrolMetadataList(Consumer<ControlMetadata.Builder>... controlMetadataList)A list of metadata that theListControlsAPI returns for each control.ListControlsResponse.BuildercontrolMetadataList(ControlMetadata... controlMetadataList)A list of metadata that theListControlsAPI returns for each control.ListControlsResponse.BuildernextToken(String nextToken)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 Detail
-
controlMetadataList
ListControlsResponse.Builder controlMetadataList(Collection<ControlMetadata> 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(ControlMetadata... 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 to#controlMetadataList(List.) - 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:
#controlMetadataList(java.util.Collection)
-
nextToken
ListControlsResponse.Builder nextToken(String 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.
-
-