Class Addon.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.Addon.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Addon.Builder
addonError(AddonError addonError)
The error info of the addon.Addon
build()
Addon.Builder
configurations(List<AddonConfiguration> configurations)
Addon configuration details.Addon.Builder
copy(Addon model)
Addon.Builder
currentInstalledVersion(String currentInstalledVersion)
current installed version of the addonAddon.Builder
lifecycleState(AddonLifecycleState lifecycleState)
The state of the addon.Addon.Builder
name(String name)
The name of the addon.Addon.Builder
timeCreated(Date timeCreated)
The time the cluster was created.Addon.Builder
version(String version)
selected addon version, or null indicates autoUpdate
-
-
-
Method Detail
-
name
public Addon.Builder name(String name)
The name of the addon.- Parameters:
name
- the value to set- Returns:
- this builder
-
version
public Addon.Builder version(String version)
selected addon version, or null indicates autoUpdate- Parameters:
version
- the value to set- Returns:
- this builder
-
currentInstalledVersion
public Addon.Builder currentInstalledVersion(String currentInstalledVersion)
current installed version of the addon- Parameters:
currentInstalledVersion
- the value to set- Returns:
- this builder
-
timeCreated
public Addon.Builder timeCreated(Date timeCreated)
The time the cluster was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public Addon.Builder lifecycleState(AddonLifecycleState lifecycleState)
The state of the addon.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
configurations
public Addon.Builder configurations(List<AddonConfiguration> configurations)
Addon configuration details.- Parameters:
configurations
- the value to set- Returns:
- this builder
-
addonError
public Addon.Builder addonError(AddonError addonError)
The error info of the addon.- Parameters:
addonError
- the value to set- Returns:
- this builder
-
build
public Addon build()
-
copy
public Addon.Builder copy(Addon model)
-
-