Package com.oracle.bmc.psql.model
Class DbInstance.Builder
- java.lang.Object
-
- com.oracle.bmc.psql.model.DbInstance.Builder
-
- Enclosing class:
- DbInstance
public static class DbInstance.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbInstance.BuilderavailabilityDomain(String availabilityDomain)The availability domain in which the database instance node is located.DbInstancebuild()DbInstance.Buildercopy(DbInstance model)DbInstance.Builderdescription(String description)Description of the database instance node.DbInstance.BuilderdisplayName(String displayName)A user-friendly display name for the database instance node.DbInstance.Builderid(String id)A unique identifier for the database instance node.DbInstance.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.DbInstance.BuilderlifecycleState(DbInstance.LifecycleState lifecycleState)The current state of the database instance node.DbInstance.BuildertimeCreated(Date timeCreated)The date and time that the database instance node was created, expressed in RFC 3339 timestamp format.DbInstance.BuildertimeUpdated(Date timeUpdated)The date and time that the database instance node was updated, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public DbInstance.Builder id(String id)
A unique identifier for the database instance node.Immutable on creation.
- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public DbInstance.Builder displayName(String displayName)
A user-friendly display name for the database instance node.Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public DbInstance.Builder description(String description)
Description of the database instance node.- Parameters:
description- the value to set- Returns:
- this builder
-
availabilityDomain
public DbInstance.Builder availabilityDomain(String availabilityDomain)
The availability domain in which the database instance node is located.- Parameters:
availabilityDomain- the value to set- Returns:
- this builder
-
lifecycleState
public DbInstance.Builder lifecycleState(DbInstance.LifecycleState lifecycleState)
The current state of the database instance node.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public DbInstance.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
-
timeCreated
public DbInstance.Builder timeCreated(Date timeCreated)
The date and time that the database instance node was created, expressed in RFC 3339 timestamp format.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public DbInstance.Builder timeUpdated(Date timeUpdated)
The date and time that the database instance node was updated, expressed in RFC 3339 timestamp format.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
build
public DbInstance build()
-
copy
public DbInstance.Builder copy(DbInstance model)
-
-