Class ConfigureDistributedDatabaseAutoResourceManagementDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabasev26.model.ConfigureDistributedDatabaseAutoResourceManagementDetails.Builder
-
- Enclosing class:
- ConfigureDistributedDatabaseAutoResourceManagementDetails
public static class ConfigureDistributedDatabaseAutoResourceManagementDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
isEnabled
public ConfigureDistributedDatabaseAutoResourceManagementDetails.Builder isEnabled(Boolean isEnabled)
Flag indicating if autoResourceManagement is enabled or disabled.- Parameters:
isEnabled- the value to set- Returns:
- this builder
-
coolOffPeriodInMinutes
public ConfigureDistributedDatabaseAutoResourceManagementDetails.Builder coolOffPeriodInMinutes(Integer coolOffPeriodInMinutes)
Time period to wait for the database to get stable after autoResourceManagement event.- Parameters:
coolOffPeriodInMinutes- the value to set- Returns:
- this builder
-
maxMoveRuAttempts
public ConfigureDistributedDatabaseAutoResourceManagementDetails.Builder maxMoveRuAttempts(Integer maxMoveRuAttempts)
Maximum number of move replication unit attempts allowed within the configured period per database.- Parameters:
maxMoveRuAttempts- the value to set- Returns:
- this builder
-
maxMoveRuUnit
public ConfigureDistributedDatabaseAutoResourceManagementDetails.Builder maxMoveRuUnit(ConfigureDistributedDatabaseAutoResourceManagementDetails.MaxMoveRuUnit maxMoveRuUnit)
Time unit applicable to maxMoveRuAttempts.- Parameters:
maxMoveRuUnit- the value to set- Returns:
- this builder
-
mode
public ConfigureDistributedDatabaseAutoResourceManagementDetails.Builder mode(ConfigureDistributedDatabaseAutoResourceManagementDetails.Mode mode)
Mode of autoResourceManagement execution.- Parameters:
mode- the value to set- Returns:
- this builder
-
actionType
public ConfigureDistributedDatabaseAutoResourceManagementDetails.Builder actionType(ConfigureDistributedDatabaseAutoResourceManagementDetails.ActionType actionType)
The action that will be taken when autoResourceManagement is triggered.- Parameters:
actionType- the value to set- Returns:
- this builder
-
notificationTopicIds
public ConfigureDistributedDatabaseAutoResourceManagementDetails.Builder notificationTopicIds(List<String> notificationTopicIds)
The list of notification topic ids OCIDs to receive autoResourceManagement events.- Parameters:
notificationTopicIds- the value to set- Returns:
- this builder
-
streamIds
public ConfigureDistributedDatabaseAutoResourceManagementDetails.Builder streamIds(List<String> streamIds)
The list of stream ids OCIDs that receive shard-related telemetry.- Parameters:
streamIds- the value to set- Returns:
- this builder
-
build
public ConfigureDistributedDatabaseAutoResourceManagementDetails build()
-
-