public static class

SetRestrictionRequest.Builder

extends BuilderSupport
java.lang.Object
   ↳ com.atlassian.bitbucket.util.BuilderSupport
     ↳ com.atlassian.bitbucket.repository.ref.restriction.SetRestrictionRequest.Builder

Summary

[Expand]
Inherited Fields
From class com.atlassian.bitbucket.util.BuilderSupport
Public Constructors
@Deprecated Builder(Repository repository, RefMatcher matcher, RefRestrictionType type)
This constructor is deprecated. in 5.1 for removal in 6.0. Use Builder(Scope, RefMatcher, RefRestrictionType) instead.
Builder(Scope scope, RefMatcher matcher, RefRestrictionType type)
Public Methods
@Nonnull SetRestrictionRequest build()
@Nonnull SetRestrictionRequest.Builder grantAccessKeys(Iterable<SshAccessKey> value)
@Nonnull SetRestrictionRequest.Builder grantGroups(Iterable<String> value)
@Nonnull SetRestrictionRequest.Builder grantUsers(Iterable<ApplicationUser> value)
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.util.BuilderSupport
From class java.lang.Object

Public Constructors

@Deprecated public Builder (Repository repository, RefMatcher matcher, RefRestrictionType type)

This constructor is deprecated.
in 5.1 for removal in 6.0. Use Builder(Scope, RefMatcher, RefRestrictionType) instead.

public Builder (Scope scope, RefMatcher matcher, RefRestrictionType type)

Public Methods

@Nonnull public SetRestrictionRequest build ()

@Nonnull public SetRestrictionRequest.Builder grantAccessKeys (Iterable<SshAccessKey> value)

@Nonnull public SetRestrictionRequest.Builder grantGroups (Iterable<String> value)

@Nonnull public SetRestrictionRequest.Builder grantUsers (Iterable<ApplicationUser> value)