public static class BulkApplyResourceAction.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BulkApplyResourceAction |
build() |
BulkApplyResourceAction.Builder |
copy(BulkApplyResourceAction model) |
BulkApplyResourceAction.Builder |
parameters(Map<String,Object> parameters)
Additional parameter key-value pairs defining the resource action.
|
BulkApplyResourceAction.Builder |
resourceActionId(String resourceActionId)
The unique OCIDs of the resource actions that recommendations are applied to.
|
BulkApplyResourceAction.Builder |
status(Status status)
The current status of the recommendation.
|
BulkApplyResourceAction.Builder |
strategyName(String strategyName)
The name of the strategy.
|
BulkApplyResourceAction.Builder |
timeStatusEnd(Date timeStatusEnd)
The date and time the current status will change.
|
public BulkApplyResourceAction.Builder resourceActionId(String resourceActionId)
The unique OCIDs of the resource actions that recommendations are applied to.
resourceActionId
- the value to setpublic BulkApplyResourceAction.Builder status(Status status)
The current status of the recommendation.
status
- the value to setpublic BulkApplyResourceAction.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."
timeStatusEnd
- the value to setpublic BulkApplyResourceAction.Builder parameters(Map<String,Object> parameters)
Additional parameter key-value pairs defining the resource action. For example:
{"timeAmount": 15, "timeUnit": "seconds"}
parameters
- the value to setpublic BulkApplyResourceAction.Builder strategyName(String strategyName)
The name of the strategy.
strategyName
- the value to setpublic BulkApplyResourceAction build()
public BulkApplyResourceAction.Builder copy(BulkApplyResourceAction model)
Copyright © 2016–2024. All rights reserved.