Class ActionGroup.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.ActionGroup.Builder
-
- Enclosing class:
- ActionGroup
public static class ActionGroup.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionGroup.Builder
applicationType(String applicationType)
Application Type associated.ActionGroup
build()
ActionGroup.Builder
copy(ActionGroup model)
ActionGroup.Builder
lifecycleOperation(String lifecycleOperation)
LifeCycle OperationActionGroup.Builder
product(String product)
Product associated.ActionGroup.Builder
resourceId(String resourceId)
Provide the ID of the resource.ActionGroup.Builder
runbookId(String runbookId)
ID of the runbookActionGroup.Builder
subjects(List<String> subjects)
Provide subjects that need to be considered for the schedule.ActionGroup.Builder
targetId(String targetId)
Provide the target if schedule is created against the targetActionGroup.Builder
type(LifeCycleActionGroupType type)
ActionGroup Type associated.
-
-
-
Method Detail
-
resourceId
public ActionGroup.Builder resourceId(String resourceId)
Provide the ID of the resource.Example fleet ID.
- Parameters:
resourceId
- the value to set- Returns:
- this builder
-
type
public ActionGroup.Builder type(LifeCycleActionGroupType type)
ActionGroup Type associated.- Parameters:
type
- the value to set- Returns:
- this builder
-
applicationType
public ActionGroup.Builder applicationType(String applicationType)
Application Type associated.Only applicable if type is ENVIRONMENT.
- Parameters:
applicationType
- the value to set- Returns:
- this builder
-
product
public ActionGroup.Builder product(String product)
Product associated.Only applicable if type is PRODUCT.
- Parameters:
product
- the value to set- Returns:
- this builder
-
lifecycleOperation
public ActionGroup.Builder lifecycleOperation(String lifecycleOperation)
LifeCycle Operation- Parameters:
lifecycleOperation
- the value to set- Returns:
- this builder
-
runbookId
public ActionGroup.Builder runbookId(String runbookId)
ID of the runbook- Parameters:
runbookId
- the value to set- Returns:
- this builder
-
targetId
public ActionGroup.Builder targetId(String targetId)
Provide the target if schedule is created against the target- Parameters:
targetId
- the value to set- Returns:
- this builder
-
subjects
public ActionGroup.Builder subjects(List<String> subjects)
Provide subjects that need to be considered for the schedule.- Parameters:
subjects
- the value to set- Returns:
- this builder
-
build
public ActionGroup build()
-
copy
public ActionGroup.Builder copy(ActionGroup model)
-
-