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