Interface ResourceComplianceSummaryItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceComplianceSummaryItem.Builder,
,ResourceComplianceSummaryItem> SdkBuilder<ResourceComplianceSummaryItem.Builder,
,ResourceComplianceSummaryItem> SdkPojo
- Enclosing class:
ResourceComplianceSummaryItem
-
Method Summary
Modifier and TypeMethodDescriptioncomplianceType
(String complianceType) The compliance type.compliantSummary
(Consumer<CompliantSummary.Builder> compliantSummary) A list of items that are compliant for the resource.compliantSummary
(CompliantSummary compliantSummary) A list of items that are compliant for the resource.executionSummary
(Consumer<ComplianceExecutionSummary.Builder> executionSummary) Information about the execution.executionSummary
(ComplianceExecutionSummary executionSummary) Information about the execution.nonCompliantSummary
(Consumer<NonCompliantSummary.Builder> nonCompliantSummary) A list of items that aren't compliant for the resource.nonCompliantSummary
(NonCompliantSummary nonCompliantSummary) A list of items that aren't compliant for the resource.overallSeverity
(String overallSeverity) The highest severity item found for the resource.overallSeverity
(ComplianceSeverity overallSeverity) The highest severity item found for the resource.resourceId
(String resourceId) The resource ID.resourceType
(String resourceType) The resource type.The compliance status for the resource.status
(ComplianceStatus status) The compliance status for the resource.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
-
complianceType
The compliance type.
- Parameters:
complianceType
- The compliance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The resource type.
- Parameters:
resourceType
- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The resource ID.
- Parameters:
resourceId
- The resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The compliance status for the resource.
- Parameters:
status
- The compliance status for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The compliance status for the resource.
- Parameters:
status
- The compliance status for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overallSeverity
The highest severity item found for the resource. The resource is compliant for this item.
- Parameters:
overallSeverity
- The highest severity item found for the resource. The resource is compliant for this item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overallSeverity
The highest severity item found for the resource. The resource is compliant for this item.
- Parameters:
overallSeverity
- The highest severity item found for the resource. The resource is compliant for this item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionSummary
Information about the execution.
- Parameters:
executionSummary
- Information about the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionSummary
default ResourceComplianceSummaryItem.Builder executionSummary(Consumer<ComplianceExecutionSummary.Builder> executionSummary) Information about the execution.
This is a convenience method that creates an instance of theComplianceExecutionSummary.Builder
avoiding the need to create one manually viaComplianceExecutionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutionSummary(ComplianceExecutionSummary)
.- Parameters:
executionSummary
- a consumer that will call methods onComplianceExecutionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compliantSummary
A list of items that are compliant for the resource.
- Parameters:
compliantSummary
- A list of items that are compliant for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compliantSummary
default ResourceComplianceSummaryItem.Builder compliantSummary(Consumer<CompliantSummary.Builder> compliantSummary) A list of items that are compliant for the resource.
This is a convenience method that creates an instance of theCompliantSummary.Builder
avoiding the need to create one manually viaCompliantSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompliantSummary(CompliantSummary)
.- Parameters:
compliantSummary
- a consumer that will call methods onCompliantSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nonCompliantSummary
A list of items that aren't compliant for the resource.
- Parameters:
nonCompliantSummary
- A list of items that aren't compliant for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nonCompliantSummary
default ResourceComplianceSummaryItem.Builder nonCompliantSummary(Consumer<NonCompliantSummary.Builder> nonCompliantSummary) A list of items that aren't compliant for the resource.
This is a convenience method that creates an instance of theNonCompliantSummary.Builder
avoiding the need to create one manually viaNonCompliantSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tononCompliantSummary(NonCompliantSummary)
.- Parameters:
nonCompliantSummary
- a consumer that will call methods onNonCompliantSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-