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 SoftwarePackageFilebuild()SoftwarePackageFile.Builderchecksum(String checksum)Checksum of the file.SoftwarePackageFile.BuilderchecksumType(String checksumType)Type of the checksum.SoftwarePackageFile.Buildercopy(SoftwarePackageFile model)SoftwarePackageFile.Builderpath(String path)File path.SoftwarePackageFile.BuildersizeInBytes(Long sizeInBytes)Size of the file in bytes.SoftwarePackageFile.BuildertimeModified(Date timeModified)The date and time the file was last modified (in RFC 3339 format).SoftwarePackageFile.Buildertype(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)
-
-