public static class ModuleStreamProfile.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ModuleStreamProfile |
build() |
ModuleStreamProfile.Builder |
copy(ModuleStreamProfile model) |
ModuleStreamProfile.Builder |
description(String description)
A description of the contents of the module stream profile
|
ModuleStreamProfile.Builder |
isDefault(Boolean isDefault)
Indicates if this profile is the default for its module stream.
|
ModuleStreamProfile.Builder |
moduleName(String moduleName)
The name of the module that contains the stream profile
|
ModuleStreamProfile.Builder |
packages(List<String> packages)
A list of packages that constitute the profile.
|
ModuleStreamProfile.Builder |
profileName(String profileName)
The name of the profile
|
ModuleStreamProfile.Builder |
streamName(String streamName)
The name of the stream that contains the profile
|
public ModuleStreamProfile.Builder moduleName(String moduleName)
The name of the module that contains the stream profile
moduleName
- the value to setpublic ModuleStreamProfile.Builder streamName(String streamName)
The name of the stream that contains the profile
streamName
- the value to setpublic ModuleStreamProfile.Builder profileName(String profileName)
The name of the profile
profileName
- the value to setpublic ModuleStreamProfile.Builder isDefault(Boolean isDefault)
Indicates if this profile is the default for its module stream.
isDefault
- the value to setpublic ModuleStreamProfile.Builder description(String description)
A description of the contents of the module stream profile
description
- the value to setpublic ModuleStreamProfile.Builder packages(List<String> packages)
A list of packages that constitute the profile. Each element in the list is the name of a package. The name is suitable to use as an argument to other OS Management APIs that interact directly with packages.
packages
- the value to setpublic ModuleStreamProfile build()
public ModuleStreamProfile.Builder copy(ModuleStreamProfile model)
Copyright © 2016–2024. All rights reserved.