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
Modifier and TypeMethodDescriptionThe 12-digit Amazon Web Services account ID of the source account.The source Amazon Web Services Region from where the data is aggregated.compliance
(Consumer<AggregateConformancePackCompliance.Builder> compliance) The compliance status of the conformance pack.compliance
(AggregateConformancePackCompliance compliance) The compliance status of the conformance pack.conformancePackName
(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 Details
-
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.Builder
avoiding the need to create one manually viaAggregateConformancePackCompliance.builder()
.When the
Consumer
completes,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:
-
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
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.
-