Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DbSystem.Builder |
adminUsername(String adminUsername)
The database system administrator username.
|
DbSystem |
build() |
DbSystem.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that contains the database system.
|
DbSystem.Builder |
configId(String configId)
The OCID of the
configuration associated with the database system.
|
DbSystem.Builder |
copy(DbSystem model) |
DbSystem.Builder |
dbVersion(String dbVersion)
The major and minor versions of the database system software.
|
DbSystem.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DbSystem.Builder |
description(String description)
A description of the database system.
|
DbSystem.Builder |
displayName(String displayName)
A user-friendly display name for the database system.
|
DbSystem.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DbSystem.Builder |
id(String id)
A unique identifier for the database system.
|
DbSystem.Builder |
instanceCount(Integer instanceCount)
Count of instances, or nodes, in the database system.
|
DbSystem.Builder |
instanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)
The total amount of memory available to each database instance node, in gigabytes.
|
DbSystem.Builder |
instanceOcpuCount(Integer instanceOcpuCount)
The total number of OCPUs available to each database instance node.
|
DbSystem.Builder |
instances(List<DbInstance> instances)
The list of instances, or nodes, in the database system.
|
DbSystem.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
DbSystem.Builder |
lifecycleState(DbSystem.LifecycleState lifecycleState)
The current state of the database system.
|
DbSystem.Builder |
managementPolicy(ManagementPolicy managementPolicy) |
DbSystem.Builder |
networkDetails(NetworkDetails networkDetails) |
DbSystem.Builder |
shape(String shape)
The name of the shape for the database instance.
|
DbSystem.Builder |
source(SourceDetails source) |
DbSystem.Builder |
storageDetails(StorageDetails storageDetails) |
DbSystem.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
DbSystem.Builder |
systemType(DbSystem.SystemType systemType)
Type of the database system.
|
DbSystem.Builder |
timeCreated(Date timeCreated)
The date and time that the database system was created, expressed in RFC
3339 timestamp format.
|
DbSystem.Builder |
timeUpdated(Date timeUpdated)
The date and time that the database system was updated, expressed in RFC
3339 timestamp format.
|
public DbSystem.Builder id(String id)
A unique identifier for the database system. Immutable on creation.
id
- the value to setpublic DbSystem.Builder displayName(String displayName)
A user-friendly display name for the database system. Avoid entering confidential information.
displayName
- the value to setpublic DbSystem.Builder description(String description)
A description of the database system.
description
- the value to setpublic DbSystem.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the database system.
compartmentId
- the value to setpublic DbSystem.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 DbSystem.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 DbSystem.Builder lifecycleState(DbSystem.LifecycleState lifecycleState)
The current state of the database system.
lifecycleState
- the value to setpublic DbSystem.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 DbSystem.Builder adminUsername(String adminUsername)
The database system administrator username.
adminUsername
- the value to setpublic DbSystem.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 DbSystem.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 DbSystem.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 DbSystem.Builder systemType(DbSystem.SystemType systemType)
Type of the database system.
systemType
- the value to setpublic DbSystem.Builder dbVersion(String dbVersion)
The major and minor versions of the database system software.
dbVersion
- the value to setpublic DbSystem.Builder configId(String configId)
The OCID of the configuration associated with the database system.
configId
- the value to setpublic DbSystem.Builder shape(String shape)
The name of the shape for the database instance. Example: VM.Standard.E4.Flex
shape
- the value to setpublic DbSystem.Builder instanceOcpuCount(Integer instanceOcpuCount)
The total number of OCPUs available to each database instance node.
instanceOcpuCount
- the value to setpublic DbSystem.Builder instanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)
The total amount of memory available to each database instance node, in gigabytes.
instanceMemorySizeInGBs
- the value to setpublic DbSystem.Builder instanceCount(Integer instanceCount)
Count of instances, or nodes, in the database system.
instanceCount
- the value to setpublic DbSystem.Builder instances(List<DbInstance> instances)
The list of instances, or nodes, in the database system.
instances
- the value to setpublic DbSystem.Builder storageDetails(StorageDetails storageDetails)
public DbSystem.Builder networkDetails(NetworkDetails networkDetails)
public DbSystem.Builder managementPolicy(ManagementPolicy managementPolicy)
public DbSystem.Builder source(SourceDetails source)
public DbSystem build()
public DbSystem.Builder copy(DbSystem model)
Copyright © 2016–2024. All rights reserved.