Class GsmDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.globallydistributeddatabase.model.GsmDetails.Builder
-
- Enclosing class:
- GsmDetails
public static class GsmDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GsmDetails
build()
GsmDetails.Builder
computeCount(Float computeCount)
The compute count for the GSM instance.GsmDetails.Builder
copy(GsmDetails model)
GsmDetails.Builder
dataStorageSizeInGbs(Double dataStorageSizeInGbs)
The data disk group size to be allocated in GBs.GsmDetails.Builder
metadata(Map<String,Object> metadata)
Additional metadata related to GSM’s underlying supporting resource.GsmDetails.Builder
name(String name)
Name of the GSM instanceGsmDetails.Builder
status(GsmDetails.Status status)
Status of shard or catalog or gsm for the sharded database.GsmDetails.Builder
supportingResourceId(String supportingResourceId)
Identifier of the underlying supporting resource.GsmDetails.Builder
timeCreated(Date timeCreated)
The time the GSM instance was created.GsmDetails.Builder
timeSslCertificateExpires(Date timeSslCertificateExpires)
The time the ssl certificate associated with GSM expires.GsmDetails.Builder
timeUpdated(Date timeUpdated)
The time the GSM instance was last updated.
-
-
-
Method Detail
-
name
public GsmDetails.Builder name(String name)
Name of the GSM instance- Parameters:
name
- the value to set- Returns:
- this builder
-
computeCount
public GsmDetails.Builder computeCount(Float computeCount)
The compute count for the GSM instance.- Parameters:
computeCount
- the value to set- Returns:
- this builder
-
dataStorageSizeInGbs
public GsmDetails.Builder dataStorageSizeInGbs(Double dataStorageSizeInGbs)
The data disk group size to be allocated in GBs.- Parameters:
dataStorageSizeInGbs
- the value to set- Returns:
- this builder
-
timeCreated
public GsmDetails.Builder timeCreated(Date timeCreated)
The time the GSM instance was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public GsmDetails.Builder timeUpdated(Date timeUpdated)
The time the GSM instance was last updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
timeSslCertificateExpires
public GsmDetails.Builder timeSslCertificateExpires(Date timeSslCertificateExpires)
The time the ssl certificate associated with GSM expires.An RFC3339 formatted datetime string
- Parameters:
timeSslCertificateExpires
- the value to set- Returns:
- this builder
-
status
public GsmDetails.Builder status(GsmDetails.Status status)
Status of shard or catalog or gsm for the sharded database.- Parameters:
status
- the value to set- Returns:
- this builder
-
supportingResourceId
public GsmDetails.Builder supportingResourceId(String supportingResourceId)
Identifier of the underlying supporting resource.- Parameters:
supportingResourceId
- the value to set- Returns:
- this builder
-
metadata
public GsmDetails.Builder metadata(Map<String,Object> metadata)
Additional metadata related to GSM’s underlying supporting resource.- Parameters:
metadata
- the value to set- Returns:
- this builder
-
build
public GsmDetails build()
-
copy
public GsmDetails.Builder copy(GsmDetails model)
-
-