Interface PermissionEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PermissionEntry.Builder,,PermissionEntry> SdkBuilder<PermissionEntry.Builder,,PermissionEntry> SdkPojo
- Enclosing class:
PermissionEntry
public static interface PermissionEntry.Builder
extends SdkPojo, CopyableBuilder<PermissionEntry.Builder,PermissionEntry>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether the user or group has theAdmin,Editor, orViewerrole.Specifies whether the user or group has theAdmin,Editor, orViewerrole.default PermissionEntry.Builderuser(Consumer<User.Builder> user) A structure with the ID of the user or group with this role.A structure with the ID of the user or group with this role.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
-
role
Specifies whether the user or group has the
Admin,Editor, orViewerrole.- Parameters:
role- Specifies whether the user or group has theAdmin,Editor, orViewerrole.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
role
Specifies whether the user or group has the
Admin,Editor, orViewerrole.- Parameters:
role- Specifies whether the user or group has theAdmin,Editor, orViewerrole.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
user
A structure with the ID of the user or group with this role.
- Parameters:
user- A structure with the ID of the user or group with this role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
A structure with the ID of the user or group with this role.
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:
-