Class DistributedDatabaseGsm.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabase.model.DistributedDatabaseGsm.Builder
-
- Enclosing class:
- DistributedDatabaseGsm
public static class DistributedDatabaseGsm.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedDatabaseGsm
build()
DistributedDatabaseGsm.Builder
computeCount(Float computeCount)
The compute count for the Global service manager instance.DistributedDatabaseGsm.Builder
copy(DistributedDatabaseGsm model)
DistributedDatabaseGsm.Builder
dataStorageSizeInGbs(Double dataStorageSizeInGbs)
The data disk group size to be allocated in GBs for the Global service manager instance.DistributedDatabaseGsm.Builder
gsmImageDetails(DistributedDbGsmImage gsmImageDetails)
DistributedDatabaseGsm.Builder
metadata(DistributedDbMetadata metadata)
DistributedDatabaseGsm.Builder
name(String name)
Name of the Global service manager instanceDistributedDatabaseGsm.Builder
status(DistributedDatabaseGsm.Status status)
Status of the gsm for the Globally ditributed database.DistributedDatabaseGsm.Builder
supportingResourceId(String supportingResourceId)
the identifier of the underlying supporting resource.DistributedDatabaseGsm.Builder
timeCreated(Date timeCreated)
The time the Global service manager instance was created.DistributedDatabaseGsm.Builder
timeSslCertificateExpires(Date timeSslCertificateExpires)
The time the ssl certificate associated with Global service manager expires.DistributedDatabaseGsm.Builder
timeUpdated(Date timeUpdated)
The time the Global service manager instance was last updated.
-
-
-
Method Detail
-
name
public DistributedDatabaseGsm.Builder name(String name)
Name of the Global service manager instance- Parameters:
name
- the value to set- Returns:
- this builder
-
computeCount
public DistributedDatabaseGsm.Builder computeCount(Float computeCount)
The compute count for the Global service manager instance.- Parameters:
computeCount
- the value to set- Returns:
- this builder
-
dataStorageSizeInGbs
public DistributedDatabaseGsm.Builder dataStorageSizeInGbs(Double dataStorageSizeInGbs)
The data disk group size to be allocated in GBs for the Global service manager instance.- Parameters:
dataStorageSizeInGbs
- the value to set- Returns:
- this builder
-
timeCreated
public DistributedDatabaseGsm.Builder timeCreated(Date timeCreated)
The time the Global service manager instance was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public DistributedDatabaseGsm.Builder timeUpdated(Date timeUpdated)
The time the Global service manager instance was last updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
status
public DistributedDatabaseGsm.Builder status(DistributedDatabaseGsm.Status status)
Status of the gsm for the Globally ditributed database.- Parameters:
status
- the value to set- Returns:
- this builder
-
timeSslCertificateExpires
public DistributedDatabaseGsm.Builder timeSslCertificateExpires(Date timeSslCertificateExpires)
The time the ssl certificate associated with Global service manager expires.An RFC3339 formatted datetime string
- Parameters:
timeSslCertificateExpires
- the value to set- Returns:
- this builder
-
supportingResourceId
public DistributedDatabaseGsm.Builder supportingResourceId(String supportingResourceId)
the identifier of the underlying supporting resource.- Parameters:
supportingResourceId
- the value to set- Returns:
- this builder
-
gsmImageDetails
public DistributedDatabaseGsm.Builder gsmImageDetails(DistributedDbGsmImage gsmImageDetails)
-
metadata
public DistributedDatabaseGsm.Builder metadata(DistributedDbMetadata metadata)
-
build
public DistributedDatabaseGsm build()
-
copy
public DistributedDatabaseGsm.Builder copy(DistributedDatabaseGsm model)
-
-