Interface CreateControlRequest.Builder
- All Superinterfaces:
AuditManagerRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateControlRequest.Builder,
,CreateControlRequest> SdkBuilder<CreateControlRequest.Builder,
,CreateControlRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateControlRequest
public static interface CreateControlRequest.Builder
extends AuditManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateControlRequest.Builder,CreateControlRequest>
-
Method Summary
Modifier and TypeMethodDescriptionactionPlanInstructions
(String actionPlanInstructions) The recommended actions to carry out if the control isn't fulfilled.actionPlanTitle
(String actionPlanTitle) The title of the action plan for remediating the control.controlMappingSources
(Collection<CreateControlMappingSource> controlMappingSources) The data mapping sources for the control.controlMappingSources
(Consumer<CreateControlMappingSource.Builder>... controlMappingSources) The data mapping sources for the control.controlMappingSources
(CreateControlMappingSource... controlMappingSources) The data mapping sources for the control.description
(String description) The description of the control.The name of the control.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags that are associated with the control.testingInformation
(String testingInformation) The steps to follow to determine if the control is satisfied.Methods inherited from interface software.amazon.awssdk.services.auditmanager.model.AuditManagerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
-
Method Details
-
name
The name of the control.
- Parameters:
name
- The name of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the control.
- Parameters:
description
- The description of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testingInformation
The steps to follow to determine if the control is satisfied.
- Parameters:
testingInformation
- The steps to follow to determine if the control is satisfied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionPlanTitle
The title of the action plan for remediating the control.
- Parameters:
actionPlanTitle
- The title of the action plan for remediating the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionPlanInstructions
The recommended actions to carry out if the control isn't fulfilled.
- Parameters:
actionPlanInstructions
- The recommended actions to carry out if the control isn't fulfilled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlMappingSources
CreateControlRequest.Builder controlMappingSources(Collection<CreateControlMappingSource> controlMappingSources) The data mapping sources for the control.
- Parameters:
controlMappingSources
- The data mapping sources for the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlMappingSources
CreateControlRequest.Builder controlMappingSources(CreateControlMappingSource... controlMappingSources) The data mapping sources for the control.
- Parameters:
controlMappingSources
- The data mapping sources for the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlMappingSources
CreateControlRequest.Builder controlMappingSources(Consumer<CreateControlMappingSource.Builder>... controlMappingSources) The data mapping sources for the control.
This is a convenience method that creates an instance of theCreateControlMappingSource.Builder
avoiding the need to create one manually viaCreateControlMappingSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontrolMappingSources(List<CreateControlMappingSource>)
.- Parameters:
controlMappingSources
- a consumer that will call methods onCreateControlMappingSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags that are associated with the control.
- Parameters:
tags
- The tags that are associated with the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateControlRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateControlRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-