public static class SoftwarePackageFile.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SoftwarePackageFile |
build() |
SoftwarePackageFile.Builder |
checksum(String checksum)
checksum of the file
|
SoftwarePackageFile.Builder |
checksumType(String checksumType)
type of the checksum
|
SoftwarePackageFile.Builder |
copy(SoftwarePackageFile o) |
SoftwarePackageFile.Builder |
path(String path)
file path
|
SoftwarePackageFile.Builder |
sizeInBytes(Long sizeInBytes)
size of the file in bytes
|
SoftwarePackageFile.Builder |
timeModified(Date timeModified)
The date and time of the last modification to this file, as described
in RFC 3339, section 14.29.
|
SoftwarePackageFile.Builder |
type(String type)
type of the file
|
public SoftwarePackageFile.Builder path(String path)
file path
path - the value to setpublic SoftwarePackageFile.Builder type(String type)
type of the file
type - the value to setpublic SoftwarePackageFile.Builder timeModified(Date timeModified)
The date and time of the last modification to this file, as described in RFC 3339, section 14.29.
timeModified - the value to setpublic SoftwarePackageFile.Builder checksum(String checksum)
checksum of the file
checksum - the value to setpublic SoftwarePackageFile.Builder checksumType(String checksumType)
type of the checksum
checksumType - the value to setpublic SoftwarePackageFile.Builder sizeInBytes(Long sizeInBytes)
size of the file in bytes
sizeInBytes - the value to setpublic SoftwarePackageFile build()
public SoftwarePackageFile.Builder copy(SoftwarePackageFile o)
Copyright © 2016–2022. All rights reserved.