Interface LinkSharingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LinkSharingConfiguration.Builder,
,LinkSharingConfiguration> SdkBuilder<LinkSharingConfiguration.Builder,
,LinkSharingConfiguration> SdkPojo
- Enclosing class:
LinkSharingConfiguration
public static interface LinkSharingConfiguration.Builder
extends SdkPojo, CopyableBuilder<LinkSharingConfiguration.Builder,LinkSharingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionpermissions
(Collection<ResourcePermission> permissions) A structure that contains the permissions of a shareable link.permissions
(Consumer<ResourcePermission.Builder>... permissions) A structure that contains the permissions of a shareable link.permissions
(ResourcePermission... permissions) A structure that contains the permissions of a shareable link.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, sdkFields
-
Method Details
-
permissions
A structure that contains the permissions of a shareable link.
- Parameters:
permissions
- A structure that contains the permissions of a shareable link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
A structure that contains the permissions of a shareable link.
- Parameters:
permissions
- A structure that contains the permissions of a shareable link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
A structure that contains the permissions of a shareable link.
This is a convenience method that creates an instance of theResourcePermission.Builder
avoiding the need to create one manually viaResourcePermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topermissions(List<ResourcePermission>)
.- Parameters:
permissions
- a consumer that will call methods onResourcePermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-