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.BuilderaddonError(AddonError addonError)The error info of the addon.Addonbuild()Addon.Builderconfigurations(List<AddonConfiguration> configurations)Addon configuration details.Addon.Buildercopy(Addon model)Addon.BuildercurrentInstalledVersion(String currentInstalledVersion)current installed version of the addonAddon.BuilderlifecycleState(AddonLifecycleState lifecycleState)The state of the addon.Addon.Buildername(String name)The name of the addon.Addon.BuildertimeCreated(Date timeCreated)The time the cluster was created.Addon.Builderversion(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)
-
-