public static class SoftwarePackage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SoftwarePackage.Builder |
architecture(String architecture)
the architecture for which this software was built
|
SoftwarePackage |
build() |
SoftwarePackage.Builder |
checksum(String checksum)
checksum of the package
|
SoftwarePackage.Builder |
checksumType(String checksumType)
type of the checksum
|
SoftwarePackage.Builder |
copy(SoftwarePackage model) |
SoftwarePackage.Builder |
dependencies(List<SoftwarePackageDependency> dependencies)
list of dependencies for the software package
|
SoftwarePackage.Builder |
description(String description)
description of the package
|
SoftwarePackage.Builder |
displayName(String displayName)
Package name
|
SoftwarePackage.Builder |
files(List<SoftwarePackageFile> files)
list of files for the software package
|
SoftwarePackage.Builder |
lastModifiedDate(String lastModifiedDate)
date of the last update to the package
|
SoftwarePackage.Builder |
name(String name)
Unique identifier for the package.
|
SoftwarePackage.Builder |
sizeInBytes(Long sizeInBytes)
size of the package in bytes
|
SoftwarePackage.Builder |
softwareSources(List<SoftwareSourceId> softwareSources)
list of software sources that provide the software package
|
SoftwarePackage.Builder |
type(String type)
Type of the package
|
SoftwarePackage.Builder |
version(String version)
Version of the package
|
public SoftwarePackage.Builder displayName(String displayName)
Package name
displayName
- the value to setpublic SoftwarePackage.Builder name(String name)
Unique identifier for the package. NOTE - This is not an OCID
name
- the value to setpublic SoftwarePackage.Builder type(String type)
Type of the package
type
- the value to setpublic SoftwarePackage.Builder version(String version)
Version of the package
version
- the value to setpublic SoftwarePackage.Builder architecture(String architecture)
the architecture for which this software was built
architecture
- the value to setpublic SoftwarePackage.Builder lastModifiedDate(String lastModifiedDate)
date of the last update to the package
lastModifiedDate
- the value to setpublic SoftwarePackage.Builder checksum(String checksum)
checksum of the package
checksum
- the value to setpublic SoftwarePackage.Builder checksumType(String checksumType)
type of the checksum
checksumType
- the value to setpublic SoftwarePackage.Builder description(String description)
description of the package
description
- the value to setpublic SoftwarePackage.Builder sizeInBytes(Long sizeInBytes)
size of the package in bytes
sizeInBytes
- the value to setpublic SoftwarePackage.Builder dependencies(List<SoftwarePackageDependency> dependencies)
list of dependencies for the software package
dependencies
- the value to setpublic SoftwarePackage.Builder files(List<SoftwarePackageFile> files)
list of files for the software package
files
- the value to setpublic SoftwarePackage.Builder softwareSources(List<SoftwareSourceId> softwareSources)
list of software sources that provide the software package
softwareSources
- the value to setpublic SoftwarePackage build()
public SoftwarePackage.Builder copy(SoftwarePackage model)
Copyright © 2016–2024. All rights reserved.