Package com.oracle.bmc.optimizer.model
Class BulkApplyRecommendationsDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.optimizer.model.BulkApplyRecommendationsDetails.Builder
-
- Enclosing class:
- BulkApplyRecommendationsDetails
public static class BulkApplyRecommendationsDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkApplyRecommendationsDetails.Builder
actions(List<BulkApplyResourceAction> actions)
The unique resource actions that recommendations are applied to.BulkApplyRecommendationsDetails
build()
BulkApplyRecommendationsDetails.Builder
copy(BulkApplyRecommendationsDetails model)
BulkApplyRecommendationsDetails.Builder
resourceActionIds(List<String> resourceActionIds)
The unique OCIDs of the resource actions that recommendations are applied to.BulkApplyRecommendationsDetails.Builder
status(Status status)
The current status of the recommendation.BulkApplyRecommendationsDetails.Builder
timeStatusEnd(Date timeStatusEnd)
The date and time the current status will change.
-
-
-
Method Detail
-
resourceActionIds
public BulkApplyRecommendationsDetails.Builder resourceActionIds(List<String> resourceActionIds)
The unique OCIDs of the resource actions that recommendations are applied to.This field is deprecated.
- Parameters:
resourceActionIds
- the value to set- Returns:
- this builder
-
actions
public BulkApplyRecommendationsDetails.Builder actions(List<BulkApplyResourceAction> actions)
The unique resource actions that recommendations are applied to.- Parameters:
actions
- the value to set- Returns:
- this builder
-
status
public BulkApplyRecommendationsDetails.Builder status(Status status)
The current status of the recommendation.- Parameters:
status
- the value to set- Returns:
- this builder
-
timeStatusEnd
public BulkApplyRecommendationsDetails.Builder timeStatusEnd(Date timeStatusEnd)
The date and time the current status will change.The format is defined by RFC3339.
For example, "The current postponed status of the resource action will end and change to pending on this date and time."
- Parameters:
timeStatusEnd
- the value to set- Returns:
- this builder
-
build
public BulkApplyRecommendationsDetails build()
-
copy
public BulkApplyRecommendationsDetails.Builder copy(BulkApplyRecommendationsDetails model)
-
-