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