Package com.oracle.bmc.functions.model
Class PbfListingVersion.Builder
- java.lang.Object
-
- com.oracle.bmc.functions.model.PbfListingVersion.Builder
-
- Enclosing class:
- PbfListingVersion
public static class PbfListingVersion.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PbfListingVersionbuild()PbfListingVersion.BuilderchangeSummary(String changeSummary)Details changes are included in this version.PbfListingVersion.Builderconfig(List<ConfigDetails> config)Details about the required and optional Function configurations needed for proper performance of the PBF.PbfListingVersion.Buildercopy(PbfListingVersion model)PbfListingVersion.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PbfListingVersion.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.PbfListingVersion.Builderid(String id)Unique identifier that is immutable on creationPbfListingVersion.BuilderlifecycleState(PbfListingVersion.LifecycleState lifecycleState)The current state of the PBF resource.PbfListingVersion.Buildername(String name)Semantic versionPbfListingVersion.BuilderpbfListingId(String pbfListingId)The OCID of the PbfListing this resource version belongs to.PbfListingVersion.Builderrequirements(RequirementDetails requirements)PbfListingVersion.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.PbfListingVersion.BuildertimeCreated(Date timeCreated)The time the PbfListingVersion was created.PbfListingVersion.BuildertimeUpdated(Date timeUpdated)The last time the PbfListingVersion was updated.PbfListingVersion.Buildertriggers(List<Trigger> triggers)An array of Trigger.
-
-
-
Method Detail
-
id
public PbfListingVersion.Builder id(String id)
Unique identifier that is immutable on creation- Parameters:
id- the value to set- Returns:
- this builder
-
pbfListingId
public PbfListingVersion.Builder pbfListingId(String pbfListingId)
The OCID of the PbfListing this resource version belongs to.- Parameters:
pbfListingId- the value to set- Returns:
- this builder
-
name
public PbfListingVersion.Builder name(String name)
Semantic version- Parameters:
name- the value to set- Returns:
- this builder
-
config
public PbfListingVersion.Builder config(List<ConfigDetails> config)
Details about the required and optional Function configurations needed for proper performance of the PBF.- Parameters:
config- the value to set- Returns:
- this builder
-
requirements
public PbfListingVersion.Builder requirements(RequirementDetails requirements)
-
changeSummary
public PbfListingVersion.Builder changeSummary(String changeSummary)
Details changes are included in this version.- Parameters:
changeSummary- the value to set- Returns:
- this builder
-
triggers
public PbfListingVersion.Builder triggers(List<Trigger> triggers)
An array of Trigger.A list of triggers that may activate the PBF.
- Parameters:
triggers- the value to set- Returns:
- this builder
-
timeCreated
public PbfListingVersion.Builder timeCreated(Date timeCreated)
The time the PbfListingVersion was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public PbfListingVersion.Builder timeUpdated(Date timeUpdated)
The last time the PbfListingVersion was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public PbfListingVersion.Builder lifecycleState(PbfListingVersion.LifecycleState lifecycleState)
The current state of the PBF resource.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
freeformTags
public PbfListingVersion.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 PbfListingVersion.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 PbfListingVersion.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 PbfListingVersion build()
-
copy
public PbfListingVersion.Builder copy(PbfListingVersion model)
-
-