Package com.oracle.bmc.psql.model
Class DbSystem.Builder
- java.lang.Object
- 
- com.oracle.bmc.psql.model.DbSystem.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DbSystem.BuilderadminUsername(String adminUsername)The database system administrator username.DbSystembuild()DbSystem.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the database system.DbSystem.BuilderconfigId(String configId)The OCID of the configuration associated with the database system.DbSystem.Buildercopy(DbSystem model)DbSystem.BuilderdbVersion(String dbVersion)The major and minor versions of the database system software.DbSystem.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DbSystem.Builderdescription(String description)A description of the database system.DbSystem.BuilderdisplayName(String displayName)A user-friendly display name for the database system.DbSystem.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DbSystem.Builderid(String id)A unique identifier for the database system.DbSystem.BuilderinstanceCount(Integer instanceCount)Count of instances, or nodes, in the database system.DbSystem.BuilderinstanceMemorySizeInGBs(Integer instanceMemorySizeInGBs)The total amount of memory available to each database instance node, in gigabytes.DbSystem.BuilderinstanceOcpuCount(Integer instanceOcpuCount)The total number of OCPUs available to each database instance node.DbSystem.Builderinstances(List<DbInstance> instances)The list of instances, or nodes, in the database system.DbSystem.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.DbSystem.BuilderlifecycleState(DbSystem.LifecycleState lifecycleState)The current state of the database system.DbSystem.BuildermanagementPolicy(ManagementPolicy managementPolicy)DbSystem.BuildernetworkDetails(NetworkDetails networkDetails)DbSystem.Buildershape(String shape)The name of the shape for the database instance.DbSystem.Buildersource(SourceDetails source)DbSystem.BuilderstorageDetails(StorageDetails storageDetails)DbSystem.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DbSystem.BuildersystemType(DbSystem.SystemType systemType)Type of the database system.DbSystem.BuildertimeCreated(Date timeCreated)The date and time that the database system was created, expressed in RFC 3339 timestamp format.DbSystem.BuildertimeUpdated(Date timeUpdated)The date and time that the database system was updated, expressed in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
idpublic DbSystem.Builder id(String id) A unique identifier for the database system.Immutable on creation. - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DbSystem.Builder displayName(String displayName) A user-friendly display name for the database system.Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic DbSystem.Builder description(String description) A description of the database system.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic DbSystem.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the database system.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DbSystem.Builder timeCreated(Date timeCreated) The date and time that the database system was created, expressed in RFC 3339 timestamp format.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic DbSystem.Builder timeUpdated(Date timeUpdated) The date and time that the database system was updated, expressed in RFC 3339 timestamp format.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DbSystem.Builder lifecycleState(DbSystem.LifecycleState lifecycleState) The current state of the database system.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic DbSystem.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
 
 - 
adminUsernamepublic DbSystem.Builder adminUsername(String adminUsername) The database system administrator username.- Parameters:
- adminUsername- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic DbSystem.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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic DbSystem.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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic DbSystem.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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
systemTypepublic DbSystem.Builder systemType(DbSystem.SystemType systemType) Type of the database system.- Parameters:
- systemType- the value to set
- Returns:
- this builder
 
 - 
dbVersionpublic DbSystem.Builder dbVersion(String dbVersion) The major and minor versions of the database system software.- Parameters:
- dbVersion- the value to set
- Returns:
- this builder
 
 - 
configIdpublic DbSystem.Builder configId(String configId) The OCID of the configuration associated with the database system.- Parameters:
- configId- the value to set
- Returns:
- this builder
 
 - 
shapepublic DbSystem.Builder shape(String shape) The name of the shape for the database instance.Example: VM.Standard.E4.Flex - Parameters:
- shape- the value to set
- Returns:
- this builder
 
 - 
instanceOcpuCountpublic DbSystem.Builder instanceOcpuCount(Integer instanceOcpuCount) The total number of OCPUs available to each database instance node.- Parameters:
- instanceOcpuCount- the value to set
- Returns:
- this builder
 
 - 
instanceMemorySizeInGBspublic DbSystem.Builder instanceMemorySizeInGBs(Integer instanceMemorySizeInGBs) The total amount of memory available to each database instance node, in gigabytes.- Parameters:
- instanceMemorySizeInGBs- the value to set
- Returns:
- this builder
 
 - 
instanceCountpublic DbSystem.Builder instanceCount(Integer instanceCount) Count of instances, or nodes, in the database system.- Parameters:
- instanceCount- the value to set
- Returns:
- this builder
 
 - 
instancespublic DbSystem.Builder instances(List<DbInstance> instances) The list of instances, or nodes, in the database system.- Parameters:
- instances- the value to set
- Returns:
- this builder
 
 - 
storageDetailspublic DbSystem.Builder storageDetails(StorageDetails storageDetails) 
 - 
networkDetailspublic DbSystem.Builder networkDetails(NetworkDetails networkDetails) 
 - 
managementPolicypublic DbSystem.Builder managementPolicy(ManagementPolicy managementPolicy) 
 - 
sourcepublic DbSystem.Builder source(SourceDetails source) 
 - 
buildpublic DbSystem build() 
 - 
copypublic DbSystem.Builder copy(DbSystem model) 
 
- 
 
-