public static interface Compliance.Builder extends SdkPojo, CopyableBuilder<Compliance.Builder,Compliance>
| Modifier and Type | Method and Description |
|---|---|
Compliance.Builder |
relatedRequirements(Collection<String> relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control.
|
Compliance.Builder |
relatedRequirements(String... relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control.
|
Compliance.Builder |
status(ComplianceStatus status)
The result of a standards check.
|
Compliance.Builder |
status(String status)
The result of a standards check.
|
Compliance.Builder |
statusReasons(Collection<StatusReason> statusReasons)
For findings generated from controls, a list of reasons behind the value of
Status. |
Compliance.Builder |
statusReasons(Consumer<StatusReason.Builder>... statusReasons)
For findings generated from controls, a list of reasons behind the value of
Status. |
Compliance.Builder |
statusReasons(StatusReason... statusReasons)
For findings generated from controls, a list of reasons behind the value of
Status. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCompliance.Builder status(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 AWS Config evaluation was NOT_APPLICABLE. If the AWS 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 AWS Config evaluation was NOT_APPLICABLE. If the AWS Config
evaluation result was NOT_APPLICABLE, then after 3 days, Security Hub automatically
archives the finding.
ComplianceStatus,
ComplianceStatusCompliance.Builder status(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 AWS Config evaluation was NOT_APPLICABLE. If the AWS 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 AWS Config evaluation was NOT_APPLICABLE. If the AWS Config
evaluation result was NOT_APPLICABLE, then after 3 days, Security Hub automatically
archives the finding.
ComplianceStatus,
ComplianceStatusCompliance.Builder relatedRequirements(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.Compliance.Builder relatedRequirements(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.Compliance.Builder statusReasons(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 AWS 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 AWS Security Hub User Guide.Compliance.Builder statusReasons(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 AWS 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 AWS Security Hub User Guide.Compliance.Builder statusReasons(Consumer<StatusReason.Builder>... 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 AWS Security Hub User Guide.
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #statusReasons(List) .statusReasons - a consumer that will call methods on List.Builder #statusReasons(List) Copyright © 2021. All rights reserved.