Interface ActorUser.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ActorUser.Builder,ActorUser>,SdkBuilder<ActorUser.Builder,ActorUser>,SdkPojo
- Enclosing class:
- ActorUser
public static interface ActorUser.Builder extends SdkPojo, CopyableBuilder<ActorUser.Builder,ActorUser>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ActorUser.Builderaccount(Consumer<UserAccount.Builder> account)The account of the threat actor.ActorUser.Builderaccount(UserAccount account)The account of the threat actor.ActorUser.BuildercredentialUid(String credentialUid)Unique identifier of the threat actor’s user credentials.ActorUser.Buildername(String name)The name of the threat actor.ActorUser.Buildertype(String type)The type of user.ActorUser.Builderuid(String uid)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 Detail
-
name
ActorUser.Builder name(String 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
ActorUser.Builder uid(String 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
ActorUser.Builder type(String 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
ActorUser.Builder credentialUid(String 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
ActorUser.Builder account(UserAccount 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
default ActorUser.Builder account(Consumer<UserAccount.Builder> account)
The account of the threat actor.
This is a convenience method that creates an instance of theUserAccount.Builderavoiding the need to create one manually viaUserAccount.builder().When the
Consumercompletes,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:
account(UserAccount)
-
-