Class Datafile.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.Datafile.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Datafile.BuilderallocatedSizeKB(BigDecimal allocatedSizeKB)The allocated file size in KB.Datafilebuild()Datafile.Buildercopy(Datafile model)Datafile.BuilderfreeSpaceKB(BigDecimal freeSpaceKB)The free space available in the data file in KB.Datafile.BuilderincrementBy(BigDecimal incrementBy)The number of blocks used as auto-extension increment.Datafile.BuilderinstanceId(BigDecimal instanceId)Instance ID of the instance to which the temp file belongs.Datafile.BuilderisAutoExtensible(Boolean isAutoExtensible)Indicates whether the data file is auto-extensible.Datafile.BuilderlostWriteProtect(Datafile.LostWriteProtect lostWriteProtect)The lost write protection status of the file.Datafile.BuildermaxSizeKB(BigDecimal maxSizeKB)The maximum file size in KB.Datafile.Buildername(String name)The filename (including the path) of the data file or temp file.Datafile.BuilderonlineStatus(Datafile.OnlineStatus onlineStatus)The online status of the file.Datafile.Buildershared(Datafile.Shared shared)Type of tablespace this file belongs to.Datafile.Builderstatus(Datafile.Status status)The status of the file.Datafile.BuilderusedPercentAllocated(Double usedPercentAllocated)The percentage of used space out of the total allocated space in the file.Datafile.BuilderusedPercentAvailable(Double usedPercentAvailable)The percentage of used space out of the maximum available space in the file.Datafile.BuilderusedSpaceKB(BigDecimal usedSpaceKB)The total space used in the data file in KB.Datafile.BuilderuserSizeKB(BigDecimal userSizeKB)The size of the file available for user data in KB.
 
- 
- 
- 
Method Detail- 
namepublic Datafile.Builder name(String name) The filename (including the path) of the data file or temp file.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
statuspublic Datafile.Builder status(Datafile.Status status) The status of the file.INVALID status is used when the file number is not in use, for example, a file in a tablespace that was removed. - Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
onlineStatuspublic Datafile.Builder onlineStatus(Datafile.OnlineStatus onlineStatus) The online status of the file.- Parameters:
- onlineStatus- the value to set
- Returns:
- this builder
 
 - 
isAutoExtensiblepublic Datafile.Builder isAutoExtensible(Boolean isAutoExtensible) Indicates whether the data file is auto-extensible.- Parameters:
- isAutoExtensible- the value to set
- Returns:
- this builder
 
 - 
lostWriteProtectpublic Datafile.Builder lostWriteProtect(Datafile.LostWriteProtect lostWriteProtect) The lost write protection status of the file.- Parameters:
- lostWriteProtect- the value to set
- Returns:
- this builder
 
 - 
sharedpublic Datafile.Builder shared(Datafile.Shared shared) Type of tablespace this file belongs to.If it’s for a shared tablespace, for a local temporary tablespace for RIM (read-only) instances, or for local temporary tablespace for all instance types. - Parameters:
- shared- the value to set
- Returns:
- this builder
 
 - 
instanceIdpublic Datafile.Builder instanceId(BigDecimal instanceId) Instance ID of the instance to which the temp file belongs.This column has a NULL value for temp files that belong to shared tablespaces. - Parameters:
- instanceId- the value to set
- Returns:
- this builder
 
 - 
maxSizeKBpublic Datafile.Builder maxSizeKB(BigDecimal maxSizeKB) The maximum file size in KB.- Parameters:
- maxSizeKB- the value to set
- Returns:
- this builder
 
 - 
allocatedSizeKBpublic Datafile.Builder allocatedSizeKB(BigDecimal allocatedSizeKB) The allocated file size in KB.- Parameters:
- allocatedSizeKB- the value to set
- Returns:
- this builder
 
 - 
userSizeKBpublic Datafile.Builder userSizeKB(BigDecimal userSizeKB) The size of the file available for user data in KB.The actual size of the file minus the USER_BYTES value is used to store file-related metadata. - Parameters:
- userSizeKB- the value to set
- Returns:
- this builder
 
 - 
incrementBypublic Datafile.Builder incrementBy(BigDecimal incrementBy) The number of blocks used as auto-extension increment.- Parameters:
- incrementBy- the value to set
- Returns:
- this builder
 
 - 
freeSpaceKBpublic Datafile.Builder freeSpaceKB(BigDecimal freeSpaceKB) The free space available in the data file in KB.- Parameters:
- freeSpaceKB- the value to set
- Returns:
- this builder
 
 - 
usedSpaceKBpublic Datafile.Builder usedSpaceKB(BigDecimal usedSpaceKB) The total space used in the data file in KB.- Parameters:
- usedSpaceKB- the value to set
- Returns:
- this builder
 
 - 
usedPercentAvailablepublic Datafile.Builder usedPercentAvailable(Double usedPercentAvailable) The percentage of used space out of the maximum available space in the file.- Parameters:
- usedPercentAvailable- the value to set
- Returns:
- this builder
 
 - 
usedPercentAllocatedpublic Datafile.Builder usedPercentAllocated(Double usedPercentAllocated) The percentage of used space out of the total allocated space in the file.- Parameters:
- usedPercentAllocated- the value to set
- Returns:
- this builder
 
 - 
buildpublic Datafile build() 
 - 
copypublic Datafile.Builder copy(Datafile model) 
 
- 
 
-