Interface AuditCheckDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AuditCheckDetails.Builder,AuditCheckDetails>,SdkBuilder<AuditCheckDetails.Builder,AuditCheckDetails>,SdkPojo
- Enclosing class:
- AuditCheckDetails
public static interface AuditCheckDetails.Builder extends SdkPojo, CopyableBuilder<AuditCheckDetails.Builder,AuditCheckDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuditCheckDetails.BuildercheckCompliant(Boolean checkCompliant)True if the check is complete and found all resources compliant.AuditCheckDetails.BuildercheckRunStatus(String checkRunStatus)The completion status of this check.AuditCheckDetails.BuildercheckRunStatus(AuditCheckRunStatus checkRunStatus)The completion status of this check.AuditCheckDetails.BuildererrorCode(String errorCode)The code of any error encountered when this check is performed during this audit.AuditCheckDetails.Buildermessage(String message)The message associated with any error encountered when this check is performed during this audit.AuditCheckDetails.BuildernonCompliantResourcesCount(Long nonCompliantResourcesCount)The number of resources that were found noncompliant during the check.AuditCheckDetails.BuildersuppressedNonCompliantResourcesCount(Long suppressedNonCompliantResourcesCount)Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.AuditCheckDetails.BuildertotalResourcesCount(Long totalResourcesCount)The number of resources on which the check was performed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
checkRunStatus
AuditCheckDetails.Builder checkRunStatus(String checkRunStatus)
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
- Parameters:
checkRunStatus- The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuditCheckRunStatus,AuditCheckRunStatus
-
checkRunStatus
AuditCheckDetails.Builder checkRunStatus(AuditCheckRunStatus checkRunStatus)
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
- Parameters:
checkRunStatus- The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuditCheckRunStatus,AuditCheckRunStatus
-
checkCompliant
AuditCheckDetails.Builder checkCompliant(Boolean checkCompliant)
True if the check is complete and found all resources compliant.
- Parameters:
checkCompliant- True if the check is complete and found all resources compliant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalResourcesCount
AuditCheckDetails.Builder totalResourcesCount(Long totalResourcesCount)
The number of resources on which the check was performed.
- Parameters:
totalResourcesCount- The number of resources on which the check was performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nonCompliantResourcesCount
AuditCheckDetails.Builder nonCompliantResourcesCount(Long nonCompliantResourcesCount)
The number of resources that were found noncompliant during the check.
- Parameters:
nonCompliantResourcesCount- The number of resources that were found noncompliant during the check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressedNonCompliantResourcesCount
AuditCheckDetails.Builder suppressedNonCompliantResourcesCount(Long suppressedNonCompliantResourcesCount)
Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.
- Parameters:
suppressedNonCompliantResourcesCount- Describes how many of the non-compliant resources created during the evaluation of an audit check were marked as suppressed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
AuditCheckDetails.Builder errorCode(String errorCode)
The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
- Parameters:
errorCode- The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
AuditCheckDetails.Builder message(String message)
The message associated with any error encountered when this check is performed during this audit.
- Parameters:
message- The message associated with any error encountered when this check is performed during this audit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-