Interface CreateControlRequest.Builder
- All Superinterfaces:
AssuranceRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateControlRequest.Builder,,CreateControlRequest> SdkBuilder<CreateControlRequest.Builder,,CreateControlRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateControlRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe control identifier.controlIntents(String... controlIntents) The technical control intents that classify how an assessment evaluates this leaf control.controlIntents(Collection<String> controlIntents) The technical control intents that classify how an assessment evaluates this leaf control.description(String description) A description of the control.displayOrder(Integer displayOrder) The ordering key that determines the display sequence within the framework.environmentArn(String environmentArn) The ARN of this governance environment.The name of the compliance framework.frameworkVersion(String frameworkVersion) The version of the compliance framework.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parentControlId(String parentControlId) The identifier of the parent control group.requirements(Collection<Requirement> requirements) The individual checks an assessment scores for this control.requirements(Consumer<Requirement.Builder>... requirements) The individual checks an assessment scores for this control.requirements(Requirement... requirements) The individual checks an assessment scores for this control.The display name for the control.workflowType(String workflowType) The optional evaluation workflow type.workflowType(WorkflowType workflowType) The optional evaluation workflow type.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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
-
environmentArn
The ARN of this governance environment.
- Parameters:
environmentArn- The ARN of this governance environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
framework
The name of the compliance framework.
- Parameters:
framework- The name of the compliance framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameworkVersion
The version of the compliance framework.
- Parameters:
frameworkVersion- The version of the compliance framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlId
The control identifier. Optional. If omitted, the operation applies to the full framework.
- Parameters:
controlId- The control identifier. Optional. If omitted, the operation applies to the full framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentControlId
The identifier of the parent control group.
- Parameters:
parentControlId- The identifier of the parent control group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The display name for the control.
- Parameters:
title- The display name for the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the control.
- Parameters:
description- A description of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requirements
The individual checks an assessment scores for this control. Assign each one an
idthat findings, assessment results, and remediation tasks reference.- Parameters:
requirements- The individual checks an assessment scores for this control. Assign each one anidthat findings, assessment results, and remediation tasks reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requirements
The individual checks an assessment scores for this control. Assign each one an
idthat findings, assessment results, and remediation tasks reference.- Parameters:
requirements- The individual checks an assessment scores for this control. Assign each one anidthat findings, assessment results, and remediation tasks reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requirements
The individual checks an assessment scores for this control. Assign each one an
This is a convenience method that creates an instance of theidthat findings, assessment results, and remediation tasks reference.Requirement.Builderavoiding the need to create one manually viaRequirement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequirements(List<Requirement>).- Parameters:
requirements- a consumer that will call methods onRequirement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayOrder
The ordering key that determines the display sequence within the framework.
- Parameters:
displayOrder- The ordering key that determines the display sequence within the framework.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlIntents
The technical control intents that classify how an assessment evaluates this leaf control. Supplying at least one intent makes the control eligible for automated scanning. Leaf controls only.
- Parameters:
controlIntents- The technical control intents that classify how an assessment evaluates this leaf control. Supplying at least one intent makes the control eligible for automated scanning. Leaf controls only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlIntents
The technical control intents that classify how an assessment evaluates this leaf control. Supplying at least one intent makes the control eligible for automated scanning. Leaf controls only.
- Parameters:
controlIntents- The technical control intents that classify how an assessment evaluates this leaf control. Supplying at least one intent makes the control eligible for automated scanning. Leaf controls only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowType
The optional evaluation workflow type. When omitted and controlIntents are present, the service defaults this to automated-scan. Leaf controls only.
- Parameters:
workflowType- The optional evaluation workflow type. When omitted and controlIntents are present, the service defaults this to automated-scan. Leaf controls only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workflowType
The optional evaluation workflow type. When omitted and controlIntents are present, the service defaults this to automated-scan. Leaf controls only.
- Parameters:
workflowType- The optional evaluation workflow type. When omitted and controlIntents are present, the service defaults this to automated-scan. Leaf controls only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateControlRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-