Class DedicatedShardDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.globallydistributeddatabase.model.DedicatedShardDetails.Builder
-
- Enclosing class:
- DedicatedShardDetails
public static class DedicatedShardDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DedicatedShardDetails
build()
DedicatedShardDetails.Builder
cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId)
Identifier of the primary cloudAutonomousVmCluster for the shard.DedicatedShardDetails.Builder
computeCount(Float computeCount)
The compute amount available to the underlying autonomous database associated with shard.DedicatedShardDetails.Builder
containerDatabaseId(String containerDatabaseId)
Identifier of the underlying container database.DedicatedShardDetails.Builder
containerDatabaseParentId(String containerDatabaseParentId)
Identifier of the underlying container database parent.DedicatedShardDetails.Builder
copy(DedicatedShardDetails model)
DedicatedShardDetails.Builder
dataStorageSizeInGbs(Double dataStorageSizeInGbs)
The data disk group size to be allocated in GBs.DedicatedShardDetails.Builder
encryptionKeyDetails(DedicatedShardOrCatalogEncryptionKeyDetails encryptionKeyDetails)
DedicatedShardDetails.Builder
isAutoScalingEnabled(Boolean isAutoScalingEnabled)
Determines the auto-scaling mode.DedicatedShardDetails.Builder
metadata(Map<String,Object> metadata)
Additional metadata related to shard’s underlying supporting resource.DedicatedShardDetails.Builder
name(String name)
Name of the shard.DedicatedShardDetails.Builder
peerCloudAutonomousVmClusterId(String peerCloudAutonomousVmClusterId)
Identifier of the peer cloudAutonomousVmCluster for the shard.DedicatedShardDetails.Builder
shardGroup(String shardGroup)
Name of the shard-group to which the shard belongs.DedicatedShardDetails.Builder
shardSpace(String shardSpace)
Shard space name.DedicatedShardDetails.Builder
status(DedicatedShardDetails.Status status)
Status of shard or catalog or gsm for the sharded database.DedicatedShardDetails.Builder
supportingResourceId(String supportingResourceId)
Identifier of the underlying supporting resource.DedicatedShardDetails.Builder
timeCreated(Date timeCreated)
The time the the shard was created.DedicatedShardDetails.Builder
timeSslCertificateExpires(Date timeSslCertificateExpires)
The time the ssl certificate associated with shard expires.DedicatedShardDetails.Builder
timeUpdated(Date timeUpdated)
The time the shard was last updated.
-
-
-
Method Detail
-
encryptionKeyDetails
public DedicatedShardDetails.Builder encryptionKeyDetails(DedicatedShardOrCatalogEncryptionKeyDetails encryptionKeyDetails)
-
name
public DedicatedShardDetails.Builder name(String name)
Name of the shard.- Parameters:
name
- the value to set- Returns:
- this builder
-
computeCount
public DedicatedShardDetails.Builder computeCount(Float computeCount)
The compute amount available to the underlying autonomous database associated with shard.- Parameters:
computeCount
- the value to set- Returns:
- this builder
-
dataStorageSizeInGbs
public DedicatedShardDetails.Builder dataStorageSizeInGbs(Double dataStorageSizeInGbs)
The data disk group size to be allocated in GBs.- Parameters:
dataStorageSizeInGbs
- the value to set- Returns:
- this builder
-
shardGroup
public DedicatedShardDetails.Builder shardGroup(String shardGroup)
Name of the shard-group to which the shard belongs.- Parameters:
shardGroup
- the value to set- Returns:
- this builder
-
timeCreated
public DedicatedShardDetails.Builder timeCreated(Date timeCreated)
The time the the shard was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public DedicatedShardDetails.Builder timeUpdated(Date timeUpdated)
The time the shard was last updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
timeSslCertificateExpires
public DedicatedShardDetails.Builder timeSslCertificateExpires(Date timeSslCertificateExpires)
The time the ssl certificate associated with shard expires.An RFC3339 formatted datetime string
- Parameters:
timeSslCertificateExpires
- the value to set- Returns:
- this builder
-
status
public DedicatedShardDetails.Builder status(DedicatedShardDetails.Status status)
Status of shard or catalog or gsm for the sharded database.- Parameters:
status
- the value to set- Returns:
- this builder
-
shardSpace
public DedicatedShardDetails.Builder shardSpace(String shardSpace)
Shard space name.- Parameters:
shardSpace
- the value to set- Returns:
- this builder
-
supportingResourceId
public DedicatedShardDetails.Builder supportingResourceId(String supportingResourceId)
Identifier of the underlying supporting resource.- Parameters:
supportingResourceId
- the value to set- Returns:
- this builder
-
containerDatabaseId
public DedicatedShardDetails.Builder containerDatabaseId(String containerDatabaseId)
Identifier of the underlying container database.- Parameters:
containerDatabaseId
- the value to set- Returns:
- this builder
-
containerDatabaseParentId
public DedicatedShardDetails.Builder containerDatabaseParentId(String containerDatabaseParentId)
Identifier of the underlying container database parent.- Parameters:
containerDatabaseParentId
- the value to set- Returns:
- this builder
-
isAutoScalingEnabled
public DedicatedShardDetails.Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled)
Determines the auto-scaling mode.- Parameters:
isAutoScalingEnabled
- the value to set- Returns:
- this builder
-
cloudAutonomousVmClusterId
public DedicatedShardDetails.Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId)
Identifier of the primary cloudAutonomousVmCluster for the shard.- Parameters:
cloudAutonomousVmClusterId
- the value to set- Returns:
- this builder
-
peerCloudAutonomousVmClusterId
public DedicatedShardDetails.Builder peerCloudAutonomousVmClusterId(String peerCloudAutonomousVmClusterId)
Identifier of the peer cloudAutonomousVmCluster for the shard.- Parameters:
peerCloudAutonomousVmClusterId
- the value to set- Returns:
- this builder
-
metadata
public DedicatedShardDetails.Builder metadata(Map<String,Object> metadata)
Additional metadata related to shard’s underlying supporting resource.- Parameters:
metadata
- the value to set- Returns:
- this builder
-
build
public DedicatedShardDetails build()
-
copy
public DedicatedShardDetails.Builder copy(DedicatedShardDetails model)
-
-