public static class CreateTablespaceDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateTablespaceDetails.Builder |
autoExtendMaxSize(TablespaceStorageSize autoExtendMaxSize)
The maximum disk space allowed for automatic extension of the data files or temp files.
|
CreateTablespaceDetails.Builder |
autoExtendNextSize(TablespaceStorageSize autoExtendNextSize)
The size of the next increment of disk space to be allocated automatically when more
extents are required.
|
CreateTablespaceDetails.Builder |
blockSizeInKilobytes(Integer blockSizeInKilobytes)
Block size for the tablespace.
|
CreateTablespaceDetails |
build() |
CreateTablespaceDetails.Builder |
copy(CreateTablespaceDetails model) |
CreateTablespaceDetails.Builder |
credentialDetails(TablespaceAdminCredentialDetails credentialDetails) |
CreateTablespaceDetails.Builder |
databaseCredential(DatabaseCredentialDetails databaseCredential) |
CreateTablespaceDetails.Builder |
dataFiles(List<String> dataFiles)
The list of data files or temp files created for the tablespace.
|
CreateTablespaceDetails.Builder |
defaultCompress(CreateTablespaceDetails.DefaultCompress defaultCompress)
The default compression of data for all tables created in the tablespace.
|
CreateTablespaceDetails.Builder |
encryptionAlgorithm(String encryptionAlgorithm)
The name of the encryption algorithm to be used for tablespace encryption.
|
CreateTablespaceDetails.Builder |
extentManagement(CreateTablespaceDetails.ExtentManagement extentManagement)
Specifies how the extents of the tablespace should be managed.
|
CreateTablespaceDetails.Builder |
extentUniformSize(TablespaceStorageSize extentUniformSize)
The size of the extent when the tablespace is managed with uniform extents of a specific
size.
|
CreateTablespaceDetails.Builder |
fileCount(Integer fileCount)
The number of data files or temp files created for the tablespace.
|
CreateTablespaceDetails.Builder |
fileSize(TablespaceStorageSize fileSize)
The size of each data file or temp file.
|
CreateTablespaceDetails.Builder |
isAutoExtensible(Boolean isAutoExtensible)
Specifies whether the data file or temp file can be extended automatically.
|
CreateTablespaceDetails.Builder |
isBigfile(Boolean isBigfile)
Specifies whether the tablespace is a bigfile or smallfile tablespace.
|
CreateTablespaceDetails.Builder |
isDefault(Boolean isDefault)
Specifies whether the tablespace is the default tablespace.
|
CreateTablespaceDetails.Builder |
isEncrypted(Boolean isEncrypted)
Indicates whether the tablespace is encrypted.
|
CreateTablespaceDetails.Builder |
isMaxSizeUnlimited(Boolean isMaxSizeUnlimited)
Specifies whether the disk space of the data file or temp file can be limited.
|
CreateTablespaceDetails.Builder |
isReusable(Boolean isReusable)
Specifies whether Oracle can reuse the data file or temp file.
|
CreateTablespaceDetails.Builder |
name(String name)
The name of the tablespace.
|
CreateTablespaceDetails.Builder |
segmentManagement(CreateTablespaceDetails.SegmentManagement segmentManagement)
Specifies whether tablespace segment management should be automatic or manual.
|
CreateTablespaceDetails.Builder |
status(CreateTablespaceDetails.Status status)
The status of the tablespace.
|
CreateTablespaceDetails.Builder |
type(CreateTablespaceDetails.Type type)
The type of tablespace.
|
public CreateTablespaceDetails.Builder credentialDetails(TablespaceAdminCredentialDetails credentialDetails)
public CreateTablespaceDetails.Builder databaseCredential(DatabaseCredentialDetails databaseCredential)
public CreateTablespaceDetails.Builder name(String name)
The name of the tablespace. It must be unique within a database.
name
- the value to setpublic CreateTablespaceDetails.Builder type(CreateTablespaceDetails.Type type)
The type of tablespace.
type
- the value to setpublic CreateTablespaceDetails.Builder isBigfile(Boolean isBigfile)
Specifies whether the tablespace is a bigfile or smallfile tablespace. A bigfile tablespace contains only one data file or temp file, which can contain up to approximately 4 billion (232) blocks. A smallfile tablespace is a traditional Oracle tablespace, which can contain 1022 data files or temp files, each of which can contain up to approximately 4 million (222) blocks.
isBigfile
- the value to setpublic CreateTablespaceDetails.Builder dataFiles(List<String> dataFiles)
The list of data files or temp files created for the tablespace.
dataFiles
- the value to setpublic CreateTablespaceDetails.Builder fileCount(Integer fileCount)
The number of data files or temp files created for the tablespace. This is for Oracle Managed Files only.
fileCount
- the value to setpublic CreateTablespaceDetails.Builder fileSize(TablespaceStorageSize fileSize)
The size of each data file or temp file.
fileSize
- the value to setpublic CreateTablespaceDetails.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.
isReusable
- the value to setpublic CreateTablespaceDetails.Builder isAutoExtensible(Boolean isAutoExtensible)
Specifies whether the data file or temp file can be extended automatically.
isAutoExtensible
- the value to setpublic CreateTablespaceDetails.Builder autoExtendNextSize(TablespaceStorageSize autoExtendNextSize)
The size of the next increment of disk space to be allocated automatically when more extents are required.
autoExtendNextSize
- the value to setpublic CreateTablespaceDetails.Builder autoExtendMaxSize(TablespaceStorageSize autoExtendMaxSize)
The maximum disk space allowed for automatic extension of the data files or temp files.
autoExtendMaxSize
- the value to setpublic CreateTablespaceDetails.Builder isMaxSizeUnlimited(Boolean isMaxSizeUnlimited)
Specifies whether the disk space of the data file or temp file can be limited.
isMaxSizeUnlimited
- the value to setpublic CreateTablespaceDetails.Builder blockSizeInKilobytes(Integer blockSizeInKilobytes)
Block size for the tablespace.
blockSizeInKilobytes
- the value to setpublic CreateTablespaceDetails.Builder isEncrypted(Boolean isEncrypted)
Indicates whether the tablespace is encrypted.
isEncrypted
- the value to setpublic CreateTablespaceDetails.Builder encryptionAlgorithm(String encryptionAlgorithm)
The name of the encryption algorithm to be used for tablespace encryption.
encryptionAlgorithm
- the value to setpublic CreateTablespaceDetails.Builder defaultCompress(CreateTablespaceDetails.DefaultCompress defaultCompress)
The default compression of data for all tables created in the tablespace.
defaultCompress
- the value to setpublic CreateTablespaceDetails.Builder status(CreateTablespaceDetails.Status status)
The status of the tablespace.
status
- the value to setpublic CreateTablespaceDetails.Builder extentManagement(CreateTablespaceDetails.ExtentManagement extentManagement)
Specifies how the extents of the tablespace should be managed.
extentManagement
- the value to setpublic CreateTablespaceDetails.Builder extentUniformSize(TablespaceStorageSize extentUniformSize)
The size of the extent when the tablespace is managed with uniform extents of a specific size.
extentUniformSize
- the value to setpublic CreateTablespaceDetails.Builder segmentManagement(CreateTablespaceDetails.SegmentManagement segmentManagement)
Specifies whether tablespace segment management should be automatic or manual.
segmentManagement
- the value to setpublic CreateTablespaceDetails.Builder isDefault(Boolean isDefault)
Specifies whether the tablespace is the default tablespace.
isDefault
- the value to setpublic CreateTablespaceDetails build()
public CreateTablespaceDetails.Builder copy(CreateTablespaceDetails model)
Copyright © 2016–2024. All rights reserved.