Interface AssessmentControl.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssessmentControl.Builder,
,AssessmentControl> SdkBuilder<AssessmentControl.Builder,
,AssessmentControl> SdkPojo
- Enclosing class:
AssessmentControl
public static interface AssessmentControl.Builder
extends SdkPojo, CopyableBuilder<AssessmentControl.Builder,AssessmentControl>
-
Method Summary
Modifier and TypeMethodDescriptionassessmentReportEvidenceCount
(Integer assessmentReportEvidenceCount) The amount of evidence in the assessment report.comments
(Collection<ControlComment> comments) The list of comments that's attached to the control.comments
(Consumer<ControlComment.Builder>... comments) The list of comments that's attached to the control.comments
(ControlComment... comments) The list of comments that's attached to the control.description
(String description) The description of the control.evidenceCount
(Integer evidenceCount) The amount of evidence that's collected for the control.evidenceSources
(String... evidenceSources) The list of data sources for the evidence.evidenceSources
(Collection<String> evidenceSources) The list of data sources for the evidence.The identifier for the control.The name of the control.The response of the control.response
(ControlResponse response) The response of the control.The status of the control.status
(ControlStatus status) The status of the control.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
-
id
The identifier for the control.
- Parameters:
id
- The identifier for the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
status
The status of the control.
- Parameters:
status
- The status of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the control.
- Parameters:
status
- The status of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
response
The response of the control.
- Parameters:
response
- The response of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
response
The response of the control.
- Parameters:
response
- The response of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
comments
The list of comments that's attached to the control.
- Parameters:
comments
- The list of comments that's attached to the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comments
The list of comments that's attached to the control.
- Parameters:
comments
- The list of comments that's attached to the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comments
The list of comments that's attached to the control.
This is a convenience method that creates an instance of theControlComment.Builder
avoiding the need to create one manually viaControlComment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomments(List<ControlComment>)
.- Parameters:
comments
- a consumer that will call methods onControlComment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evidenceSources
The list of data sources for the evidence.
- Parameters:
evidenceSources
- The list of data sources for the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidenceSources
The list of data sources for the evidence.
- Parameters:
evidenceSources
- The list of data sources for the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidenceCount
The amount of evidence that's collected for the control.
- Parameters:
evidenceCount
- The amount of evidence that's collected for the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentReportEvidenceCount
The amount of evidence in the assessment report.
- Parameters:
assessmentReportEvidenceCount
- The amount of evidence in the assessment report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-