public static class ModuleStream.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ModuleStream.Builder |
archType(ArchType archType)
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 |
isLatest(Boolean isLatest)
Indicates whether this module stream is the latest.
|
ModuleStream.Builder |
moduleName(String moduleName)
The name of the module that contains the stream.
|
ModuleStream.Builder |
name(String name)
The name of 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.
|
public ModuleStream.Builder moduleName(String moduleName)
The name of the module that contains the stream.
moduleName
- the value to setpublic ModuleStream.Builder name(String name)
The name of the stream.
name
- 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 archType(ArchType archType)
The architecture for which the packages in this module stream were built.
archType
- 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 Hub 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 Hub APIs that interact directly with packages.
packages
- the value to setpublic ModuleStream.Builder isLatest(Boolean isLatest)
Indicates whether this module stream is the latest.
isLatest
- the value to setpublic ModuleStream build()
public ModuleStream.Builder copy(ModuleStream model)
Copyright © 2016–2024. All rights reserved.