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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AggregateComplianceByConfigRule.BuilderaccountId(String accountId)The 12-digit account ID of the source account.AggregateComplianceByConfigRule.BuilderawsRegion(String awsRegion)The source region from where the data is aggregated.default AggregateComplianceByConfigRule.Buildercompliance(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.AggregateComplianceByConfigRule.Buildercompliance(Compliance compliance)Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.AggregateComplianceByConfigRule.BuilderconfigRuleName(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 Detail
-
configRuleName
AggregateComplianceByConfigRule.Builder configRuleName(String 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
AggregateComplianceByConfigRule.Builder 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.
- 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
default AggregateComplianceByConfigRule.Builder 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.
This is a convenience method that creates an instance of theCompliance.Builderavoiding the need to create one manually viaCompliance.builder().When the
Consumercompletes,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:
compliance(Compliance)
-
accountId
AggregateComplianceByConfigRule.Builder accountId(String 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
AggregateComplianceByConfigRule.Builder awsRegion(String 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.
-
-