public static class TableSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TableSummary |
build() |
TableSummary.Builder |
compartmentId(String compartmentId)
Compartment Identifier.
|
TableSummary.Builder |
copy(TableSummary model) |
TableSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
TableSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
TableSummary.Builder |
id(String id)
Unique identifier that is immutable on creation.
|
TableSummary.Builder |
isAutoReclaimable(Boolean isAutoReclaimable)
True if this table can be reclaimed after an idle period.
|
TableSummary.Builder |
isMultiRegion(Boolean isMultiRegion)
True if this table is currently a member of a replication set.
|
TableSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
TableSummary.Builder |
lifecycleState(Table.LifecycleState lifecycleState)
The state of a table.
|
TableSummary.Builder |
name(String name)
Human-friendly table name, also immutable.
|
TableSummary.Builder |
schemaState(TableSummary.SchemaState schemaState)
The current state of this table’s schema.
|
TableSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Read-only system tag.
|
TableSummary.Builder |
tableLimits(TableLimits tableLimits) |
TableSummary.Builder |
timeCreated(Date timeCreated)
The time the the table was created.
|
TableSummary.Builder |
timeOfExpiration(Date timeOfExpiration)
If lifecycleState is INACTIVE, indicates when this table will be automatically removed.
|
TableSummary.Builder |
timeUpdated(Date timeUpdated)
The time the the table’s metadata was last updated.
|
public TableSummary.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic TableSummary.Builder compartmentId(String compartmentId)
Compartment Identifier.
compartmentId
- the value to setpublic TableSummary.Builder name(String name)
Human-friendly table name, also immutable.
name
- the value to setpublic TableSummary.Builder timeCreated(Date timeCreated)
The time the the table was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic TableSummary.Builder timeUpdated(Date timeUpdated)
The time the the table’s metadata was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic TableSummary.Builder tableLimits(TableLimits tableLimits)
public TableSummary.Builder lifecycleState(Table.LifecycleState lifecycleState)
The state of a table.
lifecycleState
- the value to setpublic TableSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
lifecycleDetails
- the value to setpublic TableSummary.Builder isAutoReclaimable(Boolean isAutoReclaimable)
True if this table can be reclaimed after an idle period.
isAutoReclaimable
- the value to setpublic TableSummary.Builder timeOfExpiration(Date timeOfExpiration)
If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string.
timeOfExpiration
- the value to setpublic TableSummary.Builder schemaState(TableSummary.SchemaState schemaState)
The current state of this table’s schema. Available states are MUTABLE - The schema can be changed. The table is not eligible for replication. FROZEN - The schema is immutable. The table is eligible for replication.
schemaState
- the value to setpublic TableSummary.Builder isMultiRegion(Boolean isMultiRegion)
True if this table is currently a member of a replication set.
isMultiRegion
- the value to setpublic TableSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic TableSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic TableSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Read-only system tag. These predefined keys are scoped to namespaces. At present the only
supported namespace is "orcl-cloud"
; and the only key in that namespace is "free-tier-retained"
. Example: {"orcl-cloud"": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic TableSummary build()
public TableSummary.Builder copy(TableSummary model)
Copyright © 2016–2024. All rights reserved.