Interface RequirementStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RequirementStatus.Builder,,RequirementStatus> SdkBuilder<RequirementStatus.Builder,,RequirementStatus> SdkPojo
- Enclosing class:
RequirementStatus
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the requirement.The evaluator's explanation of the outcome from the most recent assessment.requirementId(String requirementId) The unique identifier of the requirement.The effective outcome of the requirement.status(RequirementComplianceStatus status) The effective outcome of the requirement.default RequirementStatus.BuilderstatusOverride(Consumer<StatusOverride.Builder> statusOverride) The decision declared directly on this requirement.statusOverride(StatusOverride statusOverride) The decision declared directly on this requirement.The identifier of the remediation task for this requirement in the project, when one exists.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
requirementId
The unique identifier of the requirement.
- Parameters:
requirementId- The unique identifier of the requirement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the requirement.
- Parameters:
description- A description of the requirement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The effective outcome of the requirement. The outcome is
not_applicablewhen the requirement or its control is declared not applicable, or when the most recent assessment determined that the requirement doesn't apply. It'sunable_to_assesswhen no assessment produced an outcome for the requirement.- Parameters:
status- The effective outcome of the requirement. The outcome isnot_applicablewhen the requirement or its control is declared not applicable, or when the most recent assessment determined that the requirement doesn't apply. It'sunable_to_assesswhen no assessment produced an outcome for the requirement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The effective outcome of the requirement. The outcome is
not_applicablewhen the requirement or its control is declared not applicable, or when the most recent assessment determined that the requirement doesn't apply. It'sunable_to_assesswhen no assessment produced an outcome for the requirement.- Parameters:
status- The effective outcome of the requirement. The outcome isnot_applicablewhen the requirement or its control is declared not applicable, or when the most recent assessment determined that the requirement doesn't apply. It'sunable_to_assesswhen no assessment produced an outcome for the requirement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusOverride
The decision declared directly on this requirement. Absent when no decision is declared on the requirement, including when the requirement is not applicable only because its control is declared not applicable.
- Parameters:
statusOverride- The decision declared directly on this requirement. Absent when no decision is declared on the requirement, including when the requirement is not applicable only because its control is declared not applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusOverride
The decision declared directly on this requirement. Absent when no decision is declared on the requirement, including when the requirement is not applicable only because its control is declared not applicable.
This is a convenience method that creates an instance of theStatusOverride.Builderavoiding the need to create one manually viaStatusOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatusOverride(StatusOverride).- Parameters:
statusOverride- a consumer that will call methods onStatusOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rationale
The evaluator's explanation of the outcome from the most recent assessment.
- Parameters:
rationale- The evaluator's explanation of the outcome from the most recent assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskId
The identifier of the remediation task for this requirement in the project, when one exists. The task can be in any state, including
CANCELLED.- Parameters:
taskId- The identifier of the remediation task for this requirement in the project, when one exists. The task can be in any state, includingCANCELLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-