Interface ControlMapping.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ControlMapping.Builder,
,ControlMapping> SdkBuilder<ControlMapping.Builder,
,ControlMapping> SdkPojo
- Enclosing class:
ControlMapping
@Mutable
@NotThreadSafe
public static interface ControlMapping.Builder
extends SdkPojo, CopyableBuilder<ControlMapping.Builder,ControlMapping>
-
Method Summary
Modifier and TypeMethodDescriptioncontrolArn
(String controlArn) The Amazon Resource Name (ARN) that identifies the control in the mapping.default ControlMapping.Builder
mapping
(Consumer<Mapping.Builder> mapping) The details of the mapping relationship, containing either framework or common control information.The details of the mapping relationship, containing either framework or common control information.mappingType
(String mappingType) The type of mapping relationship between the control and other entities.mappingType
(MappingType mappingType) The type of mapping relationship between the control and other entities.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
-
controlArn
The Amazon Resource Name (ARN) that identifies the control in the mapping.
- Parameters:
controlArn
- The Amazon Resource Name (ARN) that identifies the control in the mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mappingType
The type of mapping relationship between the control and other entities. Indicates whether the mapping is to a framework or common control.
- Parameters:
mappingType
- The type of mapping relationship between the control and other entities. Indicates whether the mapping is to a framework or common control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mappingType
The type of mapping relationship between the control and other entities. Indicates whether the mapping is to a framework or common control.
- Parameters:
mappingType
- The type of mapping relationship between the control and other entities. Indicates whether the mapping is to a framework or common control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mapping
The details of the mapping relationship, containing either framework or common control information.
- Parameters:
mapping
- The details of the mapping relationship, containing either framework or common control information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mapping
The details of the mapping relationship, containing either framework or common control information.
This is a convenience method that creates an instance of theMapping.Builder
avoiding the need to create one manually viaMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomapping(Mapping)
.- Parameters:
mapping
- a consumer that will call methods onMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-