Package com.oracle.bmc.psql.model
Class DbSystemSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.psql.model.DbSystemSummary.Builder
-
- Enclosing class:
- DbSystemSummary
public static class DbSystemSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbSystemSummary
build()
DbSystemSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the database system.DbSystemSummary.Builder
configId(String configId)
The OCID of the configuration associated with the database system.DbSystemSummary.Builder
copy(DbSystemSummary model)
DbSystemSummary.Builder
dbVersion(String dbVersion)
Version of database system software.DbSystemSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DbSystemSummary.Builder
displayName(String displayName)
A user-friendly display name for the database system.DbSystemSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DbSystemSummary.Builder
id(String id)
A unique identifier for the database system.DbSystemSummary.Builder
instanceCount(Integer instanceCount)
Count of database instances, or nodes, in the database system.DbSystemSummary.Builder
instanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)
The total amount of memory available to each database instance node, in gigabytes.DbSystemSummary.Builder
instanceOcpuCount(Integer instanceOcpuCount)
The total number of OCPUs available to each database instance node.DbSystemSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.DbSystemSummary.Builder
lifecycleState(DbSystem.LifecycleState lifecycleState)
The current state of the database system.DbSystemSummary.Builder
shape(String shape)
The name of the shape for the database instance node.DbSystemSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.DbSystemSummary.Builder
systemType(DbSystem.SystemType systemType)
Type of the database system.DbSystemSummary.Builder
timeCreated(Date timeCreated)
The date and time that the database system was created, expressed in RFC 3339 timestamp format.DbSystemSummary.Builder
timeUpdated(Date timeUpdated)
The date and time that the database system was updated, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public DbSystemSummary.Builder id(String id)
A unique identifier for the database system.Immutable on creation.
- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public DbSystemSummary.Builder displayName(String displayName)
A user-friendly display name for the database system.Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public DbSystemSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the database system.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public DbSystemSummary.Builder timeCreated(Date timeCreated)
The date and time that the database system was created, expressed in RFC 3339 timestamp format.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public DbSystemSummary.Builder timeUpdated(Date timeUpdated)
The date and time that the database system was updated, expressed in RFC 3339 timestamp format.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public DbSystemSummary.Builder lifecycleState(DbSystem.LifecycleState lifecycleState)
The current state of the database system.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public DbSystemSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
systemType
public DbSystemSummary.Builder systemType(DbSystem.SystemType systemType)
Type of the database system.- Parameters:
systemType
- the value to set- Returns:
- this builder
-
instanceCount
public DbSystemSummary.Builder instanceCount(Integer instanceCount)
Count of database instances, or nodes, in the database system.- Parameters:
instanceCount
- the value to set- Returns:
- this builder
-
shape
public DbSystemSummary.Builder shape(String shape)
The name of the shape for the database instance node.Example: VM.Standard.E4.Flex
- Parameters:
shape
- the value to set- Returns:
- this builder
-
instanceOcpuCount
public DbSystemSummary.Builder instanceOcpuCount(Integer instanceOcpuCount)
The total number of OCPUs available to each database instance node.- Parameters:
instanceOcpuCount
- the value to set- Returns:
- this builder
-
instanceMemorySizeInGBs
public DbSystemSummary.Builder instanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)
The total amount of memory available to each database instance node, in gigabytes.- Parameters:
instanceMemorySizeInGBs
- the value to set- Returns:
- this builder
-
dbVersion
public DbSystemSummary.Builder dbVersion(String dbVersion)
Version of database system software.- Parameters:
dbVersion
- the value to set- Returns:
- this builder
-
configId
public DbSystemSummary.Builder configId(String configId)
The OCID of the configuration associated with the database system.- Parameters:
configId
- the value to set- Returns:
- this builder
-
freeformTags
public DbSystemSummary.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 DbSystemSummary.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 DbSystemSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public DbSystemSummary build()
-
copy
public DbSystemSummary.Builder copy(DbSystemSummary model)
-
-