Interface Control.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Control.Builder,,Control> SdkBuilder<Control.Builder,,Control> SdkPojo
- Enclosing class:
Control
-
Method Summary
Modifier and TypeMethodDescriptionThe control identifier.controlIntents(String... controlIntents) The technical control intents classify how an assessment evaluates this leaf control.controlIntents(Collection<String> controlIntents) The technical control intents classify how an assessment evaluates this leaf control.The time when you created the control.description(String description) A description of the control.The name of the compliance framework.frameworkVersion(String frameworkVersion) The version of the compliance framework.The parent group ID (for example, "A.2" for control "A.2.2").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 lifecycle status of the control.status(ReleaseStatus status) The lifecycle status of the control.The human-readable title of the control.The type of the control.type(ControlType type) The type of the control.The time when the control was last modified.workflowType(String workflowType) How AWS Assurance evaluates the control.workflowType(WorkflowType workflowType) How AWS Assurance evaluates the control.Methods 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
-
type
The type of the control.
- Parameters:
type- The type of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the control.
- Parameters:
type- The type of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.
-
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.
-
groupId
The parent group ID (for example, "A.2" for control "A.2.2").
- Parameters:
groupId- The parent group ID (for example, "A.2" for control "A.2.2").- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The human-readable title of the control.
- Parameters:
title- The human-readable title of 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. Absent when the control has none.
- Parameters:
requirements- The individual checks an assessment scores for this control. Absent when the control has none.- 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. Absent when the control has none.
- Parameters:
requirements- The individual checks an assessment scores for this control. Absent when the control has none.- 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. Absent when the control has none.
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:
-
controlIntents
The technical control intents classify how an assessment evaluates this leaf control. Leaf controls only.
- Parameters:
controlIntents- The technical control intents classify how an assessment evaluates this leaf control. Leaf controls only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlIntents
The technical control intents classify how an assessment evaluates this leaf control. Leaf controls only.
- Parameters:
controlIntents- The technical control intents classify how an assessment evaluates this leaf control. Leaf controls only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowType
How AWS Assurance evaluates the control. Applies only to leaf controls. Valid values:
-
automated-scan– Evaluates the configuration of your AWS resources. -
document– Evaluates the evidence documents that you provide. -
hybrid– Evaluates both resource configuration and evidence documents.
- Parameters:
workflowType- How AWS Assurance evaluates the control. Applies only to leaf controls. Valid values:-
automated-scan– Evaluates the configuration of your AWS resources. -
document– Evaluates the evidence documents that you provide. -
hybrid– Evaluates both resource configuration and evidence documents.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
workflowType
How AWS Assurance evaluates the control. Applies only to leaf controls. Valid values:
-
automated-scan– Evaluates the configuration of your AWS resources. -
document– Evaluates the evidence documents that you provide. -
hybrid– Evaluates both resource configuration and evidence documents.
- Parameters:
workflowType- How AWS Assurance evaluates the control. Applies only to leaf controls. Valid values:-
automated-scan– Evaluates the configuration of your AWS resources. -
document– Evaluates the evidence documents that you provide. -
hybrid– Evaluates both resource configuration and evidence documents.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The lifecycle status of the control.
- Parameters:
status- The lifecycle status of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The lifecycle status of the control.
- Parameters:
status- The lifecycle status of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time when you created the control. The response includes it only for controls in custom frameworks.
- Parameters:
createdAt- The time when you created the control. The response includes it only for controls in custom frameworks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time when the control was last modified. Returned for controls in custom frameworks only.
- Parameters:
updatedAt- The time when the control was last modified. Returned for controls in custom frameworks only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-