Interface BatchUpdateFindingsV2Request.Builder

  • Method Details

    • metadataUids

      The list of finding metadata.uid to indicate findings to update. Finding metadata.uid is a globally unique identifier associated with the finding. Customers cannot use MetadataUids together with FindingIdentifiers.

      Parameters:
      metadataUids - The list of finding metadata.uid to indicate findings to update. Finding metadata.uid is a globally unique identifier associated with the finding. Customers cannot use MetadataUids together with FindingIdentifiers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadataUids

      BatchUpdateFindingsV2Request.Builder metadataUids(String... metadataUids)

      The list of finding metadata.uid to indicate findings to update. Finding metadata.uid is a globally unique identifier associated with the finding. Customers cannot use MetadataUids together with FindingIdentifiers.

      Parameters:
      metadataUids - The list of finding metadata.uid to indicate findings to update. Finding metadata.uid is a globally unique identifier associated with the finding. Customers cannot use MetadataUids together with FindingIdentifiers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findingIdentifiers

      Provides information to identify a specific V2 finding.

      Parameters:
      findingIdentifiers - Provides information to identify a specific V2 finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findingIdentifiers

      BatchUpdateFindingsV2Request.Builder findingIdentifiers(OcsfFindingIdentifier... findingIdentifiers)

      Provides information to identify a specific V2 finding.

      Parameters:
      findingIdentifiers - Provides information to identify a specific V2 finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findingIdentifiers

      Provides information to identify a specific V2 finding.

      This is a convenience method that creates an instance of the OcsfFindingIdentifier.Builder avoiding the need to create one manually via OcsfFindingIdentifier.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to findingIdentifiers(List<OcsfFindingIdentifier>).

      Parameters:
      findingIdentifiers - a consumer that will call methods on OcsfFindingIdentifier.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • comment

      The updated value for a user provided comment about the finding. Minimum character length 1. Maximum character length 512.

      Parameters:
      comment - The updated value for a user provided comment about the finding. Minimum character length 1. Maximum character length 512.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityId

      The updated value for the normalized severity identifier. The severity ID is an integer with the allowed enum values [0, 1, 2, 3, 4, 5, 99]. When customer provides the updated severity ID, the string sibling severity will automatically be updated in the finding.

      Parameters:
      severityId - The updated value for the normalized severity identifier. The severity ID is an integer with the allowed enum values [0, 1, 2, 3, 4, 5, 99]. When customer provides the updated severity ID, the string sibling severity will automatically be updated in the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusId

      The updated value for the normalized status identifier. The status ID is an integer with the allowed enum values [0, 1, 2, 3, 4, 5, 6, 99]. When customer provides the updated status ID, the string sibling status will automatically be updated in the finding.

      Parameters:
      statusId - The updated value for the normalized status identifier. The status ID is an integer with the allowed enum values [0, 1, 2, 3, 4, 5, 6, 99]. When customer provides the updated status ID, the string sibling status will automatically be updated in the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      BatchUpdateFindingsV2Request.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.