Interface SensitiveDataDetections.Builder

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

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

    • count

      The total number of occurrences of sensitive data that were detected.

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

      The type of sensitive data that was detected. For example, the type might indicate that the data is an email address.

      Parameters:
      type - The type of sensitive data that was detected. For example, the type might indicate that the data is an email address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • occurrences

      SensitiveDataDetections.Builder occurrences(Occurrences occurrences)

      Details about the sensitive data that was detected.

      Parameters:
      occurrences - Details about the sensitive data that was detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • occurrences

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

      Details about the sensitive data that was detected.

      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: