Class SoftwarePackageFile.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.SoftwarePackageFile.Builder
-
- Enclosing class:
- SoftwarePackageFile
public static class SoftwarePackageFile.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
path
public SoftwarePackageFile.Builder path(String path)
File path.- Parameters:
path
- the value to set- Returns:
- this builder
-
type
public SoftwarePackageFile.Builder type(String type)
Type of the file.- Parameters:
type
- the value to set- Returns:
- this builder
-
timeModified
public SoftwarePackageFile.Builder timeModified(Date timeModified)
The date and time the file was last modified (in RFC 3339 format).- Parameters:
timeModified
- the value to set- Returns:
- this builder
-
checksum
public SoftwarePackageFile.Builder checksum(String checksum)
Checksum of the file.- Parameters:
checksum
- the value to set- Returns:
- this builder
-
checksumType
public SoftwarePackageFile.Builder checksumType(String checksumType)
Type of the checksum.- Parameters:
checksumType
- the value to set- Returns:
- this builder
-
sizeInBytes
public SoftwarePackageFile.Builder sizeInBytes(Long sizeInBytes)
Size of the file in bytes.- Parameters:
sizeInBytes
- the value to set- Returns:
- this builder
-
build
public SoftwarePackageFile build()
-
copy
public SoftwarePackageFile.Builder copy(SoftwarePackageFile model)
-
-