Interface AggregateComplianceByConfigRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AggregateComplianceByConfigRule.Builder,
,AggregateComplianceByConfigRule> SdkBuilder<AggregateComplianceByConfigRule.Builder,
,AggregateComplianceByConfigRule> SdkPojo
- Enclosing class:
AggregateComplianceByConfigRule
public static interface AggregateComplianceByConfigRule.Builder
extends SdkPojo, CopyableBuilder<AggregateComplianceByConfigRule.Builder,AggregateComplianceByConfigRule>
-
Method Summary
Modifier and TypeMethodDescriptionThe 12-digit account ID of the source account.The source region from where the data is aggregated.compliance
(Consumer<Compliance.Builder> compliance) Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.compliance
(Compliance compliance) Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.configRuleName
(String configRuleName) The name of the Config rule.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
-
configRuleName
The name of the Config rule.
- Parameters:
configRuleName
- The name of the Config rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compliance
Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.
- Parameters:
compliance
- Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compliance
Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.
This is a convenience method that creates an instance of theCompliance.Builder
avoiding the need to create one manually viaCompliance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompliance(Compliance)
.- Parameters:
compliance
- a consumer that will call methods onCompliance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountId
The 12-digit account ID of the source account.
- Parameters:
accountId
- The 12-digit account ID of the source account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsRegion
The source region from where the data is aggregated.
- Parameters:
awsRegion
- The source region from where the data is aggregated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-