@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String resourceType()
The type of the AWS resource that was evaluated.
public String resourceId()
The ID of the AWS resource that was evaluated.
public Compliance compliance()
Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.
public ComplianceByResource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ComplianceByResource.Builder,ComplianceByResource>
public static ComplianceByResource.Builder builder()
public static Class<? extends ComplianceByResource.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.