public static class Configuration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Configuration |
build() |
Configuration.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that contains the configuration.
|
Configuration.Builder |
configType(Configuration.ConfigType configType)
The type of configuration.
|
Configuration.Builder |
configurationDetails(ConfigurationDetails configurationDetails) |
Configuration.Builder |
copy(Configuration model) |
Configuration.Builder |
dbVersion(String dbVersion)
Version of the PostgreSQL database.
|
Configuration.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Configuration.Builder |
description(String description)
A description for the configuration.
|
Configuration.Builder |
displayName(String displayName)
A user-friendly display name for the configuration.
|
Configuration.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Configuration.Builder |
id(String id)
A unique identifier for the configuration.
|
Configuration.Builder |
instanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)
Memory size in gigabytes with 1GB increment.
|
Configuration.Builder |
instanceOcpuCount(Integer instanceOcpuCount)
CPU core count.
|
Configuration.Builder |
isFlexible(Boolean isFlexible)
Whether the configuration supports flexible shapes.
|
Configuration.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Configuration.Builder |
lifecycleState(Configuration.LifecycleState lifecycleState)
The current state of the configuration.
|
Configuration.Builder |
shape(String shape)
The name of the shape for the configuration.
|
Configuration.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
Configuration.Builder |
timeCreated(Date timeCreated)
The date and time that the configuration was created, expressed in RFC
3339 timestamp format.
|
public Configuration.Builder id(String id)
A unique identifier for the configuration. Immutable on creation.
id
- the value to setpublic Configuration.Builder displayName(String displayName)
A user-friendly display name for the configuration. Avoid entering confidential information.
displayName
- the value to setpublic Configuration.Builder description(String description)
A description for the configuration.
description
- the value to setpublic Configuration.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the configuration.
compartmentId
- the value to setpublic Configuration.Builder timeCreated(Date timeCreated)
The date and time that the configuration was created, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic Configuration.Builder lifecycleState(Configuration.LifecycleState lifecycleState)
The current state of the configuration.
lifecycleState
- the value to setpublic Configuration.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 Configuration.Builder dbVersion(String dbVersion)
Version of the PostgreSQL database.
dbVersion
- the value to setpublic Configuration.Builder configType(Configuration.ConfigType configType)
The type of configuration. Either user-created or a default configuration.
configType
- the value to setpublic Configuration.Builder shape(String shape)
The name of the shape for the configuration. Example: VM.Standard.E4.Flex
shape
- the value to setpublic Configuration.Builder isFlexible(Boolean isFlexible)
Whether the configuration supports flexible shapes.
isFlexible
- the value to setpublic Configuration.Builder instanceOcpuCount(Integer instanceOcpuCount)
CPU core count.
It's value is set to 0 if configuration is for a flexible shape.
instanceOcpuCount
- the value to setpublic Configuration.Builder instanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)
Memory size in gigabytes with 1GB increment.
It's value is set to 0 if configuration is for a flexible shape.
instanceMemorySizeInGBs
- the value to setpublic Configuration.Builder configurationDetails(ConfigurationDetails configurationDetails)
public Configuration.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 Configuration.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 Configuration.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 Configuration build()
public Configuration.Builder copy(Configuration model)
Copyright © 2016–2024. All rights reserved.