@Generated(value="software.amazon.awssdk:codegen") public class ComplianceByResource extends Object implements StructuredPojo, 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, and it 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
resourceId()
The ID of the AWS resource that was evaluated.
|
String |
resourceType()
The type of the AWS resource that was evaluated.
|
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.