@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Compliance extends Object implements Serializable, Cloneable, StructuredPojo
Contains finding details that are specific to control-based findings. Only returned for findings generated from controls.
| Constructor and Description |
|---|
Compliance() |
| Modifier and Type | Method and Description |
|---|---|
Compliance |
clone() |
boolean |
equals(Object obj) |
List<String> |
getRelatedRequirements()
For a control, the industry or regulatory framework requirements that are related to the control.
|
String |
getStatus()
The result of a standards check.
|
List<StatusReason> |
getStatusReasons()
For findings generated from controls, a list of reasons behind the value of
Status. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRelatedRequirements(Collection<String> relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control.
|
void |
setStatus(String status)
The result of a standards check.
|
void |
setStatusReasons(Collection<StatusReason> statusReasons)
For findings generated from controls, a list of reasons behind the value of
Status. |
String |
toString()
Returns a string representation of this object.
|
Compliance |
withRelatedRequirements(Collection<String> relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control.
|
Compliance |
withRelatedRequirements(String... relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control.
|
Compliance |
withStatus(ComplianceStatus status)
The result of a standards check.
|
Compliance |
withStatus(String status)
The result of a standards check.
|
Compliance |
withStatusReasons(Collection<StatusReason> statusReasons)
For findings generated from controls, a list of reasons behind the value of
Status. |
Compliance |
withStatusReasons(StatusReason... statusReasons)
For findings generated from controls, a list of reasons behind the value of
Status. |
public void setStatus(String status)
The result of a standards check.
The valid values for Status are as follows.
PASSED - Standards check passed for all evaluated resources.
WARNING - Some information is missing or this check is not supported for your configuration.
FAILED - Standards check failed for at least one evaluated resource.
NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the
result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was
NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.
status - The result of a standards check.
The valid values for Status are as follows.
PASSED - Standards check passed for all evaluated resources.
WARNING - Some information is missing or this check is not supported for your configuration.
FAILED - Standards check failed for at least one evaluated resource.
NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because
the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was
NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.
ComplianceStatuspublic String getStatus()
The result of a standards check.
The valid values for Status are as follows.
PASSED - Standards check passed for all evaluated resources.
WARNING - Some information is missing or this check is not supported for your configuration.
FAILED - Standards check failed for at least one evaluated resource.
NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the
result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was
NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.
The valid values for Status are as follows.
PASSED - Standards check passed for all evaluated resources.
WARNING - Some information is missing or this check is not supported for your configuration.
FAILED - Standards check failed for at least one evaluated resource.
NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because
the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was
NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.
ComplianceStatuspublic Compliance withStatus(String status)
The result of a standards check.
The valid values for Status are as follows.
PASSED - Standards check passed for all evaluated resources.
WARNING - Some information is missing or this check is not supported for your configuration.
FAILED - Standards check failed for at least one evaluated resource.
NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the
result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was
NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.
status - The result of a standards check.
The valid values for Status are as follows.
PASSED - Standards check passed for all evaluated resources.
WARNING - Some information is missing or this check is not supported for your configuration.
FAILED - Standards check failed for at least one evaluated resource.
NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because
the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was
NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.
ComplianceStatuspublic Compliance withStatus(ComplianceStatus status)
The result of a standards check.
The valid values for Status are as follows.
PASSED - Standards check passed for all evaluated resources.
WARNING - Some information is missing or this check is not supported for your configuration.
FAILED - Standards check failed for at least one evaluated resource.
NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the
result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was
NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.
status - The result of a standards check.
The valid values for Status are as follows.
PASSED - Standards check passed for all evaluated resources.
WARNING - Some information is missing or this check is not supported for your configuration.
FAILED - Standards check failed for at least one evaluated resource.
NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because
the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was
NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.
ComplianceStatuspublic List<String> getRelatedRequirements()
For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.
public void setRelatedRequirements(Collection<String> relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.
relatedRequirements - For a control, the industry or regulatory framework requirements that are related to the control. The
check for that control is aligned with these requirements.public Compliance withRelatedRequirements(String... relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.
NOTE: This method appends the values to the existing list (if any). Use
setRelatedRequirements(java.util.Collection) or withRelatedRequirements(java.util.Collection)
if you want to override the existing values.
relatedRequirements - For a control, the industry or regulatory framework requirements that are related to the control. The
check for that control is aligned with these requirements.public Compliance withRelatedRequirements(Collection<String> relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.
relatedRequirements - For a control, the industry or regulatory framework requirements that are related to the control. The
check for that control is aligned with these requirements.public List<StatusReason> getStatusReasons()
For findings generated from controls, a list of reasons behind the value of Status. For the list of
status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
Status. For the
list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.public void setStatusReasons(Collection<StatusReason> statusReasons)
For findings generated from controls, a list of reasons behind the value of Status. For the list of
status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
statusReasons - For findings generated from controls, a list of reasons behind the value of Status. For the
list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.public Compliance withStatusReasons(StatusReason... statusReasons)
For findings generated from controls, a list of reasons behind the value of Status. For the list of
status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setStatusReasons(java.util.Collection) or withStatusReasons(java.util.Collection) if you want
to override the existing values.
statusReasons - For findings generated from controls, a list of reasons behind the value of Status. For the
list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.public Compliance withStatusReasons(Collection<StatusReason> statusReasons)
For findings generated from controls, a list of reasons behind the value of Status. For the list of
status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
statusReasons - For findings generated from controls, a list of reasons behind the value of Status. For the
list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.public String toString()
toString in class ObjectObject.toString()public Compliance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.