public static final class ImmutableDirectory.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
void |
setActive(boolean active) |
void |
setAllowedOperations(Set<OperationType> allowedOperations) |
void |
setAttributes(Map<String,String> attributes) |
void |
setCreatedDate(Date createdDate) |
void |
setDescription(String description) |
void |
setEncryptionType(String encryptionType) |
void |
setId(Long id) |
void |
setImplementationClass(String implementationClass) |
void |
setName(String name) |
void |
setType(DirectoryType type) |
void |
setUpdatedDate(Date updatedDate) |
Directory |
toDirectory()
Returns an immutable Directory object with the properties set in this builder.
|
public Directory toDirectory()
public void setId(Long id)
public void setName(String name)
public void setActive(boolean active)
public void setEncryptionType(String encryptionType)
public void setDescription(String description)
public void setType(DirectoryType type)
public void setImplementationClass(String implementationClass)
public void setCreatedDate(Date createdDate)
public void setUpdatedDate(Date updatedDate)
public void setAllowedOperations(Set<OperationType> allowedOperations)
Copyright © 2020 Atlassian. All rights reserved.