public static class CreateConfigurationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateConfigurationDetails.Builder displayName(String displayName)
A user-friendly display name for the configuration. Avoid entering confidential information.
displayName
- the value to setpublic CreateConfigurationDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the configuration.
compartmentId
- the value to setpublic CreateConfigurationDetails.Builder description(String description)
Details about the configuration set.
description
- the value to setpublic CreateConfigurationDetails.Builder dbVersion(String dbVersion)
Version of the PostgreSQL database.
dbVersion
- the value to setpublic CreateConfigurationDetails.Builder shape(String shape)
The name of the shape for the configuration. Example: VM.Standard.E4.Flex
shape
- the value to setpublic CreateConfigurationDetails.Builder isFlexible(Boolean isFlexible)
Whether the configuration supports flexible shapes.
isFlexible
- the value to setpublic CreateConfigurationDetails.Builder instanceOcpuCount(Integer instanceOcpuCount)
CPU core count.
Skip or set it's value to 0 if configuration is for a flexible shape.
instanceOcpuCount
- the value to setpublic CreateConfigurationDetails.Builder instanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)
Memory size in gigabytes with 1GB increment.
Skip or set it's value to 0 if configuration is for a flexible shape.
instanceMemorySizeInGBs
- the value to setpublic CreateConfigurationDetails.Builder dbConfigurationOverrides(DbConfigurationOverrideCollection dbConfigurationOverrides)
public CreateConfigurationDetails.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 CreateConfigurationDetails.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 CreateConfigurationDetails.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 CreateConfigurationDetails build()
public CreateConfigurationDetails.Builder copy(CreateConfigurationDetails model)
Copyright © 2016–2024. All rights reserved.