Interface ListControlMappingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ControlCatalogResponse.Builder
,CopyableBuilder<ListControlMappingsResponse.Builder,
,ListControlMappingsResponse> SdkBuilder<ListControlMappingsResponse.Builder,
,ListControlMappingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListControlMappingsResponse
@Mutable
@NotThreadSafe
public static interface ListControlMappingsResponse.Builder
extends ControlCatalogResponse.Builder, SdkPojo, CopyableBuilder<ListControlMappingsResponse.Builder,ListControlMappingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontrolMappings
(Collection<ControlMapping> controlMappings) The list of control mappings that the ListControlMappings API returns.controlMappings
(Consumer<ControlMapping.Builder>... controlMappings) The list of control mappings that the ListControlMappings API returns.controlMappings
(ControlMapping... controlMappings) The list of control mappings that the ListControlMappings API returns.The pagination token that's used to fetch the next set of results.Methods inherited from interface software.amazon.awssdk.services.controlcatalog.model.ControlCatalogResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
controlMappings
The list of control mappings that the ListControlMappings API returns.
- Parameters:
controlMappings
- The list of control mappings that the ListControlMappings API returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlMappings
The list of control mappings that the ListControlMappings API returns.
- Parameters:
controlMappings
- The list of control mappings that the ListControlMappings API returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlMappings
ListControlMappingsResponse.Builder controlMappings(Consumer<ControlMapping.Builder>... controlMappings) The list of control mappings that the ListControlMappings API returns.
This is a convenience method that creates an instance of theControlMapping.Builder
avoiding the need to create one manually viaControlMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontrolMappings(List<ControlMapping>)
.- Parameters:
controlMappings
- a consumer that will call methods onControlMapping.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.
-