Package com.oracle.bmc.functions.model
Class FunctionsRuntimeVersion.Builder
- java.lang.Object
-
- com.oracle.bmc.functions.model.FunctionsRuntimeVersion.Builder
-
- Enclosing class:
- FunctionsRuntimeVersion
public static class FunctionsRuntimeVersion.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionsRuntimeVersionbuild()FunctionsRuntimeVersion.Buildercopy(FunctionsRuntimeVersion model)FunctionsRuntimeVersion.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.FunctionsRuntimeVersion.BuilderdisplayName(String displayName)The display name of the FunctionsRuntimeVersion.FunctionsRuntimeVersion.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.FunctionsRuntimeVersion.BuilderfunctionsRuntimeId(String functionsRuntimeId)The OCID of the FunctionsRuntime this resource version belongs to.FunctionsRuntimeVersion.Builderid(String id)The OCID of the FunctionsRuntimeVersion that is immutable on creation.FunctionsRuntimeVersion.BuilderlanguageVersion(String languageVersion)The version of the programming language of the FunctionsRuntime.FunctionsRuntimeVersion.BuilderlifecycleState(FunctionsRuntimeVersion.LifecycleState lifecycleState)The current state of the FunctionsRuntimeVersion resource.FunctionsRuntimeVersion.Buildermetadata(String metadata)Details of the change in the FunctionsRuntimeVersion of the FunctionsRuntime.FunctionsRuntimeVersion.BuilderosVersion(String osVersion)The version of the operating system of the FunctionsRuntime.FunctionsRuntimeVersion.BuildersupportedArchitectures(List<FunctionsRuntimeVersion.SupportedArchitectures> supportedArchitectures)The list of supported architectures for the FunctionsRuntimeVersion.FunctionsRuntimeVersion.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.FunctionsRuntimeVersion.BuildertimeCreated(Date timeCreated)The time when the FunctionsRuntimeVersion was created.FunctionsRuntimeVersion.BuildertimeUpdated(Date timeUpdated)The time when the FunctionsRuntimeVersion was updated.
-
-
-
Method Detail
-
id
public FunctionsRuntimeVersion.Builder id(String id)
The OCID of the FunctionsRuntimeVersion that is immutable on creation.- Parameters:
id- the value to set- Returns:
- this builder
-
functionsRuntimeId
public FunctionsRuntimeVersion.Builder functionsRuntimeId(String functionsRuntimeId)
The OCID of the FunctionsRuntime this resource version belongs to.- Parameters:
functionsRuntimeId- the value to set- Returns:
- this builder
-
displayName
public FunctionsRuntimeVersion.Builder displayName(String displayName)
The display name of the FunctionsRuntimeVersion.- Parameters:
displayName- the value to set- Returns:
- this builder
-
osVersion
public FunctionsRuntimeVersion.Builder osVersion(String osVersion)
The version of the operating system of the FunctionsRuntime.This is the OS version that the FunctionsRuntime provides for execution of customer payloads.
- Parameters:
osVersion- the value to set- Returns:
- this builder
-
languageVersion
public FunctionsRuntimeVersion.Builder languageVersion(String languageVersion)
The version of the programming language of the FunctionsRuntime.This is the language version that the FunctionsRuntime provides for execution of customer payloads.
- Parameters:
languageVersion- the value to set- Returns:
- this builder
-
supportedArchitectures
public FunctionsRuntimeVersion.Builder supportedArchitectures(List<FunctionsRuntimeVersion.SupportedArchitectures> supportedArchitectures)
The list of supported architectures for the FunctionsRuntimeVersion.- Parameters:
supportedArchitectures- the value to set- Returns:
- this builder
-
metadata
public FunctionsRuntimeVersion.Builder metadata(String metadata)
Details of the change in the FunctionsRuntimeVersion of the FunctionsRuntime.- Parameters:
metadata- the value to set- Returns:
- this builder
-
lifecycleState
public FunctionsRuntimeVersion.Builder lifecycleState(FunctionsRuntimeVersion.LifecycleState lifecycleState)
The current state of the FunctionsRuntimeVersion resource.- ACTIVE: The resource is currently active and operational. - INACTIVE: The resource is currently inactive and not operational.
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public FunctionsRuntimeVersion.Builder timeCreated(Date timeCreated)
The time when the FunctionsRuntimeVersion was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public FunctionsRuntimeVersion.Builder timeUpdated(Date timeUpdated)
The time when the FunctionsRuntimeVersion was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public FunctionsRuntimeVersion.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public FunctionsRuntimeVersion.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public FunctionsRuntimeVersion.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public FunctionsRuntimeVersion build()
-
copy
public FunctionsRuntimeVersion.Builder copy(FunctionsRuntimeVersion model)
-
-