public static interface ComplianceByResource.Builder extends CopyableBuilder<ComplianceByResource.Builder,ComplianceByResource>
Modifier and Type | Method and Description |
---|---|
ComplianceByResource.Builder |
compliance(Compliance compliance)
Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.
|
default ComplianceByResource.Builder |
compliance(Consumer<Compliance.Builder> compliance)
Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.
|
ComplianceByResource.Builder |
resourceId(String resourceId)
The ID of the AWS resource that was evaluated.
|
ComplianceByResource.Builder |
resourceType(String resourceType)
The type of the AWS resource that was evaluated.
|
copy
applyMutation, build
ComplianceByResource.Builder resourceType(String resourceType)
The type of the AWS resource that was evaluated.
resourceType
- The type of the AWS resource that was evaluated.ComplianceByResource.Builder resourceId(String resourceId)
The ID of the AWS resource that was evaluated.
resourceId
- The ID of the AWS resource that was evaluated.ComplianceByResource.Builder compliance(Compliance compliance)
Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.
compliance
- Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.default ComplianceByResource.Builder compliance(Consumer<Compliance.Builder> compliance)
Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.
This is a convenience 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.Builder
compliance(Compliance)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.