Interface ControlInsightsMetadataItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ControlInsightsMetadataItem.Builder,
,ControlInsightsMetadataItem> SdkBuilder<ControlInsightsMetadataItem.Builder,
,ControlInsightsMetadataItem> SdkPojo
- Enclosing class:
ControlInsightsMetadataItem
public static interface ControlInsightsMetadataItem.Builder
extends SdkPojo, CopyableBuilder<ControlInsightsMetadataItem.Builder,ControlInsightsMetadataItem>
-
Method Summary
Modifier and TypeMethodDescriptionevidenceInsights
(Consumer<EvidenceInsights.Builder> evidenceInsights) A breakdown of the compliance check status for the evidence that’s associated with the control.evidenceInsights
(EvidenceInsights evidenceInsights) A breakdown of the compliance check status for the evidence that’s associated with the control.The unique identifier for the control.lastUpdated
(Instant lastUpdated) The time when the control insights were last updated.The name 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
-
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.
-
id
The unique identifier for the control.
- Parameters:
id
- The unique identifier for the 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 control.
- Parameters:
evidenceInsights
- A breakdown of the compliance check status for the evidence that’s associated with the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidenceInsights
default ControlInsightsMetadataItem.Builder evidenceInsights(Consumer<EvidenceInsights.Builder> evidenceInsights) A breakdown of the compliance check status for the evidence that’s associated with the 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:
-
lastUpdated
The time when the control insights were last updated.
- Parameters:
lastUpdated
- The time when the control insights were last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-