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
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

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)