public static class DefaultConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DefaultConfiguration |
build() |
DefaultConfiguration.Builder |
configurationDetails(DefaultConfigurationDetails configurationDetails) |
DefaultConfiguration.Builder |
copy(DefaultConfiguration model) |
DefaultConfiguration.Builder |
dbVersion(String dbVersion)
Version of the PostgreSQL database.
|
DefaultConfiguration.Builder |
description(String description)
A description for the configuration.
|
DefaultConfiguration.Builder |
displayName(String displayName)
A user-friendly display name for the configuration.
|
DefaultConfiguration.Builder |
id(String id)
A unique identifier for the configuration.
|
DefaultConfiguration.Builder |
instanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)
Memory size in gigabytes with 1GB increment.
|
DefaultConfiguration.Builder |
instanceOcpuCount(Integer instanceOcpuCount)
CPU core count.
|
DefaultConfiguration.Builder |
isFlexible(Boolean isFlexible)
True if the configuration supports flexible shapes, false otherwise.
|
DefaultConfiguration.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
DefaultConfiguration.Builder |
lifecycleState(DefaultConfiguration.LifecycleState lifecycleState)
The current state of the configuration.
|
DefaultConfiguration.Builder |
shape(String shape)
The name of the shape for the configuration.
|
DefaultConfiguration.Builder |
timeCreated(Date timeCreated)
The date and time that the configuration was created, expressed in RFC
3339 timestamp format.
|
public DefaultConfiguration.Builder id(String id)
A unique identifier for the configuration.
id
- the value to setpublic DefaultConfiguration.Builder displayName(String displayName)
A user-friendly display name for the configuration.
displayName
- the value to setpublic DefaultConfiguration.Builder description(String description)
A description for the configuration.
description
- the value to setpublic DefaultConfiguration.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 DefaultConfiguration.Builder lifecycleState(DefaultConfiguration.LifecycleState lifecycleState)
The current state of the configuration.
lifecycleState
- the value to setpublic DefaultConfiguration.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 DefaultConfiguration.Builder dbVersion(String dbVersion)
Version of the PostgreSQL database.
dbVersion
- the value to setpublic DefaultConfiguration.Builder shape(String shape)
The name of the shape for the configuration. Example: VM.Standard.E4.Flex
shape
- the value to setpublic DefaultConfiguration.Builder isFlexible(Boolean isFlexible)
True if the configuration supports flexible shapes, false otherwise.
isFlexible
- the value to setpublic DefaultConfiguration.Builder instanceOcpuCount(Integer instanceOcpuCount)
CPU core count.
Its value is set to 0 if configuration is for a flexible shape.
instanceOcpuCount
- the value to setpublic DefaultConfiguration.Builder instanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)
Memory size in gigabytes with 1GB increment.
Its value is set to 0 if configuration is for a flexible shape.
instanceMemorySizeInGBs
- the value to setpublic DefaultConfiguration.Builder configurationDetails(DefaultConfigurationDetails configurationDetails)
public DefaultConfiguration build()
public DefaultConfiguration.Builder copy(DefaultConfiguration model)
Copyright © 2016–2024. All rights reserved.