Interface ComplianceByResource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ComplianceByResource.Builder,,ComplianceByResource> SdkBuilder<ComplianceByResource.Builder,,ComplianceByResource> SdkPojo
- Enclosing class:
ComplianceByResource
public static interface ComplianceByResource.Builder
extends SdkPojo, CopyableBuilder<ComplianceByResource.Builder,ComplianceByResource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ComplianceByResource.Buildercompliance(Consumer<Compliance.Builder> compliance) Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.compliance(Compliance compliance) Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.resourceId(String resourceId) The ID of the Amazon Web Services resource that was evaluated.resourceType(String resourceType) The type of the Amazon Web Services resource that was evaluated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceType
The type of the Amazon Web Services resource that was evaluated.
- Parameters:
resourceType- The type of the Amazon Web Services resource that was evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The ID of the Amazon Web Services resource that was evaluated.
- Parameters:
resourceId- The ID of the Amazon Web Services resource that was evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compliance
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
- Parameters:
compliance- Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaCompliance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompliance(Compliance).- Parameters:
compliance- a consumer that will call methods onCompliance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-