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