Class TablespaceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.TablespaceSummary.Builder
-
- Enclosing class:
- TablespaceSummary
public static class TablespaceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TablespaceSummary.Builder
allocatedSizeKB(BigDecimal allocatedSizeKB)
The allocated tablespace size in KB.TablespaceSummary.Builder
allocationType(TablespaceSummary.AllocationType allocationType)
The type of extent allocation in effect for the tablespace.TablespaceSummary.Builder
blockSizeBytes(BigDecimal blockSizeBytes)
The tablespace block size.TablespaceSummary
build()
TablespaceSummary.Builder
compressFor(TablespaceSummary.CompressFor compressFor)
The operation type for which default compression is enabled.TablespaceSummary.Builder
copy(TablespaceSummary model)
TablespaceSummary.Builder
datafiles(List<Datafile> datafiles)
A list of the data files associated with the tablespace.TablespaceSummary.Builder
defaultCellMemory(String defaultCellMemory)
This specifies the default value for the CELLMEMORY attribute that tables created in the tablespace will inherit unless the behavior is overridden explicitly.TablespaceSummary.Builder
defaultIndexCompression(TablespaceSummary.DefaultIndexCompression defaultIndexCompression)
Indicates whether default index compression is enabled or disabled.TablespaceSummary.Builder
defaultInMemory(TablespaceSummary.DefaultInMemory defaultInMemory)
Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in the tablespace.TablespaceSummary.Builder
defaultInMemoryCompression(TablespaceSummary.DefaultInMemoryCompression defaultInMemoryCompression)
Indicates the default compression level for the IM column store for the tablespace.TablespaceSummary.Builder
defaultInMemoryDistribute(TablespaceSummary.DefaultInMemoryDistribute defaultInMemoryDistribute)
Indicates how the IM column store is distributed by default for the tablespace in an Oracle Real Application Clusters (Oracle RAC) environment.TablespaceSummary.Builder
defaultInMemoryDuplicate(TablespaceSummary.DefaultInMemoryDuplicate defaultInMemoryDuplicate)
Indicates the duplicate setting for the IM column store in an Oracle RAC environment.TablespaceSummary.Builder
defaultInMemoryPriority(TablespaceSummary.DefaultInMemoryPriority defaultInMemoryPriority)
Indicates the default priority for In-Memory Column Store (IM column store) population for the tablespace.TablespaceSummary.Builder
defaultInMemoryService(TablespaceSummary.DefaultInMemoryService defaultInMemoryService)
Indicates how the IM column store is populated on various instances by default for the tablespace.TablespaceSummary.Builder
defaultInMemoryServiceName(String defaultInMemoryServiceName)
Indicates the service name for the service on which the IM column store should be populated by default for the tablespace.TablespaceSummary.Builder
defaultTableCompression(TablespaceSummary.DefaultTableCompression defaultTableCompression)
Indicates whether default table compression is enabled or disabled.TablespaceSummary.Builder
extentManagement(TablespaceSummary.ExtentManagement extentManagement)
Indicates whether the extents in the tablespace are Locally managed or Dictionary managed.TablespaceSummary.Builder
freeSpaceKB(BigDecimal freeSpaceKB)
The free space available in the tablespace in KB.TablespaceSummary.Builder
indexCompressFor(TablespaceSummary.IndexCompressFor indexCompressFor)
The operation type for which default index compression is enabled.TablespaceSummary.Builder
isBigfile(Boolean isBigfile)
Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace.TablespaceSummary.Builder
isChunkTablespace(Boolean isChunkTablespace)
Indicates whether this is a chunk tablespace.TablespaceSummary.Builder
isDefault(Boolean isDefault)
Indicates whether this is the default tablespace.TablespaceSummary.Builder
isEncrypted(Boolean isEncrypted)
Indicates whether the tablespace is encrypted.TablespaceSummary.Builder
isForceLogging(Boolean isForceLogging)
Indicates whether the tablespace is under Force Logging mode.TablespaceSummary.Builder
isPluggedIn(Boolean isPluggedIn)
Indicates whether the tablespace is plugged in.TablespaceSummary.Builder
logging(TablespaceSummary.Logging logging)
The default logging attribute.TablespaceSummary.Builder
lostWriteProtect(TablespaceSummary.LostWriteProtect lostWriteProtect)
The lost write protection setting for the tablespace.TablespaceSummary.Builder
maxSizeKB(BigDecimal maxSizeKB)
The maximum tablespace size in KB.TablespaceSummary.Builder
name(String name)
The name of the tablespace.TablespaceSummary.Builder
predicateEvaluation(TablespaceSummary.PredicateEvaluation predicateEvaluation)
Indicates whether predicates are evaluated by Host or by Storage.TablespaceSummary.Builder
retention(TablespaceSummary.Retention retention)
Indicates whether undo retention guarantee is enabled for the tablespace.TablespaceSummary.Builder
segmentSpaceManagement(TablespaceSummary.SegmentSpaceManagement segmentSpaceManagement)
Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO).TablespaceSummary.Builder
shared(TablespaceSummary.Shared shared)
Indicates whether the tablespace is for shared tablespace, or for local temporary tablespace for leaf (read-only) instances, or for local temporary tablespace for all instance types.TablespaceSummary.Builder
status(TablespaceSummary.Status status)
The status of the tablespace.TablespaceSummary.Builder
tempGroup(String tempGroup)
The temporary tablespace group.TablespaceSummary.Builder
type(TablespaceSummary.Type type)
The type of tablespace.TablespaceSummary.Builder
usedPercentAllocated(Double usedPercentAllocated)
The percentage of used space out of the total allocated space in the tablespace.TablespaceSummary.Builder
usedPercentAvailable(Double usedPercentAvailable)
The percentage of used space out of the maximum available space in the tablespace.TablespaceSummary.Builder
usedSpaceKB(BigDecimal usedSpaceKB)
The total space used by the tablespace in KB.TablespaceSummary.Builder
userSizeKB(BigDecimal userSizeKB)
The size of the tablespace available for user data in KB.
-
-
-
Method Detail
-
name
public TablespaceSummary.Builder name(String name)
The name of the tablespace.- Parameters:
name
- the value to set- Returns:
- this builder
-
type
public TablespaceSummary.Builder type(TablespaceSummary.Type type)
The type of tablespace.- Parameters:
type
- the value to set- Returns:
- this builder
-
status
public TablespaceSummary.Builder status(TablespaceSummary.Status status)
The status of the tablespace.- Parameters:
status
- the value to set- Returns:
- this builder
-
blockSizeBytes
public TablespaceSummary.Builder blockSizeBytes(BigDecimal blockSizeBytes)
The tablespace block size.- Parameters:
blockSizeBytes
- the value to set- Returns:
- this builder
-
logging
public TablespaceSummary.Builder logging(TablespaceSummary.Logging logging)
The default logging attribute.- Parameters:
logging
- the value to set- Returns:
- this builder
-
isForceLogging
public TablespaceSummary.Builder isForceLogging(Boolean isForceLogging)
Indicates whether the tablespace is under Force Logging mode.- Parameters:
isForceLogging
- the value to set- Returns:
- this builder
-
extentManagement
public TablespaceSummary.Builder extentManagement(TablespaceSummary.ExtentManagement extentManagement)
Indicates whether the extents in the tablespace are Locally managed or Dictionary managed.- Parameters:
extentManagement
- the value to set- Returns:
- this builder
-
allocationType
public TablespaceSummary.Builder allocationType(TablespaceSummary.AllocationType allocationType)
The type of extent allocation in effect for the tablespace.- Parameters:
allocationType
- the value to set- Returns:
- this builder
-
isPluggedIn
public TablespaceSummary.Builder isPluggedIn(Boolean isPluggedIn)
Indicates whether the tablespace is plugged in.- Parameters:
isPluggedIn
- the value to set- Returns:
- this builder
-
segmentSpaceManagement
public TablespaceSummary.Builder segmentSpaceManagement(TablespaceSummary.SegmentSpaceManagement segmentSpaceManagement)
Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO).- Parameters:
segmentSpaceManagement
- the value to set- Returns:
- this builder
-
defaultTableCompression
public TablespaceSummary.Builder defaultTableCompression(TablespaceSummary.DefaultTableCompression defaultTableCompression)
Indicates whether default table compression is enabled or disabled.- Parameters:
defaultTableCompression
- the value to set- Returns:
- this builder
-
retention
public TablespaceSummary.Builder retention(TablespaceSummary.Retention retention)
Indicates whether undo retention guarantee is enabled for the tablespace.- Parameters:
retention
- the value to set- Returns:
- this builder
-
isBigfile
public TablespaceSummary.Builder isBigfile(Boolean isBigfile)
Indicates whether the tablespace is a Bigfile tablespace or a Smallfile tablespace.- Parameters:
isBigfile
- the value to set- Returns:
- this builder
-
predicateEvaluation
public TablespaceSummary.Builder predicateEvaluation(TablespaceSummary.PredicateEvaluation predicateEvaluation)
Indicates whether predicates are evaluated by Host or by Storage.- Parameters:
predicateEvaluation
- the value to set- Returns:
- this builder
-
isEncrypted
public TablespaceSummary.Builder isEncrypted(Boolean isEncrypted)
Indicates whether the tablespace is encrypted.- Parameters:
isEncrypted
- the value to set- Returns:
- this builder
-
compressFor
public TablespaceSummary.Builder compressFor(TablespaceSummary.CompressFor compressFor)
The operation type for which default compression is enabled.- Parameters:
compressFor
- the value to set- Returns:
- this builder
-
defaultInMemory
public TablespaceSummary.Builder defaultInMemory(TablespaceSummary.DefaultInMemory defaultInMemory)
Indicates whether the In-Memory Column Store (IM column store) is by default enabled or disabled for tables in the tablespace.- Parameters:
defaultInMemory
- the value to set- Returns:
- this builder
-
defaultInMemoryPriority
public TablespaceSummary.Builder defaultInMemoryPriority(TablespaceSummary.DefaultInMemoryPriority defaultInMemoryPriority)
Indicates the default priority for In-Memory Column Store (IM column store) population for the tablespace.- Parameters:
defaultInMemoryPriority
- the value to set- Returns:
- this builder
-
defaultInMemoryDistribute
public TablespaceSummary.Builder defaultInMemoryDistribute(TablespaceSummary.DefaultInMemoryDistribute defaultInMemoryDistribute)
Indicates how the IM column store is distributed by default for the tablespace in an Oracle Real Application Clusters (Oracle RAC) environment.- Parameters:
defaultInMemoryDistribute
- the value to set- Returns:
- this builder
-
defaultInMemoryCompression
public TablespaceSummary.Builder defaultInMemoryCompression(TablespaceSummary.DefaultInMemoryCompression defaultInMemoryCompression)
Indicates the default compression level for the IM column store for the tablespace.- Parameters:
defaultInMemoryCompression
- the value to set- Returns:
- this builder
-
defaultInMemoryDuplicate
public TablespaceSummary.Builder defaultInMemoryDuplicate(TablespaceSummary.DefaultInMemoryDuplicate defaultInMemoryDuplicate)
Indicates the duplicate setting for the IM column store in an Oracle RAC environment.- Parameters:
defaultInMemoryDuplicate
- the value to set- Returns:
- this builder
-
shared
public TablespaceSummary.Builder shared(TablespaceSummary.Shared shared)
Indicates whether the tablespace is for shared tablespace, or for local temporary tablespace for leaf (read-only) instances, or for local temporary tablespace for all instance types.- Parameters:
shared
- the value to set- Returns:
- this builder
-
defaultIndexCompression
public TablespaceSummary.Builder defaultIndexCompression(TablespaceSummary.DefaultIndexCompression defaultIndexCompression)
Indicates whether default index compression is enabled or disabled.- Parameters:
defaultIndexCompression
- the value to set- Returns:
- this builder
-
indexCompressFor
public TablespaceSummary.Builder indexCompressFor(TablespaceSummary.IndexCompressFor indexCompressFor)
The operation type for which default index compression is enabled.- Parameters:
indexCompressFor
- the value to set- Returns:
- this builder
-
defaultCellMemory
public TablespaceSummary.Builder defaultCellMemory(String defaultCellMemory)
This specifies the default value for the CELLMEMORY attribute that tables created in the tablespace will inherit unless the behavior is overridden explicitly.This column is intended for use with Oracle Exadata.
- Parameters:
defaultCellMemory
- the value to set- Returns:
- this builder
-
defaultInMemoryService
public TablespaceSummary.Builder defaultInMemoryService(TablespaceSummary.DefaultInMemoryService defaultInMemoryService)
Indicates how the IM column store is populated on various instances by default for the tablespace.- Parameters:
defaultInMemoryService
- the value to set- Returns:
- this builder
-
defaultInMemoryServiceName
public TablespaceSummary.Builder defaultInMemoryServiceName(String defaultInMemoryServiceName)
Indicates the service name for the service on which the IM column store should be populated by default for the tablespace.This column has a value only when the corresponding DEF_INMEMORY_SERVICE is USER_DEFINED. In all other cases, this column is null.
- Parameters:
defaultInMemoryServiceName
- the value to set- Returns:
- this builder
-
lostWriteProtect
public TablespaceSummary.Builder lostWriteProtect(TablespaceSummary.LostWriteProtect lostWriteProtect)
The lost write protection setting for the tablespace.- Parameters:
lostWriteProtect
- the value to set- Returns:
- this builder
-
isChunkTablespace
public TablespaceSummary.Builder isChunkTablespace(Boolean isChunkTablespace)
Indicates whether this is a chunk tablespace.- Parameters:
isChunkTablespace
- the value to set- Returns:
- this builder
-
tempGroup
public TablespaceSummary.Builder tempGroup(String tempGroup)
The temporary tablespace group.- Parameters:
tempGroup
- the value to set- Returns:
- this builder
-
maxSizeKB
public TablespaceSummary.Builder maxSizeKB(BigDecimal maxSizeKB)
The maximum tablespace size in KB.If the tablespace contains any data files with Autoextend enabled, then this column displays the amount of underlying free storage space for the tablespace. For example, if the current tablespace size is 1 GB, the combined maximum size of all its data files is 32 GB, and its underlying storage (for example, ASM or file system storage) has 20 GB of free space, then this column will have a value of approximately 20 GB. If the tablespace contains only data files with autoextend disabled, then this column displays the allocated space for the entire tablespace, that is, the combined size of all data files in the tablespace.
- Parameters:
maxSizeKB
- the value to set- Returns:
- this builder
-
allocatedSizeKB
public TablespaceSummary.Builder allocatedSizeKB(BigDecimal allocatedSizeKB)
The allocated tablespace size in KB.- Parameters:
allocatedSizeKB
- the value to set- Returns:
- this builder
-
userSizeKB
public TablespaceSummary.Builder userSizeKB(BigDecimal userSizeKB)
The size of the tablespace available for user data in KB.The difference between tablespace size and user data size is used for storing metadata.
- Parameters:
userSizeKB
- the value to set- Returns:
- this builder
-
freeSpaceKB
public TablespaceSummary.Builder freeSpaceKB(BigDecimal freeSpaceKB)
The free space available in the tablespace in KB.- Parameters:
freeSpaceKB
- the value to set- Returns:
- this builder
-
usedSpaceKB
public TablespaceSummary.Builder usedSpaceKB(BigDecimal usedSpaceKB)
The total space used by the tablespace in KB.- Parameters:
usedSpaceKB
- the value to set- Returns:
- this builder
-
usedPercentAvailable
public TablespaceSummary.Builder usedPercentAvailable(Double usedPercentAvailable)
The percentage of used space out of the maximum available space in the tablespace.- Parameters:
usedPercentAvailable
- the value to set- Returns:
- this builder
-
usedPercentAllocated
public TablespaceSummary.Builder usedPercentAllocated(Double usedPercentAllocated)
The percentage of used space out of the total allocated space in the tablespace.- Parameters:
usedPercentAllocated
- the value to set- Returns:
- this builder
-
isDefault
public TablespaceSummary.Builder isDefault(Boolean isDefault)
Indicates whether this is the default tablespace.- Parameters:
isDefault
- the value to set- Returns:
- this builder
-
datafiles
public TablespaceSummary.Builder datafiles(List<Datafile> datafiles)
A list of the data files associated with the tablespace.- Parameters:
datafiles
- the value to set- Returns:
- this builder
-
build
public TablespaceSummary build()
-
copy
public TablespaceSummary.Builder copy(TablespaceSummary model)
-
-