@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComplianceByResource extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ComplianceByResource() |
Modifier and Type | Method and Description |
---|---|
ComplianceByResource |
clone() |
boolean |
equals(Object obj) |
Compliance |
getCompliance()
Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.
|
String |
getResourceId()
The ID of the AWS resource that was evaluated.
|
String |
getResourceType()
The type of the AWS resource that was evaluated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompliance(Compliance compliance)
Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.
|
void |
setResourceId(String resourceId)
The ID of the AWS resource that was evaluated.
|
void |
setResourceType(String resourceType)
The type of the AWS resource that was evaluated.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ComplianceByResource |
withCompliance(Compliance compliance)
Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.
|
ComplianceByResource |
withResourceId(String resourceId)
The ID of the AWS resource that was evaluated.
|
ComplianceByResource |
withResourceType(String resourceType)
The type of the AWS resource that was evaluated.
|
public void setResourceType(String resourceType)
The type of the AWS resource that was evaluated.
resourceType
- The type of the AWS resource that was evaluated.public String getResourceType()
The type of the AWS resource that was evaluated.
public ComplianceByResource withResourceType(String resourceType)
The type of the AWS resource that was evaluated.
resourceType
- The type of the AWS resource that was evaluated.public void setResourceId(String resourceId)
The ID of the AWS resource that was evaluated.
resourceId
- The ID of the AWS resource that was evaluated.public String getResourceId()
The ID of the AWS resource that was evaluated.
public ComplianceByResource withResourceId(String resourceId)
The ID of the AWS resource that was evaluated.
resourceId
- The ID of the AWS resource that was evaluated.public void setCompliance(Compliance compliance)
Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.
compliance
- Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.public Compliance getCompliance()
Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.
public ComplianceByResource withCompliance(Compliance compliance)
Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.
compliance
- Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.public String toString()
toString
in class Object
Object.toString()
public ComplianceByResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.