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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic DefaultConfigurationSummary.Builder id(String id) A unique identifier for the configuration.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DefaultConfigurationSummary.Builder displayName(String displayName) A user-friendly display name for the configuration.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
lifecycleStatepublic DefaultConfigurationSummary.Builder lifecycleState(DefaultConfiguration.LifecycleState lifecycleState) The current state of the configuration.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic 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
 
 - 
dbVersionpublic DefaultConfigurationSummary.Builder dbVersion(String dbVersion) Version of the PostgreSQL database.- Parameters:
- dbVersion- the value to set
- Returns:
- this builder
 
 - 
shapepublic 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
 
 - 
isFlexiblepublic DefaultConfigurationSummary.Builder isFlexible(Boolean isFlexible) True if the configuration supports flexible shapes, false otherwise.- Parameters:
- isFlexible- the value to set
- Returns:
- this builder
 
 - 
instanceOcpuCountpublic 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
 
 - 
instanceMemorySizeInGBspublic 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
 
 - 
compatibleShapespublic DefaultConfigurationSummary.Builder compatibleShapes(List<String> compatibleShapes) Indicates the collection of compatible shapes for this configuration.- Parameters:
- compatibleShapes- the value to set
- Returns:
- this builder
 
 - 
buildpublic DefaultConfigurationSummary build() 
 - 
copypublic DefaultConfigurationSummary.Builder copy(DefaultConfigurationSummary model) 
 
- 
 
-