Interface LinkSharingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LinkSharingConfiguration.Builder,,LinkSharingConfiguration> SdkBuilder<LinkSharingConfiguration.Builder,,LinkSharingConfiguration> SdkPojo
- Enclosing class:
LinkSharingConfiguration
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,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:
-