Package com.oracle.bmc.functions.model
Class PbfListing.Builder
- java.lang.Object
-
- com.oracle.bmc.functions.model.PbfListing.Builder
-
- Enclosing class:
- PbfListing
public static class PbfListing.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PbfListingbuild()PbfListing.Buildercopy(PbfListing model)PbfListing.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PbfListing.Builderdescription(String description)A short overview of the PBF Listing: the purpose of the PBF and and associated information.PbfListing.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.PbfListing.Builderid(String id)Unique identifier that is immutable on creation.PbfListing.BuilderlifecycleState(PbfListing.LifecycleState lifecycleState)The current state of the PBF resource.PbfListing.Buildername(String name)A brief descriptive name for the PBF listing.PbfListing.BuilderpublisherDetails(PublisherDetails publisherDetails)PbfListing.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.PbfListing.BuildertimeCreated(Date timeCreated)The time the PbfListing was created.PbfListing.BuildertimeUpdated(Date timeUpdated)The last time the PbfListing was updated.PbfListing.Buildertriggers(List<Trigger> triggers)An array of Trigger.
-
-
-
Method Detail
-
id
public PbfListing.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id- the value to set- Returns:
- this builder
-
name
public PbfListing.Builder name(String name)
A brief descriptive name for the PBF listing.The PBF listing name must be unique, and not match and existing PBF.
- Parameters:
name- the value to set- Returns:
- this builder
-
description
public PbfListing.Builder description(String description)
A short overview of the PBF Listing: the purpose of the PBF and and associated information.- Parameters:
description- the value to set- Returns:
- this builder
-
publisherDetails
public PbfListing.Builder publisherDetails(PublisherDetails publisherDetails)
-
triggers
public PbfListing.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 PbfListing.Builder timeCreated(Date timeCreated)
The time the PbfListing was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public PbfListing.Builder timeUpdated(Date timeUpdated)
The last time the PbfListing was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public PbfListing.Builder lifecycleState(PbfListing.LifecycleState lifecycleState)
The current state of the PBF resource.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
freeformTags
public PbfListing.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 PbfListing.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 PbfListing.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 PbfListing build()
-
copy
public PbfListing.Builder copy(PbfListing model)
-
-