Class ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabasev26.model.ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.Builder
-
- Enclosing class:
- ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails
public static class ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
isEnabled
public ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.Builder isEnabled(Boolean isEnabled)
Flag indicating if autoResourceManagement is enabled or disabled.- Parameters:
isEnabled- the value to set- Returns:
- this builder
-
coolOffPeriodInMinutes
public ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.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 ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.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 ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.Builder maxMoveRuUnit(ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.MaxMoveRuUnit maxMoveRuUnit)
Time unit applicable to maxMoveRuAttempts.- Parameters:
maxMoveRuUnit- the value to set- Returns:
- this builder
-
mode
public ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.Builder mode(ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.Mode mode)
Mode of autoResourceManagement execution.- Parameters:
mode- the value to set- Returns:
- this builder
-
actionType
public ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.Builder actionType(ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.ActionType actionType)
The action that will be taken when autoResourceManagement is triggered.- Parameters:
actionType- the value to set- Returns:
- this builder
-
notificationTopicIds
public ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.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 ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.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 ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails build()
-
-