public static class PackageGroupSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PackageGroupSummary |
build() |
PackageGroupSummary.Builder |
copy(PackageGroupSummary model) |
PackageGroupSummary.Builder |
description(String description)
Description of the package group.
|
PackageGroupSummary.Builder |
displayOrder(Integer displayOrder)
Indicates the order to display category or environment.
|
PackageGroupSummary.Builder |
groupType(PackageGroup.GroupType groupType)
Indicates if this is a group, category or environment.
|
PackageGroupSummary.Builder |
id(String id)
Package group identifier.
|
PackageGroupSummary.Builder |
isDefault(Boolean isDefault)
Indicates if this package group is the default.
|
PackageGroupSummary.Builder |
isUserVisible(Boolean isUserVisible)
Indicates if this package group is visible to users.
|
PackageGroupSummary.Builder |
name(String name)
Package group name.
|
PackageGroupSummary.Builder |
repositories(List<String> repositories)
The repository IDs of the package group.
|
public PackageGroupSummary.Builder id(String id)
Package group identifier.
id
- the value to setpublic PackageGroupSummary.Builder name(String name)
Package group name.
name
- the value to setpublic PackageGroupSummary.Builder description(String description)
Description of the package group.
description
- the value to setpublic PackageGroupSummary.Builder isUserVisible(Boolean isUserVisible)
Indicates if this package group is visible to users.
isUserVisible
- the value to setpublic PackageGroupSummary.Builder isDefault(Boolean isDefault)
Indicates if this package group is the default.
isDefault
- the value to setpublic PackageGroupSummary.Builder repositories(List<String> repositories)
The repository IDs of the package group.
repositories
- the value to setpublic PackageGroupSummary.Builder groupType(PackageGroup.GroupType groupType)
Indicates if this is a group, category or environment.
groupType
- the value to setpublic PackageGroupSummary.Builder displayOrder(Integer displayOrder)
Indicates the order to display category or environment.
displayOrder
- the value to setpublic PackageGroupSummary build()
public PackageGroupSummary.Builder copy(PackageGroupSummary model)
Copyright © 2016–2024. All rights reserved.