Interface AuditEventPerformedBy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AuditEventPerformedBy.Builder,,AuditEventPerformedBy> SdkBuilder<AuditEventPerformedBy.Builder,,AuditEventPerformedBy> SdkPojo
- Enclosing class:
AuditEventPerformedBy
public static interface AuditEventPerformedBy.Builder
extends SdkPojo, CopyableBuilder<AuditEventPerformedBy.Builder,AuditEventPerformedBy>
-
Method Summary
Modifier and TypeMethodDescriptioniamPrincipalArn(String iamPrincipalArn) Unique identifier of an IAM role.default AuditEventPerformedBy.Builderuser(Consumer<UserUnion.Builder> user) Sets the value of the User property for this object.Sets the value of the User property for this object.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, sdkFields
-
Method Details
-
iamPrincipalArn
Unique identifier of an IAM role.
- Parameters:
iamPrincipalArn- Unique identifier of an IAM role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
Sets the value of the User property for this object.- Parameters:
user- The new value for the User property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
Sets the value of the User property for this object. This is a convenience method that creates an instance of theUserUnion.Builderavoiding the need to create one manually viaUserUnion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touser(UserUnion).- Parameters:
user- a consumer that will call methods onUserUnion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-