Package com.oracle.bmc.nosql.model
Class TableSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.model.TableSummary.Builder
-
- Enclosing class:
- TableSummary
public static class TableSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public TableSummary.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public TableSummary.Builder compartmentId(String compartmentId)
Compartment Identifier.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
name
public TableSummary.Builder name(String name)
Human-friendly table name, also immutable.- Parameters:
name
- the value to set- Returns:
- this builder
-
timeCreated
public TableSummary.Builder timeCreated(Date timeCreated)
The time the the table was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public TableSummary.Builder timeUpdated(Date timeUpdated)
The time the the table’s metadata was last updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
tableLimits
public TableSummary.Builder tableLimits(TableLimits tableLimits)
-
lifecycleState
public TableSummary.Builder lifecycleState(Table.LifecycleState lifecycleState)
The state of a table.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public TableSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
isAutoReclaimable
public TableSummary.Builder isAutoReclaimable(Boolean isAutoReclaimable)
True if this table can be reclaimed after an idle period.- Parameters:
isAutoReclaimable
- the value to set- Returns:
- this builder
-
timeOfExpiration
public TableSummary.Builder timeOfExpiration(Date timeOfExpiration)
If lifecycleState is INACTIVE, indicates when this table will be automatically removed.An RFC3339 formatted datetime string.
- Parameters:
timeOfExpiration
- the value to set- Returns:
- this builder
-
schemaState
public 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.
- Parameters:
schemaState
- the value to set- Returns:
- this builder
-
isMultiRegion
public TableSummary.Builder isMultiRegion(Boolean isMultiRegion)
True if this table is currently a member of a replication set.- Parameters:
isMultiRegion
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public TableSummary build()
-
copy
public TableSummary.Builder copy(TableSummary model)
-
-