public static interface ComplianceByResource.Builder extends SdkPojo, CopyableBuilder<ComplianceByResource.Builder,ComplianceByResource>
| Modifier and Type | Method and Description |
|---|---|
ComplianceByResource.Builder |
compliance(Compliance compliance)
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
|
default ComplianceByResource.Builder |
compliance(Consumer<Compliance.Builder> compliance)
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
|
ComplianceByResource.Builder |
resourceId(String resourceId)
The ID of the Amazon Web Services resource that was evaluated.
|
ComplianceByResource.Builder |
resourceType(String resourceType)
The type of the Amazon Web Services resource that was evaluated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComplianceByResource.Builder resourceType(String resourceType)
The type of the Amazon Web Services resource that was evaluated.
resourceType - The type of the Amazon Web Services resource that was evaluated.ComplianceByResource.Builder resourceId(String resourceId)
The ID of the Amazon Web Services resource that was evaluated.
resourceId - The ID of the Amazon Web Services resource that was evaluated.ComplianceByResource.Builder compliance(Compliance compliance)
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
compliance - Indicates whether the Amazon Web Services resource complies with all of the Config rules that
evaluated it.default ComplianceByResource.Builder compliance(Consumer<Compliance.Builder> compliance)
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
This is a convenience method that creates an instance of theCompliance.Builder avoiding the need to
create one manually via Compliance.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to compliance(Compliance).
compliance - a consumer that will call methods on Compliance.Buildercompliance(Compliance)Copyright © 2023. All rights reserved.