public static class ModuleStream.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ModuleStream.Builder |
architecture(String architecture)
The architecture for which the packages in this module stream were built
|
ModuleStream |
build() |
ModuleStream.Builder |
copy(ModuleStream model) |
ModuleStream.Builder |
description(String description)
A description of the contents of the module stream
|
ModuleStream.Builder |
isDefault(Boolean isDefault)
Indicates if this stream is the default for its module.
|
ModuleStream.Builder |
moduleName(String moduleName)
The name of the module that contains the stream
|
ModuleStream.Builder |
packages(List<String> packages)
A list of packages that are contained by the stream.
|
ModuleStream.Builder |
profiles(List<String> profiles)
A list of profiles that are part of the stream.
|
ModuleStream.Builder |
softwareSourceId(String softwareSourceId)
The OCID of the software source that provides this module stream.
|
ModuleStream.Builder |
streamName(String streamName)
The name of the stream
|
public ModuleStream.Builder moduleName(String moduleName)
The name of the module that contains the stream
moduleName
- the value to setpublic ModuleStream.Builder streamName(String streamName)
The name of the stream
streamName
- the value to setpublic ModuleStream.Builder isDefault(Boolean isDefault)
Indicates if this stream is the default for its module.
isDefault
- the value to setpublic ModuleStream.Builder softwareSourceId(String softwareSourceId)
The OCID of the software source that provides this module stream.
softwareSourceId
- the value to setpublic ModuleStream.Builder architecture(String architecture)
The architecture for which the packages in this module stream were built
architecture
- the value to setpublic ModuleStream.Builder description(String description)
A description of the contents of the module stream
description
- the value to setpublic ModuleStream.Builder profiles(List<String> profiles)
A list of profiles that are part of the stream. Each element in the list is the name of a profile. The name is suitable to use as an argument to other OS Management APIs that interact directly with module stream profiles. However, it is not URL encoded.
profiles
- the value to setpublic ModuleStream.Builder packages(List<String> packages)
A list of packages that are contained by the stream. 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 ModuleStream build()
public ModuleStream.Builder copy(ModuleStream model)
Copyright © 2016–2024. All rights reserved.