Class ApplicationRole.ApplicationRoleBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.model.ApplicationRole.ApplicationRoleBuilder
- Enclosing class:
- ApplicationRole
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
defaultGroups
(Set<String> defaultGroups) The groups that are granted default access for this application role.defaultGroupsDetails
(List<GroupName> defaultGroupsDetails) The groups that are granted default access for this application role.Deprecated.groupDetails
(List<GroupName> groupDetails) The groups associated with the application role.The groups associated with the application role.hasUnlimitedSeats
(Boolean hasUnlimitedSeats) The key of the application role.The display name of the application role.numberOfSeats
(Integer numberOfSeats) The maximum count of users on your license.Indicates if the application role belongs to Jira platform (jira-core
).remainingSeats
(Integer remainingSeats) The count of users remaining on your license.selectedByDefault
(Boolean selectedByDefault) Determines whether this application role should be selected by default on user creation.toString()
The number of users counting against your license.userCountDescription
(String userCountDescription) The [type of users](https://confluence.atlassian.com/x/lRW3Ng) being counted against your license.
-
Method Details
-
defaultGroups
The groups that are granted default access for this application role. As a group's name can change, use ofdefaultGroupsDetails
is recommended to identify a groups.- Returns:
this
.
-
defaultGroupsDetails
public ApplicationRole.ApplicationRoleBuilder defaultGroupsDetails(List<GroupName> defaultGroupsDetails) The groups that are granted default access for this application role.- Returns:
this
.
-
defined
Deprecated.- Returns:
this
.
-
groupDetails
The groups associated with the application role.- Returns:
this
.
-
groups
The groups associated with the application role. As a group's name can change, use ofgroupDetails
is recommended to identify a groups.- Returns:
this
.
-
hasUnlimitedSeats
- Returns:
this
.
-
key
The key of the application role.- Returns:
this
.
-
name
The display name of the application role.- Returns:
this
.
-
numberOfSeats
The maximum count of users on your license.- Returns:
this
.
-
platform
Indicates if the application role belongs to Jira platform (jira-core
).- Returns:
this
.
-
remainingSeats
The count of users remaining on your license.- Returns:
this
.
-
selectedByDefault
Determines whether this application role should be selected by default on user creation.- Returns:
this
.
-
userCount
The number of users counting against your license.- Returns:
this
.
-
userCountDescription
The [type of users](https://confluence.atlassian.com/x/lRW3Ng) being counted against your license.- Returns:
this
.
-
build
-
toString
-