Class AddonSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.AddonSummary.Builder
-
- Enclosing class:
- AddonSummary
public static class AddonSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddonSummary.BuilderaddonError(AddonError addonError)The error info of the addon.AddonSummarybuild()AddonSummary.Buildercopy(AddonSummary model)AddonSummary.BuildercurrentInstalledVersion(String currentInstalledVersion)current installed version of the addonAddonSummary.BuilderlifecycleState(AddonLifecycleState lifecycleState)The state of the addon.AddonSummary.Buildername(String name)The name of the addon.AddonSummary.BuildertimeCreated(Date timeCreated)The time the cluster was created.AddonSummary.Builderversion(String version)selected addon version, or null indicates autoUpdate
-
-
-
Method Detail
-
name
public AddonSummary.Builder name(String name)
The name of the addon.- Parameters:
name- the value to set- Returns:
- this builder
-
version
public AddonSummary.Builder version(String version)
selected addon version, or null indicates autoUpdate- Parameters:
version- the value to set- Returns:
- this builder
-
currentInstalledVersion
public AddonSummary.Builder currentInstalledVersion(String currentInstalledVersion)
current installed version of the addon- Parameters:
currentInstalledVersion- the value to set- Returns:
- this builder
-
timeCreated
public AddonSummary.Builder timeCreated(Date timeCreated)
The time the cluster was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
lifecycleState
public AddonSummary.Builder lifecycleState(AddonLifecycleState lifecycleState)
The state of the addon.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
addonError
public AddonSummary.Builder addonError(AddonError addonError)
The error info of the addon.- Parameters:
addonError- the value to set- Returns:
- this builder
-
build
public AddonSummary build()
-
copy
public AddonSummary.Builder copy(AddonSummary model)
-
-