Interface ActorUser.Builder

  • Method Details

    • name

      The name of the threat actor.

      Parameters:
      name - The name of the threat actor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uid

      The unique identifier of the threat actor.

      Parameters:
      uid - The unique identifier of the threat actor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of user.

      Parameters:
      type - The type of user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentialUid

      ActorUser.Builder credentialUid(String credentialUid)

      Unique identifier of the threat actor’s user credentials.

      Parameters:
      credentialUid - Unique identifier of the threat actor’s user credentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • account

      ActorUser.Builder account(UserAccount account)

      The account of the threat actor.

      Parameters:
      account - The account of the threat actor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • account

      default ActorUser.Builder account(Consumer<UserAccount.Builder> account)

      The account of the threat actor.

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

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

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