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 PbfListing
build()
PbfListing.Builder
copy(PbfListing model)
PbfListing.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.PbfListing.Builder
description(String description)
A short overview of the PBF Listing: the purpose of the PBF and and associated information.PbfListing.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.PbfListing.Builder
id(String id)
Unique identifier that is immutable on creation.PbfListing.Builder
lifecycleState(PbfListing.LifecycleState lifecycleState)
The current state of the PBF resource.PbfListing.Builder
name(String name)
A brief descriptive name for the PBF listing.PbfListing.Builder
publisherDetails(PublisherDetails publisherDetails)
PbfListing.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.PbfListing.Builder
timeCreated(Date timeCreated)
The time the PbfListing was created.PbfListing.Builder
timeUpdated(Date timeUpdated)
The last time the PbfListing was updated.PbfListing.Builder
triggers(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)
-
-