Interface Finding.Builder

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

@Mutable @NotThreadSafe public static interface Finding.Builder extends SdkPojo, CopyableBuilder<Finding.Builder,Finding>
  • Method Details

    • creationTime

      Finding.Builder creationTime(Instant creationTime)

      The timestamp for when a finding was created.

      Parameters:
      creationTime - The timestamp for when a finding was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      Finding.Builder details(FindingDetails details)

      Details about the finding.

      Parameters:
      details - Details about the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      default Finding.Builder details(Consumer<FindingDetails.Builder> details)

      Details about the finding.

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

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

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

      The ID assigned to the finding.

      Parameters:
      id - The ID assigned to the finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      Finding.Builder lastModifiedTime(Instant lastModifiedTime)

      The timestamp for when the finding was most recently updated with additional information.

      Parameters:
      lastModifiedTime - The timestamp for when the finding was most recently updated with additional information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.