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 DbSystemSummarybuild()DbSystemSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the database system.DbSystemSummary.BuilderconfigId(String configId)The OCID of the configuration associated with the database system.DbSystemSummary.Buildercopy(DbSystemSummary model)DbSystemSummary.BuilderdbVersion(String dbVersion)Version of database system software.DbSystemSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DbSystemSummary.BuilderdisplayName(String displayName)A user-friendly display name for the database system.DbSystemSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DbSystemSummary.Builderid(String id)A unique identifier for the database system.DbSystemSummary.BuilderinstanceCount(Integer instanceCount)Count of database instances, or nodes, in the database system.DbSystemSummary.BuilderinstanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)The total amount of memory available to each database instance node, in gigabytes.DbSystemSummary.BuilderinstanceOcpuCount(Integer instanceOcpuCount)The total number of OCPUs available to each database instance node.DbSystemSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.DbSystemSummary.BuilderlifecycleState(DbSystem.LifecycleState lifecycleState)The current state of the database system.DbSystemSummary.Buildershape(String shape)The name of the shape for the database instance node.DbSystemSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DbSystemSummary.BuildersystemType(DbSystem.SystemType systemType)Type of the database system.DbSystemSummary.BuildertimeCreated(Date timeCreated)The date and time that the database system was created, expressed in RFC 3339 timestamp format.DbSystemSummary.BuildertimeUpdated(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)
-
-