Package com.oracle.bmc.psql.model
Class DefaultConfigurationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.psql.model.DefaultConfigurationSummary.Builder
-
- Enclosing class:
- DefaultConfigurationSummary
public static class DefaultConfigurationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultConfigurationSummarybuild()DefaultConfigurationSummary.BuildercompatibleShapes(List<String> compatibleShapes)Indicates the collection of compatible shapes for this configuration.DefaultConfigurationSummary.Buildercopy(DefaultConfigurationSummary model)DefaultConfigurationSummary.BuilderdbVersion(String dbVersion)Version of the PostgreSQL database.DefaultConfigurationSummary.BuilderdisplayName(String displayName)A user-friendly display name for the configuration.DefaultConfigurationSummary.Builderid(String id)A unique identifier for the configuration.DefaultConfigurationSummary.BuilderinstanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)Memory size in gigabytes with 1GB increment.DefaultConfigurationSummary.BuilderinstanceOcpuCount(Integer instanceOcpuCount)CPU core count.DefaultConfigurationSummary.BuilderisFlexible(Boolean isFlexible)True if the configuration supports flexible shapes, false otherwise.DefaultConfigurationSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.DefaultConfigurationSummary.BuilderlifecycleState(DefaultConfiguration.LifecycleState lifecycleState)The current state of the configuration.DefaultConfigurationSummary.Buildershape(String shape)The name of the shape for the configuration.DefaultConfigurationSummary.BuildertimeCreated(Date timeCreated)The date and time that the configuration was created, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public DefaultConfigurationSummary.Builder id(String id)
A unique identifier for the configuration.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public DefaultConfigurationSummary.Builder displayName(String displayName)
A user-friendly display name for the configuration.- Parameters:
displayName- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
lifecycleState
public DefaultConfigurationSummary.Builder lifecycleState(DefaultConfiguration.LifecycleState lifecycleState)
The current state of the configuration.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public 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.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
dbVersion
public DefaultConfigurationSummary.Builder dbVersion(String dbVersion)
Version of the PostgreSQL database.- Parameters:
dbVersion- the value to set- Returns:
- this builder
-
shape
public DefaultConfigurationSummary.Builder shape(String shape)
The name of the shape for the configuration.For multi-shape enabled configurations, it is set to PostgreSQL. Please use compatibleShapes property to get list of supported shapes for such configurations.
- Parameters:
shape- the value to set- Returns:
- this builder
-
isFlexible
public DefaultConfigurationSummary.Builder isFlexible(Boolean isFlexible)
True if the configuration supports flexible shapes, false otherwise.- Parameters:
isFlexible- the value to set- Returns:
- this builder
-
instanceOcpuCount
public DefaultConfigurationSummary.Builder instanceOcpuCount(Integer instanceOcpuCount)
CPU core count.It's value is set to 0 if configuration is for a flexible shape.
- Parameters:
instanceOcpuCount- the value to set- Returns:
- this builder
-
instanceMemorySizeInGBs
public 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.
- Parameters:
instanceMemorySizeInGBs- the value to set- Returns:
- this builder
-
compatibleShapes
public DefaultConfigurationSummary.Builder compatibleShapes(List<String> compatibleShapes)
Indicates the collection of compatible shapes for this configuration.- Parameters:
compatibleShapes- the value to set- Returns:
- this builder
-
build
public DefaultConfigurationSummary build()
-
copy
public DefaultConfigurationSummary.Builder copy(DefaultConfigurationSummary model)
-
-