Interface Actor.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Actor.Builder,Actor>,SdkBuilder<Actor.Builder,Actor>,SdkPojo
- Enclosing class:
- Actor
public static interface Actor.Builder extends SdkPojo, CopyableBuilder<Actor.Builder,Actor>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Actor.Builderid(String id)The ID of the threat actor.default Actor.Buildersession(Consumer<ActorSession.Builder> session)Contains information about the user session where the activity initiated.Actor.Buildersession(ActorSession session)Contains information about the user session where the activity initiated.default Actor.Builderuser(Consumer<ActorUser.Builder> user)Contains information about the user credentials used by the threat actor.Actor.Builderuser(ActorUser user)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 Detail
-
id
Actor.Builder id(String 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
Actor.Builder user(ActorUser 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
default Actor.Builder user(Consumer<ActorUser.Builder> user)
Contains information about the user credentials used by the threat actor.
This is a convenience method that creates an instance of theActorUser.Builderavoiding the need to create one manually viaActorUser.builder().When the
Consumercompletes,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:
user(ActorUser)
-
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 theActorSession.Builderavoiding the need to create one manually viaActorSession.builder().When the
Consumercompletes,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:
session(ActorSession)
-
-