DefaultAcl.Builder

public static final class DefaultAcl.Builder extends Object

Builder object for constructing a DefaultAcl object.

Public Constructor Summary

Public Method Summary

DefaultAcl
build()
DefaultAcl.Builder
setDefaultAclName(String defaultAclName)
DefaultAcl.Builder
setDeniedReaderGroups(List<Principal> deniedReaderGroups)
DefaultAcl.Builder
setDeniedReaderUsers(List<Principal> deniedReaderUsers)
DefaultAcl.Builder
DefaultAcl.Builder
setIsPublic(boolean isPublic)
DefaultAcl.Builder
DefaultAcl.Builder
setReaderGroups(List<Principal> readerGroups)
DefaultAcl.Builder
setReaderUsers(List<Principal> readerUsers)

Inherited Method Summary

Public Constructors

public DefaultAcl.Builder ()

Public Methods

public DefaultAcl build ()

public DefaultAcl.Builder setDefaultAclName (String defaultAclName)

Parameters
defaultAclName

public DefaultAcl.Builder setDeniedReaderGroups (List<Principal> deniedReaderGroups)

Parameters
deniedReaderGroups

public DefaultAcl.Builder setDeniedReaderUsers (List<Principal> deniedReaderUsers)

Parameters
deniedReaderUsers

public DefaultAcl.Builder setIndexingService (IndexingService indexingService)

Parameters
indexingService

public DefaultAcl.Builder setIsPublic (boolean isPublic)

Parameters
isPublic

public DefaultAcl.Builder setMode (DefaultAcl.DefaultAclMode aclMode)

Parameters
aclMode

public DefaultAcl.Builder setReaderGroups (List<Principal> readerGroups)

Parameters
readerGroups

public DefaultAcl.Builder setReaderUsers (List<Principal> readerUsers)

Parameters
readerUsers