Interface Actor.Builder

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

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

    • id

      The ID of the threat actor.

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

      Contains information about the user credentials used by the threat actor.

      Parameters:
      user - Contains information about the user credentials used by the threat actor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • user

      Contains information about the user credentials used by the threat actor.

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

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

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

      Actor.Builder session(ActorSession session)

      Contains information about the user session where the activity initiated.

      Parameters:
      session - Contains information about the user session where the activity initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • session

      default Actor.Builder session(Consumer<ActorSession.Builder> session)

      Contains information about the user session where the activity initiated.

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

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

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