Class SoftwarePackage.Builder
- java.lang.Object
- 
- com.oracle.bmc.osmanagementhub.model.SoftwarePackage.Builder
 
- 
- Enclosing class:
- SoftwarePackage
 
 public static class SoftwarePackage.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SoftwarePackage.Builderarchitecture(SoftwarePackageArchitecture architecture)The architecture for which this software was builtSoftwarePackagebuild()SoftwarePackage.Builderchecksum(String checksum)Checksum of the package.SoftwarePackage.BuilderchecksumType(String checksumType)Type of the checksum.SoftwarePackage.Buildercopy(SoftwarePackage model)SoftwarePackage.Builderdependencies(List<SoftwarePackageDependency> dependencies)List of dependencies for the software package.SoftwarePackage.Builderdescription(String description)Description of the package.SoftwarePackage.BuilderdisplayName(String displayName)Package name.SoftwarePackage.Builderfiles(List<SoftwarePackageFile> files)List of files for the software package.SoftwarePackage.BuilderisLatest(Boolean isLatest)Indicates whether this package is the latest version.SoftwarePackage.BuilderlastModifiedDate(String lastModifiedDate)The date and time the package was last modified (in RFC 3339 format).SoftwarePackage.Buildername(String name)Unique identifier for the package.SoftwarePackage.BuilderosFamilies(List<OsFamily> osFamilies)The OS families the package belongs to.SoftwarePackage.BuildersizeInBytes(Long sizeInBytes)Size of the package in bytes.SoftwarePackage.BuildersoftwareSources(List<SoftwareSourceDetails> softwareSources)List of software sources that provide the software package.SoftwarePackage.Buildertype(String type)Type of the package.SoftwarePackage.Builderversion(String version)Version of the package.
 
- 
- 
- 
Method Detail- 
displayNamepublic SoftwarePackage.Builder displayName(String displayName) Package name.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
namepublic SoftwarePackage.Builder name(String name) Unique identifier for the package.Note that this is not an OCID. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
typepublic SoftwarePackage.Builder type(String type) Type of the package.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
versionpublic SoftwarePackage.Builder version(String version) Version of the package.- Parameters:
- version- the value to set
- Returns:
- this builder
 
 - 
architecturepublic SoftwarePackage.Builder architecture(SoftwarePackageArchitecture architecture) The architecture for which this software was built- Parameters:
- architecture- the value to set
- Returns:
- this builder
 
 - 
lastModifiedDatepublic SoftwarePackage.Builder lastModifiedDate(String lastModifiedDate) The date and time the package was last modified (in RFC 3339 format).- Parameters:
- lastModifiedDate- the value to set
- Returns:
- this builder
 
 - 
checksumpublic SoftwarePackage.Builder checksum(String checksum) Checksum of the package.- Parameters:
- checksum- the value to set
- Returns:
- this builder
 
 - 
checksumTypepublic SoftwarePackage.Builder checksumType(String checksumType) Type of the checksum.- Parameters:
- checksumType- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic SoftwarePackage.Builder description(String description) Description of the package.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
sizeInBytespublic SoftwarePackage.Builder sizeInBytes(Long sizeInBytes) Size of the package in bytes.- Parameters:
- sizeInBytes- the value to set
- Returns:
- this builder
 
 - 
dependenciespublic SoftwarePackage.Builder dependencies(List<SoftwarePackageDependency> dependencies) List of dependencies for the software package.- Parameters:
- dependencies- the value to set
- Returns:
- this builder
 
 - 
filespublic SoftwarePackage.Builder files(List<SoftwarePackageFile> files) List of files for the software package.- Parameters:
- files- the value to set
- Returns:
- this builder
 
 - 
softwareSourcespublic SoftwarePackage.Builder softwareSources(List<SoftwareSourceDetails> softwareSources) List of software sources that provide the software package.This property is deprecated and it will be removed in a future API release. - Parameters:
- softwareSources- the value to set
- Returns:
- this builder
 
 - 
isLatestpublic SoftwarePackage.Builder isLatest(Boolean isLatest) Indicates whether this package is the latest version.- Parameters:
- isLatest- the value to set
- Returns:
- this builder
 
 - 
osFamiliespublic SoftwarePackage.Builder osFamilies(List<OsFamily> osFamilies) The OS families the package belongs to.- Parameters:
- osFamilies- the value to set
- Returns:
- this builder
 
 - 
buildpublic SoftwarePackage build() 
 - 
copypublic SoftwarePackage.Builder copy(SoftwarePackage model) 
 
- 
 
-