Class AddDataFilesDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.AddDataFilesDetails.Builder
-
- Enclosing class:
- AddDataFilesDetails
public static class AddDataFilesDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddDataFilesDetails.Builder
autoExtendMaxSize(TablespaceStorageSize autoExtendMaxSize)
The maximum disk space allowed for automatic extension of the data files or temp files.AddDataFilesDetails.Builder
autoExtendNextSize(TablespaceStorageSize autoExtendNextSize)
The size of the next increment of disk space to be allocated automatically when more extents are required.AddDataFilesDetails
build()
AddDataFilesDetails.Builder
copy(AddDataFilesDetails model)
AddDataFilesDetails.Builder
credentialDetails(TablespaceAdminCredentialDetails credentialDetails)
AddDataFilesDetails.Builder
databaseCredential(DatabaseCredentialDetails databaseCredential)
AddDataFilesDetails.Builder
dataFiles(List<String> dataFiles)
The list of data files or temp files added to the tablespace.AddDataFilesDetails.Builder
fileCount(Integer fileCount)
The number of data files or temp files to be added for the tablespace.AddDataFilesDetails.Builder
fileSize(TablespaceStorageSize fileSize)
The size of each data file or temp file.AddDataFilesDetails.Builder
fileType(AddDataFilesDetails.FileType fileType)
Specifies whether the file is a data file or temp file.AddDataFilesDetails.Builder
isAutoExtensible(Boolean isAutoExtensible)
Specifies whether the data file or temp file can be extended automatically.AddDataFilesDetails.Builder
isMaxSizeUnlimited(Boolean isMaxSizeUnlimited)
Specifies whether the disk space of the data file or temp file can be limited.AddDataFilesDetails.Builder
isReusable(Boolean isReusable)
Specifies whether Oracle can reuse the data file or temp file.
-
-
-
Method Detail
-
credentialDetails
public AddDataFilesDetails.Builder credentialDetails(TablespaceAdminCredentialDetails credentialDetails)
-
databaseCredential
public AddDataFilesDetails.Builder databaseCredential(DatabaseCredentialDetails databaseCredential)
-
fileType
public AddDataFilesDetails.Builder fileType(AddDataFilesDetails.FileType fileType)
Specifies whether the file is a data file or temp file.- Parameters:
fileType
- the value to set- Returns:
- this builder
-
dataFiles
public AddDataFilesDetails.Builder dataFiles(List<String> dataFiles)
The list of data files or temp files added to the tablespace.- Parameters:
dataFiles
- the value to set- Returns:
- this builder
-
fileCount
public AddDataFilesDetails.Builder fileCount(Integer fileCount)
The number of data files or temp files to be added for the tablespace.This is for Oracle Managed Files only.
- Parameters:
fileCount
- the value to set- Returns:
- this builder
-
fileSize
public AddDataFilesDetails.Builder fileSize(TablespaceStorageSize fileSize)
The size of each data file or temp file.- Parameters:
fileSize
- the value to set- Returns:
- this builder
-
isReusable
public AddDataFilesDetails.Builder isReusable(Boolean isReusable)
Specifies whether Oracle can reuse the data file or temp file.Reuse is only allowed when the file name is provided.
- Parameters:
isReusable
- the value to set- Returns:
- this builder
-
isAutoExtensible
public AddDataFilesDetails.Builder isAutoExtensible(Boolean isAutoExtensible)
Specifies whether the data file or temp file can be extended automatically.- Parameters:
isAutoExtensible
- the value to set- Returns:
- this builder
-
autoExtendNextSize
public AddDataFilesDetails.Builder autoExtendNextSize(TablespaceStorageSize autoExtendNextSize)
The size of the next increment of disk space to be allocated automatically when more extents are required.- Parameters:
autoExtendNextSize
- the value to set- Returns:
- this builder
-
autoExtendMaxSize
public AddDataFilesDetails.Builder autoExtendMaxSize(TablespaceStorageSize autoExtendMaxSize)
The maximum disk space allowed for automatic extension of the data files or temp files.- Parameters:
autoExtendMaxSize
- the value to set- Returns:
- this builder
-
isMaxSizeUnlimited
public AddDataFilesDetails.Builder isMaxSizeUnlimited(Boolean isMaxSizeUnlimited)
Specifies whether the disk space of the data file or temp file can be limited.- Parameters:
isMaxSizeUnlimited
- the value to set- Returns:
- this builder
-
build
public AddDataFilesDetails build()
-
copy
public AddDataFilesDetails.Builder copy(AddDataFilesDetails model)
-
-