Interface CustomDetection.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CustomDetection.Builder,CustomDetection>, SdkBuilder<CustomDetection.Builder,CustomDetection>, SdkPojo
Enclosing class:
CustomDetection

public static interface CustomDetection.Builder extends SdkPojo, CopyableBuilder<CustomDetection.Builder,CustomDetection>
  • Method Details

    • arn

      The unique identifier for the custom data identifier.

      Parameters:
      arn - The unique identifier for the custom data identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • count

      The total number of occurrences of the sensitive data that the custom data identifier detected.

      Parameters:
      count - The total number of occurrences of the sensitive data that the custom data identifier detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the custom data identifier.

      Parameters:
      name - The name of the custom data identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • occurrences

      CustomDetection.Builder occurrences(Occurrences occurrences)

      The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.

      Parameters:
      occurrences - The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • occurrences

      default CustomDetection.Builder occurrences(Consumer<Occurrences.Builder> occurrences)

      The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to occurrences(Occurrences).

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