public static class SoftwarePackageSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public SoftwarePackageSummary.Builder displayName(String displayName)
Package name.
displayName
- the value to setpublic SoftwarePackageSummary.Builder name(String name)
Unique identifier for the package. Note that this is not an OCID.
name
- the value to setpublic SoftwarePackageSummary.Builder type(String type)
Type of the package.
type
- the value to setpublic SoftwarePackageSummary.Builder version(String version)
Version of the package.
version
- the value to setpublic SoftwarePackageSummary.Builder architecture(SoftwarePackageArchitecture architecture)
The architecture for which this software was built.
architecture
- the value to setpublic SoftwarePackageSummary.Builder checksum(String checksum)
Checksum of the package.
checksum
- the value to setpublic SoftwarePackageSummary.Builder checksumType(String checksumType)
Type of the checksum.
checksumType
- the value to setpublic SoftwarePackageSummary.Builder isLatest(Boolean isLatest)
Indicates whether this package is the latest version.
isLatest
- the value to setpublic SoftwarePackageSummary.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.
softwareSources
- the value to setpublic SoftwarePackageSummary.Builder osFamilies(List<OsFamily> osFamilies)
The OS families the package belongs to.
osFamilies
- the value to setpublic SoftwarePackageSummary build()
public SoftwarePackageSummary.Builder copy(SoftwarePackageSummary model)
Copyright © 2016–2024. All rights reserved.