public static class CreateDbSystemDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateDbSystemDetails |
build() |
CreateDbSystemDetails.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that contains the database system.
|
CreateDbSystemDetails.Builder |
configId(String configId)
The OCID of the
configuration associated with the database system.
|
CreateDbSystemDetails.Builder |
copy(CreateDbSystemDetails model) |
CreateDbSystemDetails.Builder |
credentials(Credentials credentials) |
CreateDbSystemDetails.Builder |
dbVersion(String dbVersion)
Version of database system software.
|
CreateDbSystemDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateDbSystemDetails.Builder |
description(String description)
A user-provided description of a database system.
|
CreateDbSystemDetails.Builder |
displayName(String displayName)
A user-friendly display name for the database system.
|
CreateDbSystemDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateDbSystemDetails.Builder |
instanceCount(Integer instanceCount)
Count of database instances nodes to be created in the database system.
|
CreateDbSystemDetails.Builder |
instanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)
The total amount of memory available to each database instance node, in gigabytes.
|
CreateDbSystemDetails.Builder |
instanceOcpuCount(Integer instanceOcpuCount)
The total number of OCPUs available to each database instance node.
|
CreateDbSystemDetails.Builder |
instancesDetails(List<CreateDbInstanceDetails> instancesDetails)
Details of database instances nodes to be created.
|
CreateDbSystemDetails.Builder |
managementPolicy(ManagementPolicyDetails managementPolicy) |
CreateDbSystemDetails.Builder |
networkDetails(NetworkDetails networkDetails) |
CreateDbSystemDetails.Builder |
shape(String shape)
The name of the shape for the database instance node.
|
CreateDbSystemDetails.Builder |
source(SourceDetails source) |
CreateDbSystemDetails.Builder |
storageDetails(StorageDetails storageDetails) |
CreateDbSystemDetails.Builder |
systemType(DbSystem.SystemType systemType)
Type of the database system.
|
public CreateDbSystemDetails.Builder displayName(String displayName)
A user-friendly display name for the database system. Avoid entering confidential information.
displayName
- the value to setpublic CreateDbSystemDetails.Builder description(String description)
A user-provided description of a database system.
description
- the value to setpublic CreateDbSystemDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the database system.
compartmentId
- the value to setpublic CreateDbSystemDetails.Builder systemType(DbSystem.SystemType systemType)
Type of the database system.
systemType
- the value to setpublic CreateDbSystemDetails.Builder dbVersion(String dbVersion)
Version of database system software.
dbVersion
- the value to setpublic CreateDbSystemDetails.Builder configId(String configId)
The OCID of the configuration associated with the database system.
configId
- the value to setpublic CreateDbSystemDetails.Builder storageDetails(StorageDetails storageDetails)
public CreateDbSystemDetails.Builder shape(String shape)
The name of the shape for the database instance node. Use the /shapes API for accepted
shapes. Example: VM.Standard.E4.Flex
shape
- the value to setpublic CreateDbSystemDetails.Builder instanceOcpuCount(Integer instanceOcpuCount)
The total number of OCPUs available to each database instance node.
instanceOcpuCount
- the value to setpublic CreateDbSystemDetails.Builder instanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)
The total amount of memory available to each database instance node, in gigabytes.
instanceMemorySizeInGBs
- the value to setpublic CreateDbSystemDetails.Builder instanceCount(Integer instanceCount)
Count of database instances nodes to be created in the database system.
instanceCount
- the value to setpublic CreateDbSystemDetails.Builder instancesDetails(List<CreateDbInstanceDetails> instancesDetails)
Details of database instances nodes to be created. This parameter is optional. If
specified, its size must match instanceCount
.
instancesDetails
- the value to setpublic CreateDbSystemDetails.Builder credentials(Credentials credentials)
public CreateDbSystemDetails.Builder networkDetails(NetworkDetails networkDetails)
public CreateDbSystemDetails.Builder managementPolicy(ManagementPolicyDetails managementPolicy)
public CreateDbSystemDetails.Builder source(SourceDetails source)
public CreateDbSystemDetails.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 CreateDbSystemDetails.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 CreateDbSystemDetails build()
public CreateDbSystemDetails.Builder copy(CreateDbSystemDetails model)
Copyright © 2016–2024. All rights reserved.