Class ModuleStream.Builder
- java.lang.Object
- 
- com.oracle.bmc.osmanagementhub.model.ModuleStream.Builder
 
- 
- Enclosing class:
- ModuleStream
 
 public static class ModuleStream.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ModuleStream.BuilderarchType(ArchType archType)The architecture for which the packages in this module stream were built.ModuleStreambuild()ModuleStream.Buildercopy(ModuleStream model)ModuleStream.Builderdescription(String description)A description of the contents of the module stream.ModuleStream.BuilderisDefault(Boolean isDefault)Indicates if this stream is the default for its module.ModuleStream.BuilderisLatest(Boolean isLatest)Indicates whether this module stream is the latest.ModuleStream.BuildermoduleName(String moduleName)The name of the module that contains the stream.ModuleStream.Buildername(String name)The name of the stream.ModuleStream.Builderpackages(List<String> packages)A list of packages that are contained by the stream.ModuleStream.Builderprofiles(List<String> profiles)A list of profiles that are part of the stream.ModuleStream.BuildersoftwareSourceId(String softwareSourceId)The OCID of the software source that provides this module stream.
 
- 
- 
- 
Method Detail- 
moduleNamepublic ModuleStream.Builder moduleName(String moduleName) The name of the module that contains the stream.- Parameters:
- moduleName- the value to set
- Returns:
- this builder
 
 - 
namepublic ModuleStream.Builder name(String name) The name of the stream.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
isDefaultpublic ModuleStream.Builder isDefault(Boolean isDefault) Indicates if this stream is the default for its module.- Parameters:
- isDefault- the value to set
- Returns:
- this builder
 
 - 
softwareSourceIdpublic ModuleStream.Builder softwareSourceId(String softwareSourceId) The OCID of the software source that provides this module stream.- Parameters:
- softwareSourceId- the value to set
- Returns:
- this builder
 
 - 
archTypepublic ModuleStream.Builder archType(ArchType archType) The architecture for which the packages in this module stream were built.- Parameters:
- archType- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic ModuleStream.Builder description(String description) A description of the contents of the module stream.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
profilespublic 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. - Parameters:
- profiles- the value to set
- Returns:
- this builder
 
 - 
packagespublic 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. - Parameters:
- packages- the value to set
- Returns:
- this builder
 
 - 
isLatestpublic ModuleStream.Builder isLatest(Boolean isLatest) Indicates whether this module stream is the latest.- Parameters:
- isLatest- the value to set
- Returns:
- this builder
 
 - 
buildpublic ModuleStream build() 
 - 
copypublic ModuleStream.Builder copy(ModuleStream model) 
 
- 
 
-