Class ComponentProperties.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.ComponentProperties.Builder
-
- Enclosing class:
- ComponentProperties
public static class ComponentProperties.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentProperties.Builder
actionOnFailure(ComponentProperties.ActionOnFailure actionOnFailure)
The action to be taken in case of a failure.ComponentProperties
build()
ComponentProperties.Builder
condition(String condition)
Build control flow conditions that determine the relevance of the task execution.ComponentProperties.Builder
copy(ComponentProperties model)
ComponentProperties.Builder
notificationPreferences(TaskNotificationPreferences notificationPreferences)
ComponentProperties.Builder
pauseDetails(PauseDetails pauseDetails)
ComponentProperties.Builder
runOn(String runOn)
The runOn condition for the task/group/container.
-
-
-
Method Detail
-
runOn
public ComponentProperties.Builder runOn(String runOn)
The runOn condition for the task/group/container.Build task execution conditions if applicable to product and product-specific components. This condition is relevant when handling product stack workflows. Example: target.product.name = Oracle WebLogic Server OR target.product.name = Oracle HTTP Server
- Parameters:
runOn
- the value to set- Returns:
- this builder
-
condition
public ComponentProperties.Builder condition(String condition)
Build control flow conditions that determine the relevance of the task execution.- Parameters:
condition
- the value to set- Returns:
- this builder
-
actionOnFailure
public ComponentProperties.Builder actionOnFailure(ComponentProperties.ActionOnFailure actionOnFailure)
The action to be taken in case of a failure.- Parameters:
actionOnFailure
- the value to set- Returns:
- this builder
-
pauseDetails
public ComponentProperties.Builder pauseDetails(PauseDetails pauseDetails)
-
notificationPreferences
public ComponentProperties.Builder notificationPreferences(TaskNotificationPreferences notificationPreferences)
-
build
public ComponentProperties build()
-
copy
public ComponentProperties.Builder copy(ComponentProperties model)
-
-