public static class

SetFilePermissionRequest.Builder

extends BuilderSupport
java.lang.Object
   ↳ com.atlassian.bitbucket.util.BuilderSupport
     ↳ com.atlassian.bitbucket.util.SetFilePermissionRequest.Builder

Summary

[Expand]
Inherited Fields
From class com.atlassian.bitbucket.util.BuilderSupport
Public Constructors
@Deprecated Builder(File file)
This constructor is deprecated. in 5.11 for removal in 6.0. Use Builder(Path) instead.
Builder(Path path)
Public Methods
@Nonnull SetFilePermissionRequest build()
@Nonnull SetFilePermissionRequest.Builder groupPermission(FilePermission permission)
@Nonnull SetFilePermissionRequest.Builder groupPermissions(Iterable<FilePermission> permissions)
@Nonnull SetFilePermissionRequest.Builder ownerPermission(FilePermission permission)
@Nonnull SetFilePermissionRequest.Builder ownerPermissions(Iterable<FilePermission> permissions)
@Nonnull SetFilePermissionRequest.Builder worldPermission(FilePermission permission)
@Nonnull SetFilePermissionRequest.Builder worldPermissions(Iterable<FilePermission> permissions)
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.util.BuilderSupport
From class java.lang.Object

Public Constructors

@Deprecated public Builder (File file)

This constructor is deprecated.
in 5.11 for removal in 6.0. Use Builder(Path) instead.

Parameters
file the file to set permissions for

public Builder (Path path)

Parameters
path the path to set permissions for

Public Methods

@Nonnull public SetFilePermissionRequest build ()

@Nonnull public SetFilePermissionRequest.Builder groupPermission (FilePermission permission)

@Nonnull public SetFilePermissionRequest.Builder groupPermissions (Iterable<FilePermission> permissions)

@Nonnull public SetFilePermissionRequest.Builder ownerPermission (FilePermission permission)

@Nonnull public SetFilePermissionRequest.Builder ownerPermissions (Iterable<FilePermission> permissions)

@Nonnull public SetFilePermissionRequest.Builder worldPermission (FilePermission permission)

@Nonnull public SetFilePermissionRequest.Builder worldPermissions (Iterable<FilePermission> permissions)