Interface UpdateControlRequest.Builder
- All Superinterfaces:
AssuranceRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateControlRequest.Builder,,UpdateControlRequest> SdkBuilder<UpdateControlRequest.Builder,,UpdateControlRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateControlRequest
-
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) The new description for 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 replacement set of requirements.requirements(Consumer<Requirement.Builder>... requirements) The replacement set of requirements.requirements(Requirement... requirements) The replacement set of requirements.The new 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 new display name for the control. Omit to leave it unchanged.
- Parameters:
title- The new display name for the control. Omit to leave it unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new description for the control. Omit to leave it unchanged.
- Parameters:
description- The new description for the control. Omit to leave it unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requirements
The replacement set of requirements. Supplying this replaces the control's existing requirements in full; omit to leave them unchanged.
- Parameters:
requirements- The replacement set of requirements. Supplying this replaces the control's existing requirements in full; omit to leave them unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requirements
The replacement set of requirements. Supplying this replaces the control's existing requirements in full; omit to leave them unchanged.
- Parameters:
requirements- The replacement set of requirements. Supplying this replaces the control's existing requirements in full; omit to leave them unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requirements
The replacement set of requirements. Supplying this replaces the control's existing requirements in full; omit to leave them unchanged.
This is a convenience method that creates an instance of theRequirement.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
UpdateControlRequest.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
UpdateControlRequest.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.
-