Interface Threat.Builder

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

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

    • name

      Threat.Builder name(String name)

      Name of the detected threat that caused GuardDuty to generate this finding.

      Parameters:
      name - Name of the detected threat that caused GuardDuty to generate this finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      Threat.Builder source(String source)

      Source of the threat that generated this finding.

      Parameters:
      source - Source of the threat that generated this finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • itemPaths

      Threat.Builder itemPaths(Collection<ItemPath> itemPaths)

      Information about the nested item path and hash of the protected resource.

      Parameters:
      itemPaths - Information about the nested item path and hash of the protected resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • itemPaths

      Threat.Builder itemPaths(ItemPath... itemPaths)

      Information about the nested item path and hash of the protected resource.

      Parameters:
      itemPaths - Information about the nested item path and hash of the protected resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • itemPaths

      Threat.Builder itemPaths(Consumer<ItemPath.Builder>... itemPaths)

      Information about the nested item path and hash of the protected resource.

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

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

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