@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Resource extends Object implements Serializable, Cloneable, StructuredPojo
A system asset that's evaluated in an Audit Manager assessment.
Constructor and Description |
---|
Resource() |
Modifier and Type | Method and Description |
---|---|
Resource |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) for the resource.
|
String |
getComplianceCheck()
The evaluation status for a resource that was assessed when collecting compliance check evidence.
|
String |
getValue()
The value of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the resource.
|
void |
setComplianceCheck(String complianceCheck)
The evaluation status for a resource that was assessed when collecting compliance check evidence.
|
void |
setValue(String value)
The value of the resource.
|
String |
toString()
Returns a string representation of this object.
|
Resource |
withArn(String arn)
The Amazon Resource Name (ARN) for the resource.
|
Resource |
withComplianceCheck(String complianceCheck)
The evaluation status for a resource that was assessed when collecting compliance check evidence.
|
Resource |
withValue(String value)
The value of the resource.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) for the resource.
arn
- The Amazon Resource Name (ARN) for the resource.public String getArn()
The Amazon Resource Name (ARN) for the resource.
public Resource withArn(String arn)
The Amazon Resource Name (ARN) for the resource.
arn
- The Amazon Resource Name (ARN) for the resource.public void setValue(String value)
The value of the resource.
value
- The value of the resource.public String getValue()
The value of the resource.
public Resource withValue(String value)
The value of the resource.
value
- The value of the resource.public void setComplianceCheck(String complianceCheck)
The evaluation status for a resource that was assessed when collecting compliance check evidence.
Audit Manager classes the resource as non-compliant if Security Hub reports a Fail result, or if Config reports a Non-compliant result.
Audit Manager classes the resource as compliant if Security Hub reports a Pass result, or if Config reports a Compliant result.
If a compliance check isn't available or applicable, then no compliance evaluation can be made for that resource. This is the case if a resource assessment uses Config or Security Hub as the underlying data source type, but those services aren't enabled. This is also the case if the resource assessment uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).
complianceCheck
- The evaluation status for a resource that was assessed when collecting compliance check evidence.
Audit Manager classes the resource as non-compliant if Security Hub reports a Fail result, or if Config reports a Non-compliant result.
Audit Manager classes the resource as compliant if Security Hub reports a Pass result, or if Config reports a Compliant result.
If a compliance check isn't available or applicable, then no compliance evaluation can be made for that resource. This is the case if a resource assessment uses Config or Security Hub as the underlying data source type, but those services aren't enabled. This is also the case if the resource assessment uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).
public String getComplianceCheck()
The evaluation status for a resource that was assessed when collecting compliance check evidence.
Audit Manager classes the resource as non-compliant if Security Hub reports a Fail result, or if Config reports a Non-compliant result.
Audit Manager classes the resource as compliant if Security Hub reports a Pass result, or if Config reports a Compliant result.
If a compliance check isn't available or applicable, then no compliance evaluation can be made for that resource. This is the case if a resource assessment uses Config or Security Hub as the underlying data source type, but those services aren't enabled. This is also the case if the resource assessment uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).
Audit Manager classes the resource as non-compliant if Security Hub reports a Fail result, or if Config reports a Non-compliant result.
Audit Manager classes the resource as compliant if Security Hub reports a Pass result, or if Config reports a Compliant result.
If a compliance check isn't available or applicable, then no compliance evaluation can be made for that resource. This is the case if a resource assessment uses Config or Security Hub as the underlying data source type, but those services aren't enabled. This is also the case if the resource assessment uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).
public Resource withComplianceCheck(String complianceCheck)
The evaluation status for a resource that was assessed when collecting compliance check evidence.
Audit Manager classes the resource as non-compliant if Security Hub reports a Fail result, or if Config reports a Non-compliant result.
Audit Manager classes the resource as compliant if Security Hub reports a Pass result, or if Config reports a Compliant result.
If a compliance check isn't available or applicable, then no compliance evaluation can be made for that resource. This is the case if a resource assessment uses Config or Security Hub as the underlying data source type, but those services aren't enabled. This is also the case if the resource assessment uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).
complianceCheck
- The evaluation status for a resource that was assessed when collecting compliance check evidence.
Audit Manager classes the resource as non-compliant if Security Hub reports a Fail result, or if Config reports a Non-compliant result.
Audit Manager classes the resource as compliant if Security Hub reports a Pass result, or if Config reports a Compliant result.
If a compliance check isn't available or applicable, then no compliance evaluation can be made for that resource. This is the case if a resource assessment uses Config or Security Hub as the underlying data source type, but those services aren't enabled. This is also the case if the resource assessment uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.