public static class DbSystemSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public DbSystemSummary.Builder id(String id)
A unique identifier for the database system. Immutable on creation.
id
- the value to setpublic DbSystemSummary.Builder displayName(String displayName)
A user-friendly display name for the database system. Avoid entering confidential information.
displayName
- the value to setpublic DbSystemSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the database system.
compartmentId
- the value to setpublic 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
timeCreated
- the value to setpublic 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
timeUpdated
- the value to setpublic DbSystemSummary.Builder lifecycleState(DbSystem.LifecycleState lifecycleState)
The current state of the database system.
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic DbSystemSummary.Builder systemType(DbSystem.SystemType systemType)
Type of the database system.
systemType
- the value to setpublic DbSystemSummary.Builder instanceCount(Integer instanceCount)
Count of database instances, or nodes, in the database system.
instanceCount
- the value to setpublic DbSystemSummary.Builder shape(String shape)
The name of the shape for the database instance node. Example: VM.Standard.E4.Flex
shape
- the value to setpublic DbSystemSummary.Builder instanceOcpuCount(Integer instanceOcpuCount)
The total number of OCPUs available to each database instance node.
instanceOcpuCount
- the value to setpublic DbSystemSummary.Builder instanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)
The total amount of memory available to each database instance node, in gigabytes.
instanceMemorySizeInGBs
- the value to setpublic DbSystemSummary.Builder dbVersion(String dbVersion)
Version of database system software.
dbVersion
- the value to setpublic DbSystemSummary.Builder configId(String configId)
The OCID of the configuration associated with the database system.
configId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic DbSystemSummary build()
public DbSystemSummary.Builder copy(DbSystemSummary model)
Copyright © 2016–2024. All rights reserved.