Interface Mapping.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Mapping.Builder,
,Mapping> SdkBuilder<Mapping.Builder,
,Mapping> SdkPojo
- Enclosing class:
Mapping
@Mutable
@NotThreadSafe
public static interface Mapping.Builder
extends SdkPojo, CopyableBuilder<Mapping.Builder,Mapping>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Mapping.Builder
commonControl
(Consumer<CommonControlMappingDetails.Builder> commonControl) The common control mapping details when the mapping type relates to a common control.commonControl
(CommonControlMappingDetails commonControl) The common control mapping details when the mapping type relates to a common control.default Mapping.Builder
framework
(Consumer<FrameworkMappingDetails.Builder> framework) The framework mapping details when the mapping type relates to a compliance framework.framework
(FrameworkMappingDetails framework) The framework mapping details when the mapping type relates to a compliance framework.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
-
Method Details
-
framework
The framework mapping details when the mapping type relates to a compliance framework.
- Parameters:
framework
- The framework mapping details when the mapping type relates to a compliance framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
framework
The framework mapping details when the mapping type relates to a compliance framework.
This is a convenience method that creates an instance of theFrameworkMappingDetails.Builder
avoiding the need to create one manually viaFrameworkMappingDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toframework(FrameworkMappingDetails)
.- Parameters:
framework
- a consumer that will call methods onFrameworkMappingDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
commonControl
The common control mapping details when the mapping type relates to a common control.
- Parameters:
commonControl
- The common control mapping details when the mapping type relates to a common control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commonControl
The common control mapping details when the mapping type relates to a common control.
This is a convenience method that creates an instance of theCommonControlMappingDetails.Builder
avoiding the need to create one manually viaCommonControlMappingDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommonControl(CommonControlMappingDetails)
.- Parameters:
commonControl
- a consumer that will call methods onCommonControlMappingDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-