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.BuildercommonControl(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.Builderframework(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.default Mapping.BuilderrelatedControl(Consumer<RelatedControlMappingDetails.Builder> relatedControl) Returns information about controls that are related to the specified control.relatedControl(RelatedControlMappingDetails relatedControl) Returns information about controls that are related to the specified control.Methods 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, 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.Builderavoiding the need to create one manually viaFrameworkMappingDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCommonControlMappingDetails.builder().When the
Consumercompletes,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:
-