Class ComplianceByResource
- java.lang.Object
-
- software.amazon.awssdk.services.config.model.ComplianceByResource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ComplianceByResource.Builder,ComplianceByResource>
@Generated("software.amazon.awssdk:codegen") public final class ComplianceByResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComplianceByResource.Builder,ComplianceByResource>
Indicates whether an Amazon Web Services resource that is evaluated according to one or more Config rules is compliant. A resource is compliant if it complies with all of the rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceComplianceByResource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComplianceByResource.Builderbuilder()Compliancecompliance()Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceId()The ID of the Amazon Web Services resource that was evaluated.StringresourceType()The type of the Amazon Web Services resource that was evaluated.List<SdkField<?>>sdkFields()static Class<? extends ComplianceByResource.Builder>serializableBuilderClass()ComplianceByResource.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceType
public final String resourceType()
The type of the Amazon Web Services resource that was evaluated.
- Returns:
- The type of the Amazon Web Services resource that was evaluated.
-
resourceId
public final String resourceId()
The ID of the Amazon Web Services resource that was evaluated.
- Returns:
- The ID of the Amazon Web Services resource that was evaluated.
-
compliance
public final Compliance compliance()
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
- Returns:
- Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
-
toBuilder
public ComplianceByResource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ComplianceByResource.Builder,ComplianceByResource>
-
builder
public static ComplianceByResource.Builder builder()
-
serializableBuilderClass
public static Class<? extends ComplianceByResource.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-