@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ComplianceByResource.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ComplianceByResource.Builder |
builder() |
Compliance |
compliance()
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceId()
The ID of the Amazon Web Services resource that was evaluated.
|
String |
resourceType()
The type of the Amazon Web Services resource that was evaluated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ComplianceByResource.Builder> |
serializableBuilderClass() |
ComplianceByResource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceType()
The type of the Amazon Web Services resource that was evaluated.
public final String resourceId()
The ID of the Amazon Web Services resource that was evaluated.
public final Compliance compliance()
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
public ComplianceByResource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ComplianceByResource.Builder,ComplianceByResource>public static ComplianceByResource.Builder builder()
public static Class<? extends ComplianceByResource.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.