Class CreateTablespaceDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CreateTablespaceDetails.Builder
-
- Enclosing class:
- CreateTablespaceDetails
public static class CreateTablespaceDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTablespaceDetails.BuilderautoExtendMaxSize(TablespaceStorageSize autoExtendMaxSize)The maximum disk space allowed for automatic extension of the data files or temp files.CreateTablespaceDetails.BuilderautoExtendNextSize(TablespaceStorageSize autoExtendNextSize)The size of the next increment of disk space to be allocated automatically when more extents are required.CreateTablespaceDetails.BuilderblockSizeInKilobytes(Integer blockSizeInKilobytes)Block size for the tablespace.CreateTablespaceDetailsbuild()CreateTablespaceDetails.Buildercopy(CreateTablespaceDetails model)CreateTablespaceDetails.BuildercredentialDetails(TablespaceAdminCredentialDetails credentialDetails)CreateTablespaceDetails.BuilderdatabaseCredential(DatabaseCredentialDetails databaseCredential)CreateTablespaceDetails.BuilderdataFiles(List<String> dataFiles)The list of data files or temp files created for the tablespace.CreateTablespaceDetails.BuilderdefaultCompress(CreateTablespaceDetails.DefaultCompress defaultCompress)The default compression of data for all tables created in the tablespace.CreateTablespaceDetails.BuilderencryptionAlgorithm(String encryptionAlgorithm)The name of the encryption algorithm to be used for tablespace encryption.CreateTablespaceDetails.BuilderextentManagement(CreateTablespaceDetails.ExtentManagement extentManagement)Specifies how the extents of the tablespace should be managed.CreateTablespaceDetails.BuilderextentUniformSize(TablespaceStorageSize extentUniformSize)The size of the extent when the tablespace is managed with uniform extents of a specific size.CreateTablespaceDetails.BuilderfileCount(Integer fileCount)The number of data files or temp files created for the tablespace.CreateTablespaceDetails.BuilderfileSize(TablespaceStorageSize fileSize)The size of each data file or temp file.CreateTablespaceDetails.BuilderisAutoExtensible(Boolean isAutoExtensible)Specifies whether the data file or temp file can be extended automatically.CreateTablespaceDetails.BuilderisBigfile(Boolean isBigfile)Specifies whether the tablespace is a bigfile or smallfile tablespace.CreateTablespaceDetails.BuilderisDefault(Boolean isDefault)Specifies whether the tablespace is the default tablespace.CreateTablespaceDetails.BuilderisEncrypted(Boolean isEncrypted)Indicates whether the tablespace is encrypted.CreateTablespaceDetails.BuilderisMaxSizeUnlimited(Boolean isMaxSizeUnlimited)Specifies whether the disk space of the data file or temp file can be limited.CreateTablespaceDetails.BuilderisReusable(Boolean isReusable)Specifies whether Oracle can reuse the data file or temp file.CreateTablespaceDetails.Buildername(String name)The name of the tablespace.CreateTablespaceDetails.BuildersegmentManagement(CreateTablespaceDetails.SegmentManagement segmentManagement)Specifies whether tablespace segment management should be automatic or manual.CreateTablespaceDetails.Builderstatus(CreateTablespaceDetails.Status status)The status of the tablespace.CreateTablespaceDetails.Buildertype(CreateTablespaceDetails.Type type)The type of tablespace.
-
-
-
Method Detail
-
credentialDetails
public CreateTablespaceDetails.Builder credentialDetails(TablespaceAdminCredentialDetails credentialDetails)
-
databaseCredential
public CreateTablespaceDetails.Builder databaseCredential(DatabaseCredentialDetails databaseCredential)
-
name
public CreateTablespaceDetails.Builder name(String name)
The name of the tablespace.It must be unique within a database.
- Parameters:
name- the value to set- Returns:
- this builder
-
type
public CreateTablespaceDetails.Builder type(CreateTablespaceDetails.Type type)
The type of tablespace.- Parameters:
type- the value to set- Returns:
- this builder
-
isBigfile
public 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.
- Parameters:
isBigfile- the value to set- Returns:
- this builder
-
dataFiles
public CreateTablespaceDetails.Builder dataFiles(List<String> dataFiles)
The list of data files or temp files created for the tablespace.- Parameters:
dataFiles- the value to set- Returns:
- this builder
-
fileCount
public CreateTablespaceDetails.Builder fileCount(Integer fileCount)
The number of data files or temp files created for the tablespace.This is for Oracle Managed Files only.
- Parameters:
fileCount- the value to set- Returns:
- this builder
-
fileSize
public CreateTablespaceDetails.Builder fileSize(TablespaceStorageSize fileSize)
The size of each data file or temp file.- Parameters:
fileSize- the value to set- Returns:
- this builder
-
isReusable
public 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.
- Parameters:
isReusable- the value to set- Returns:
- this builder
-
isAutoExtensible
public CreateTablespaceDetails.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 CreateTablespaceDetails.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 CreateTablespaceDetails.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 CreateTablespaceDetails.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
-
blockSizeInKilobytes
public CreateTablespaceDetails.Builder blockSizeInKilobytes(Integer blockSizeInKilobytes)
Block size for the tablespace.- Parameters:
blockSizeInKilobytes- the value to set- Returns:
- this builder
-
isEncrypted
public CreateTablespaceDetails.Builder isEncrypted(Boolean isEncrypted)
Indicates whether the tablespace is encrypted.- Parameters:
isEncrypted- the value to set- Returns:
- this builder
-
encryptionAlgorithm
public CreateTablespaceDetails.Builder encryptionAlgorithm(String encryptionAlgorithm)
The name of the encryption algorithm to be used for tablespace encryption.- Parameters:
encryptionAlgorithm- the value to set- Returns:
- this builder
-
defaultCompress
public CreateTablespaceDetails.Builder defaultCompress(CreateTablespaceDetails.DefaultCompress defaultCompress)
The default compression of data for all tables created in the tablespace.- Parameters:
defaultCompress- the value to set- Returns:
- this builder
-
status
public CreateTablespaceDetails.Builder status(CreateTablespaceDetails.Status status)
The status of the tablespace.- Parameters:
status- the value to set- Returns:
- this builder
-
extentManagement
public CreateTablespaceDetails.Builder extentManagement(CreateTablespaceDetails.ExtentManagement extentManagement)
Specifies how the extents of the tablespace should be managed.- Parameters:
extentManagement- the value to set- Returns:
- this builder
-
extentUniformSize
public CreateTablespaceDetails.Builder extentUniformSize(TablespaceStorageSize extentUniformSize)
The size of the extent when the tablespace is managed with uniform extents of a specific size.- Parameters:
extentUniformSize- the value to set- Returns:
- this builder
-
segmentManagement
public CreateTablespaceDetails.Builder segmentManagement(CreateTablespaceDetails.SegmentManagement segmentManagement)
Specifies whether tablespace segment management should be automatic or manual.- Parameters:
segmentManagement- the value to set- Returns:
- this builder
-
isDefault
public CreateTablespaceDetails.Builder isDefault(Boolean isDefault)
Specifies whether the tablespace is the default tablespace.- Parameters:
isDefault- the value to set- Returns:
- this builder
-
build
public CreateTablespaceDetails build()
-
copy
public CreateTablespaceDetails.Builder copy(CreateTablespaceDetails model)
-
-