Interface AggregateComplianceByConformancePack.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AggregateComplianceByConformancePack.Builder,AggregateComplianceByConformancePack>,SdkBuilder<AggregateComplianceByConformancePack.Builder,AggregateComplianceByConformancePack>,SdkPojo
- Enclosing class:
- AggregateComplianceByConformancePack
public static interface AggregateComplianceByConformancePack.Builder extends SdkPojo, CopyableBuilder<AggregateComplianceByConformancePack.Builder,AggregateComplianceByConformancePack>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AggregateComplianceByConformancePack.BuilderaccountId(String accountId)The 12-digit Amazon Web Services account ID of the source account.AggregateComplianceByConformancePack.BuilderawsRegion(String awsRegion)The source Amazon Web Services Region from where the data is aggregated.default AggregateComplianceByConformancePack.Buildercompliance(Consumer<AggregateConformancePackCompliance.Builder> compliance)The compliance status of the conformance pack.AggregateComplianceByConformancePack.Buildercompliance(AggregateConformancePackCompliance compliance)The compliance status of the conformance pack.AggregateComplianceByConformancePack.BuilderconformancePackName(String conformancePackName)The name of the conformance pack.-
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
-
conformancePackName
AggregateComplianceByConformancePack.Builder conformancePackName(String conformancePackName)
The name of the conformance pack.
- Parameters:
conformancePackName- The name of the conformance pack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compliance
AggregateComplianceByConformancePack.Builder compliance(AggregateConformancePackCompliance compliance)
The compliance status of the conformance pack.
- Parameters:
compliance- The compliance status of the conformance pack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compliance
default AggregateComplianceByConformancePack.Builder compliance(Consumer<AggregateConformancePackCompliance.Builder> compliance)
The compliance status of the conformance pack.
This is a convenience method that creates an instance of theAggregateConformancePackCompliance.Builderavoiding the need to create one manually viaAggregateConformancePackCompliance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompliance(AggregateConformancePackCompliance).- Parameters:
compliance- a consumer that will call methods onAggregateConformancePackCompliance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
compliance(AggregateConformancePackCompliance)
-
accountId
AggregateComplianceByConformancePack.Builder accountId(String accountId)
The 12-digit Amazon Web Services account ID of the source account.
- Parameters:
accountId- The 12-digit Amazon Web Services account ID of the source account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsRegion
AggregateComplianceByConformancePack.Builder awsRegion(String awsRegion)
The source Amazon Web Services Region from where the data is aggregated.
- Parameters:
awsRegion- The source Amazon Web Services Region from where the data is aggregated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-