Interface Actor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Actor.Builder,,Actor> SdkBuilder<Actor.Builder,,Actor> SdkPojo
- Enclosing class:
Actor
-
Method Summary
Modifier and TypeMethodDescriptionID of the threat actor.default Actor.Buildersession(Consumer<Session.Builder> session) Contains information about the user session where the activity initiated.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.Contains information about the user credentials used by the threat actor.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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 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:
-
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 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:
-