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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssessmentControl.BuilderassessmentReportEvidenceCount(Integer assessmentReportEvidenceCount)The amount of evidence in the assessment report.AssessmentControl.Buildercomments(Collection<ControlComment> comments)The list of comments that's attached to the control.AssessmentControl.Buildercomments(Consumer<ControlComment.Builder>... comments)The list of comments that's attached to the control.AssessmentControl.Buildercomments(ControlComment... comments)The list of comments that's attached to the control.AssessmentControl.Builderdescription(String description)The description of the control.AssessmentControl.BuilderevidenceCount(Integer evidenceCount)The amount of evidence that's collected for the control.AssessmentControl.BuilderevidenceSources(String... evidenceSources)The list of data sources for the evidence.AssessmentControl.BuilderevidenceSources(Collection<String> evidenceSources)The list of data sources for the evidence.AssessmentControl.Builderid(String id)The identifier for the control.AssessmentControl.Buildername(String name)The name of the control.AssessmentControl.Builderresponse(String response)The response of the control.AssessmentControl.Builderresponse(ControlResponse response)The response of the control.AssessmentControl.Builderstatus(String status)The status of the control.AssessmentControl.Builderstatus(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 Detail
-
id
AssessmentControl.Builder id(String 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
AssessmentControl.Builder name(String 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
AssessmentControl.Builder description(String 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
AssessmentControl.Builder status(String 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:
ControlStatus,ControlStatus
-
status
AssessmentControl.Builder status(ControlStatus 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:
ControlStatus,ControlStatus
-
response
AssessmentControl.Builder response(String 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:
ControlResponse,ControlResponse
-
response
AssessmentControl.Builder response(ControlResponse 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:
ControlResponse,ControlResponse
-
comments
AssessmentControl.Builder comments(Collection<ControlComment> 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
AssessmentControl.Builder comments(ControlComment... 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
AssessmentControl.Builder comments(Consumer<ControlComment.Builder>... comments)
The list of comments that's attached to the control.
This is a convenience method that creates an instance of theControlComment.Builderavoiding the need to create one manually viaControlComment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#comments(List.) - 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:
#comments(java.util.Collection)
-
evidenceSources
AssessmentControl.Builder evidenceSources(Collection<String> 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
AssessmentControl.Builder evidenceSources(String... 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
AssessmentControl.Builder evidenceCount(Integer 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
AssessmentControl.Builder assessmentReportEvidenceCount(Integer 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.
-
-