Interface AggregateComplianceByConformancePack.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<AggregateComplianceByConformancePack.Builder,,- AggregateComplianceByConformancePack> - SdkBuilder<AggregateComplianceByConformancePack.Builder,,- AggregateComplianceByConformancePack> - SdkPojo
- Enclosing class:
- AggregateComplianceByConformancePack
@Mutable
@NotThreadSafe
public static interface AggregateComplianceByConformancePack.Builder
extends SdkPojo, CopyableBuilder<AggregateComplianceByConformancePack.Builder,AggregateComplianceByConformancePack> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
conformancePackNameThe 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.
 
- 
complianceAggregateComplianceByConformancePack.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.
 
- 
compliancedefault 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 on- AggregateConformancePackCompliance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accountIdThe 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.
 
- 
awsRegionThe 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.
 
 
-