Interface CreateAssessmentFrameworkRequest.Builder
- All Superinterfaces:
AuditManagerRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAssessmentFrameworkRequest.Builder,
,CreateAssessmentFrameworkRequest> SdkBuilder<CreateAssessmentFrameworkRequest.Builder,
,CreateAssessmentFrameworkRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAssessmentFrameworkRequest
public static interface CreateAssessmentFrameworkRequest.Builder
extends AuditManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateAssessmentFrameworkRequest.Builder,CreateAssessmentFrameworkRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncomplianceType
(String complianceType) The compliance type that the new custom framework supports, such as CIS or HIPAA.controlSets
(Collection<CreateAssessmentFrameworkControlSet> controlSets) The control sets that are associated with the framework.controlSets
(Consumer<CreateAssessmentFrameworkControlSet.Builder>... controlSets) The control sets that are associated with the framework.controlSets
(CreateAssessmentFrameworkControlSet... controlSets) The control sets that are associated with the framework.description
(String description) An optional description for the new custom framework.The name of the new custom framework.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 framework.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 new custom framework.
- Parameters:
name
- The name of the new custom framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An optional description for the new custom framework.
- Parameters:
description
- An optional description for the new custom framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceType
The compliance type that the new custom framework supports, such as CIS or HIPAA.
- Parameters:
complianceType
- The compliance type that the new custom framework supports, such as CIS or HIPAA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlSets
CreateAssessmentFrameworkRequest.Builder controlSets(Collection<CreateAssessmentFrameworkControlSet> controlSets) The control sets that are associated with the framework.
- Parameters:
controlSets
- The control sets that are associated with the framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlSets
CreateAssessmentFrameworkRequest.Builder controlSets(CreateAssessmentFrameworkControlSet... controlSets) The control sets that are associated with the framework.
- Parameters:
controlSets
- The control sets that are associated with the framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlSets
CreateAssessmentFrameworkRequest.Builder controlSets(Consumer<CreateAssessmentFrameworkControlSet.Builder>... controlSets) The control sets that are associated with the framework.
This is a convenience method that creates an instance of theCreateAssessmentFrameworkControlSet.Builder
avoiding the need to create one manually viaCreateAssessmentFrameworkControlSet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontrolSets(List<CreateAssessmentFrameworkControlSet>)
.- Parameters:
controlSets
- a consumer that will call methods onCreateAssessmentFrameworkControlSet.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 framework.
- Parameters:
tags
- The tags that are associated with the framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAssessmentFrameworkRequest.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
CreateAssessmentFrameworkRequest.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.
-