Interface ActorUser.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ActorUser.Builder,
,ActorUser> SdkBuilder<ActorUser.Builder,
,ActorUser> SdkPojo
- Enclosing class:
ActorUser
@Mutable
@NotThreadSafe
public static interface ActorUser.Builder
extends SdkPojo, CopyableBuilder<ActorUser.Builder,ActorUser>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ActorUser.Builder
account
(Consumer<UserAccount.Builder> account) The account of the threat actor.account
(UserAccount account) The account of the threat actor.credentialUid
(String credentialUid) Unique identifier of the threat actor’s user credentials.The name of the threat actor.The type of user.The unique identifier of 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
-
name
The name of the threat actor.
- Parameters:
name
- The name of the threat actor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uid
The unique identifier of the threat actor.
- Parameters:
uid
- The unique identifier of the threat actor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of user.
- Parameters:
type
- The type of user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialUid
Unique identifier of the threat actor’s user credentials.
- Parameters:
credentialUid
- Unique identifier of the threat actor’s user credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
The account of the threat actor.
- Parameters:
account
- The account of the threat actor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
The account of the threat actor.
This is a convenience method that creates an instance of theUserAccount.Builder
avoiding the need to create one manually viaUserAccount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccount(UserAccount)
.- Parameters:
account
- a consumer that will call methods onUserAccount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-