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 model) |
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 the file was last modified (in RFC
3339 format).
|
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 the file was last modified (in RFC 3339 format).
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 model)
Copyright © 2016–2024. All rights reserved.