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 Summary
Modifier and TypeMethodDescriptionThe ID of the threat actor.default Actor.Builder
session
(Consumer<ActorSession.Builder> session) Contains information about the user session where the activity initiated.session
(ActorSession session) Contains information about the user session where the activity initiated.default Actor.Builder
user
(Consumer<ActorUser.Builder> user) Contains information about the user credentials used by the threat actor.Contains information about the user credentials used by the threat actor.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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 theActorUser.Builder
avoiding the need to create one manually viaActorUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touser(ActorUser)
.- Parameters:
user
- a consumer that will call methods onActorUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
Contains information about the user session where the activity initiated.
This is a convenience method that creates an instance of theActorSession.Builder
avoiding the need to create one manually viaActorSession.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosession(ActorSession)
.- Parameters:
session
- a consumer that will call methods onActorSession.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-