@Generated(value="software.amazon.awssdk:codegen") public final class ComplianceByResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComplianceByResource.Builder,ComplianceByResource>
Indicates whether an AWS resource that is evaluated according to one or more AWS 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 AWS resource complies with all of the AWS 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 AWS resource that was evaluated.
|
String |
resourceType()
The type of the AWS 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 AWS resource that was evaluated.
public final String resourceId()
The ID of the AWS resource that was evaluated.
public final Compliance compliance()
Indicates whether the AWS resource complies with all of the AWS 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 © 2021. All rights reserved.