Package com.oracle.bmc.psql.model
Class CreateDbSystemDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.psql.model.CreateDbSystemDetails.Builder
-
- Enclosing class:
- CreateDbSystemDetails
public static class CreateDbSystemDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateDbSystemDetails.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
-
description
public CreateDbSystemDetails.Builder description(String description)
A user-provided description of a database system.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public CreateDbSystemDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the database system.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
systemType
public CreateDbSystemDetails.Builder systemType(DbSystem.SystemType systemType)
Type of the database system.- Parameters:
systemType- the value to set- Returns:
- this builder
-
dbVersion
public CreateDbSystemDetails.Builder dbVersion(String dbVersion)
Version of database system software.- Parameters:
dbVersion- the value to set- Returns:
- this builder
-
configId
public CreateDbSystemDetails.Builder configId(String configId)
The OCID of the configuration associated with the database system.- Parameters:
configId- the value to set- Returns:
- this builder
-
storageDetails
public CreateDbSystemDetails.Builder storageDetails(StorageDetails storageDetails)
-
shape
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
- Parameters:
shape- the value to set- Returns:
- this builder
-
instanceOcpuCount
public CreateDbSystemDetails.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 CreateDbSystemDetails.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
-
instanceCount
public CreateDbSystemDetails.Builder instanceCount(Integer instanceCount)
Count of database instances nodes to be created in the database system.- Parameters:
instanceCount- the value to set- Returns:
- this builder
-
instancesDetails
public 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.
- Parameters:
instancesDetails- the value to set- Returns:
- this builder
-
credentials
public CreateDbSystemDetails.Builder credentials(Credentials credentials)
-
networkDetails
public CreateDbSystemDetails.Builder networkDetails(NetworkDetails networkDetails)
-
managementPolicy
public CreateDbSystemDetails.Builder managementPolicy(ManagementPolicyDetails managementPolicy)
-
source
public CreateDbSystemDetails.Builder source(SourceDetails source)
-
replicationConfig
public CreateDbSystemDetails.Builder replicationConfig(CreateReplicationConfigDetails replicationConfig)
-
odspInsightDetails
public CreateDbSystemDetails.Builder odspInsightDetails(OdspInsightDetails odspInsightDetails)
-
freeformTags
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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public CreateDbSystemDetails build()
-
copy
public CreateDbSystemDetails.Builder copy(CreateDbSystemDetails model)
-
-