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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ComplianceByResource.Buildercompliance(Consumer<Compliance.Builder> compliance)Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.ComplianceByResource.Buildercompliance(Compliance compliance)Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.ComplianceByResource.BuilderresourceId(String resourceId)The ID of the Amazon Web Services resource that was evaluated.ComplianceByResource.BuilderresourceType(String resourceType)The type of the Amazon Web Services resource that was evaluated.-
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 Detail
-
resourceType
ComplianceByResource.Builder resourceType(String 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
ComplianceByResource.Builder resourceId(String 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
ComplianceByResource.Builder compliance(Compliance 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
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.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:
compliance(Compliance)
-
-