Interface ControlInsightsMetadataByAssessmentItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ControlInsightsMetadataByAssessmentItem.Builder,
,ControlInsightsMetadataByAssessmentItem> SdkBuilder<ControlInsightsMetadataByAssessmentItem.Builder,
,ControlInsightsMetadataByAssessmentItem> SdkPojo
- Enclosing class:
ControlInsightsMetadataByAssessmentItem
@Mutable
@NotThreadSafe
public static interface ControlInsightsMetadataByAssessmentItem.Builder
extends SdkPojo, CopyableBuilder<ControlInsightsMetadataByAssessmentItem.Builder,ControlInsightsMetadataByAssessmentItem>
-
Method Summary
Modifier and TypeMethodDescriptioncontrolSetName
(String controlSetName) The name of the control set that the assessment control belongs to.evidenceInsights
(Consumer<EvidenceInsights.Builder> evidenceInsights) A breakdown of the compliance check status for the evidence that’s associated with the assessment control.evidenceInsights
(EvidenceInsights evidenceInsights) A breakdown of the compliance check status for the evidence that’s associated with the assessment control.The unique identifier for the assessment control.lastUpdated
(Instant lastUpdated) The time when the assessment control insights were last updated.The name of the assessment 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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the assessment control.
- Parameters:
name
- The name of the assessment control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier for the assessment control.
- Parameters:
id
- The unique identifier for the assessment control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidenceInsights
A breakdown of the compliance check status for the evidence that’s associated with the assessment control.
- Parameters:
evidenceInsights
- A breakdown of the compliance check status for the evidence that’s associated with the assessment control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidenceInsights
default ControlInsightsMetadataByAssessmentItem.Builder evidenceInsights(Consumer<EvidenceInsights.Builder> evidenceInsights) A breakdown of the compliance check status for the evidence that’s associated with the assessment control.
This is a convenience method that creates an instance of theEvidenceInsights.Builder
avoiding the need to create one manually viaEvidenceInsights.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevidenceInsights(EvidenceInsights)
.- Parameters:
evidenceInsights
- a consumer that will call methods onEvidenceInsights.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
controlSetName
The name of the control set that the assessment control belongs to.
- Parameters:
controlSetName
- The name of the control set that the assessment control belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdated
The time when the assessment control insights were last updated.
- Parameters:
lastUpdated
- The time when the assessment control insights were last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-