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)ID of the threat actor.default Actor.Buildersession(Consumer<Session.Builder> session)Contains information about the user session where the activity initiated.Actor.Buildersession(Session session)Contains information about the user session where the activity initiated.default Actor.Builderuser(Consumer<User.Builder> user)Contains information about the user credentials used by the threat actor.Actor.Builderuser(User 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)
ID of the threat actor.
- Parameters:
id- ID of the threat actor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
Actor.Builder user(User 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<User.Builder> user)
Contains information about the user credentials used by the threat actor.
This is a convenience method that creates an instance of theUser.Builderavoiding the need to create one manually viaUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touser(User).- Parameters:
user- a consumer that will call methods onUser.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
user(User)
-
session
Actor.Builder session(Session 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<Session.Builder> session)
Contains information about the user session where the activity initiated.
This is a convenience method that creates an instance of theSession.Builderavoiding the need to create one manually viaSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosession(Session).- Parameters:
session- a consumer that will call methods onSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
session(Session)
-
-