@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComplianceByResource extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ComplianceByResource() |
Modifier and Type | Method and Description |
---|---|
ComplianceByResource |
clone() |
boolean |
equals(Object obj) |
Compliance |
getCompliance()
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
|
String |
getResourceId()
The ID of the Amazon Web Services resource that was evaluated.
|
String |
getResourceType()
The type of the Amazon Web Services 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 Amazon Web Services resource complies with all of the Config rules that evaluated it.
|
void |
setResourceId(String resourceId)
The ID of the Amazon Web Services resource that was evaluated.
|
void |
setResourceType(String resourceType)
The type of the Amazon Web Services resource that was evaluated.
|
String |
toString()
Returns a string representation of this object.
|
ComplianceByResource |
withCompliance(Compliance compliance)
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
|
ComplianceByResource |
withResourceId(String resourceId)
The ID of the Amazon Web Services resource that was evaluated.
|
ComplianceByResource |
withResourceType(String resourceType)
The type of the Amazon Web Services resource that was evaluated.
|
public void setResourceType(String resourceType)
The type of the Amazon Web Services resource that was evaluated.
resourceType
- The type of the Amazon Web Services resource that was evaluated.public String getResourceType()
The type of the Amazon Web Services resource that was evaluated.
public ComplianceByResource withResourceType(String resourceType)
The type of the Amazon Web Services resource that was evaluated.
resourceType
- The type of the Amazon Web Services resource that was evaluated.public void setResourceId(String resourceId)
The ID of the Amazon Web Services resource that was evaluated.
resourceId
- The ID of the Amazon Web Services resource that was evaluated.public String getResourceId()
The ID of the Amazon Web Services resource that was evaluated.
public ComplianceByResource withResourceId(String resourceId)
The ID of the Amazon Web Services resource that was evaluated.
resourceId
- The ID of the Amazon Web Services resource that was evaluated.public void setCompliance(Compliance compliance)
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
compliance
- Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated
it.public Compliance getCompliance()
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
public ComplianceByResource withCompliance(Compliance compliance)
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
compliance
- Indicates whether the Amazon Web Services resource complies with all of the 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.