public static class SetRestrictionRequest.Builder
extends com.atlassian.bitbucket.util.BuilderSupport
Constructor and Description |
---|
Builder(com.atlassian.bitbucket.scope.Scope scope,
RefMatcher matcher,
RefRestrictionType type) |
Modifier and Type | Method and Description |
---|---|
SetRestrictionRequest |
build() |
SetRestrictionRequest.Builder |
grantAccessKeys(Iterable<com.atlassian.bitbucket.ssh.SshAccessKey> value) |
SetRestrictionRequest.Builder |
grantGroups(Iterable<String> value) |
SetRestrictionRequest.Builder |
grantUsers(Iterable<com.atlassian.bitbucket.user.ApplicationUser> value) |
public Builder(@Nonnull com.atlassian.bitbucket.scope.Scope scope, @Nonnull RefMatcher matcher, @Nonnull RefRestrictionType type)
@Nonnull public SetRestrictionRequest build()
@Nonnull public SetRestrictionRequest.Builder grantAccessKeys(@Nonnull Iterable<com.atlassian.bitbucket.ssh.SshAccessKey> value)
@Nonnull public SetRestrictionRequest.Builder grantGroups(@Nonnull Iterable<String> value)
@Nonnull public SetRestrictionRequest.Builder grantUsers(@Nonnull Iterable<com.atlassian.bitbucket.user.ApplicationUser> value)
Copyright © 2019 Atlassian. All rights reserved.