Interface PutControlStatusOverrideRequest.Builder

  • Method Details

    • environmentArn

      PutControlStatusOverrideRequest.Builder environmentArn(String environmentArn)

      The Amazon Resource Name (ARN) of this governance environment.

      Parameters:
      environmentArn - The Amazon Resource Name (ARN) of this governance environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • project

      The name of the project.

      Parameters:
      project - The name of the project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • framework

      The name of the compliance framework.

      Parameters:
      framework - The name of the compliance framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameworkVersion

      PutControlStatusOverrideRequest.Builder frameworkVersion(String frameworkVersion)

      The version of the compliance framework.

      Parameters:
      frameworkVersion - The version of the compliance framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controlId

      The identifier of the control. The control must exist in the framework version.

      Parameters:
      controlId - The identifier of the control. The control must exist in the framework version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requirementId

      PutControlStatusOverrideRequest.Builder requirementId(String requirementId)

      The identifier of a requirement of the control. Specify it to declare or remove a decision on that requirement only. Omit it to apply the decision to the whole control. If the requirement doesn't belong to the control, AWS Assurance returns a ValidationException.

      Parameters:
      requirementId - The identifier of a requirement of the control. Specify it to declare or remove a decision on that requirement only. Omit it to apply the decision to the whole control. If the requirement doesn't belong to the control, AWS Assurance returns a ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The decision to declare. Specify one of the following values:

      • NOT_APPLICABLE – Excludes the control or requirement from the project's outcome. Requires a justification. If a decision already exists, the new justification replaces it, and AWS Assurance updates declaredBy and declaredAt.

      • NONE – Removes the current decision on the specified control or requirement. If you remove the decision on a control, the decisions on its individual requirements stay in place. A requirement stays not applicable while its control is not applicable.

      Parameters:
      type - The decision to declare. Specify one of the following values:

      • NOT_APPLICABLE – Excludes the control or requirement from the project's outcome. Requires a justification. If a decision already exists, the new justification replaces it, and AWS Assurance updates declaredBy and declaredAt.

      • NONE – Removes the current decision on the specified control or requirement. If you remove the decision on a control, the decisions on its individual requirements stay in place. A requirement stays not applicable while its control is not applicable.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The decision to declare. Specify one of the following values:

      • NOT_APPLICABLE – Excludes the control or requirement from the project's outcome. Requires a justification. If a decision already exists, the new justification replaces it, and AWS Assurance updates declaredBy and declaredAt.

      • NONE – Removes the current decision on the specified control or requirement. If you remove the decision on a control, the decisions on its individual requirements stay in place. A requirement stays not applicable while its control is not applicable.

      Parameters:
      type - The decision to declare. Specify one of the following values:

      • NOT_APPLICABLE – Excludes the control or requirement from the project's outcome. Requires a justification. If a decision already exists, the new justification replaces it, and AWS Assurance updates declaredBy and declaredAt.

      • NONE – Removes the current decision on the specified control or requirement. If you remove the decision on a control, the decisions on its individual requirements stay in place. A requirement stays not applicable while its control is not applicable.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • justification

      PutControlStatusOverrideRequest.Builder justification(String justification)

      The reason that the control or requirement doesn't apply to the project. AWS Assurance keeps it as evidence for the decision. Required when type is NOT_APPLICABLE, and must contain 1–1,024 characters that aren't all whitespace. Omit it when type is NONE.

      Parameters:
      justification - The reason that the control or requirement doesn't apply to the project. AWS Assurance keeps it as evidence for the decision. Required when type is NOT_APPLICABLE, and must contain 1–1,024 characters that aren't all whitespace. Omit it when type is NONE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      PutControlStatusOverrideRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.