Class ListingRevisionNote.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.ListingRevisionNote.Builder
-
- Enclosing class:
- ListingRevisionNote
public static class ListingRevisionNote.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListingRevisionNotebuild()ListingRevisionNote.BuildercompartmentId(String compartmentId)The unique identifier for the compartment.ListingRevisionNote.Buildercopy(ListingRevisionNote model)ListingRevisionNote.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ListingRevisionNote.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ListingRevisionNote.Builderid(String id)The OCID of the listing revision note.ListingRevisionNote.BuilderlifecycleState(ListingRevisionNote.LifecycleState lifecycleState)The current state of the listing revision note.ListingRevisionNote.BuilderlistingRevisionId(String listingRevisionId)The unique identifier of the listing revision that the specified note belongs to.ListingRevisionNote.BuildernoteDetails(String noteDetails)Notes provided for the listing revision.ListingRevisionNote.BuildernoteSource(ListingRevisionNote.NoteSource noteSource)type of the note.ListingRevisionNote.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ListingRevisionNote.BuildertimeCreated(Date timeCreated)The date and time the listing revision note was created, expressed in RFC 3339 timestamp format.ListingRevisionNote.BuildertimeUpdated(Date timeUpdated)The date and time the listing revision note was updated, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public ListingRevisionNote.Builder id(String id)
The OCID of the listing revision note.- Parameters:
id- the value to set- Returns:
- this builder
-
listingRevisionId
public ListingRevisionNote.Builder listingRevisionId(String listingRevisionId)
The unique identifier of the listing revision that the specified note belongs to.- Parameters:
listingRevisionId- the value to set- Returns:
- this builder
-
compartmentId
public ListingRevisionNote.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
noteSource
public ListingRevisionNote.Builder noteSource(ListingRevisionNote.NoteSource noteSource)
type of the note.- Parameters:
noteSource- the value to set- Returns:
- this builder
-
noteDetails
public ListingRevisionNote.Builder noteDetails(String noteDetails)
Notes provided for the listing revision.- Parameters:
noteDetails- the value to set- Returns:
- this builder
-
lifecycleState
public ListingRevisionNote.Builder lifecycleState(ListingRevisionNote.LifecycleState lifecycleState)
The current state of the listing revision note.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public ListingRevisionNote.Builder timeCreated(Date timeCreated)
The date and time the listing revision note was created, expressed in RFC 3339 timestamp format.Example: 2022-09-24T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ListingRevisionNote.Builder timeUpdated(Date timeUpdated)
The date and time the listing revision note was updated, expressed in RFC 3339 timestamp format.Example: 2022-09-24T21:10:29.600Z
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public ListingRevisionNote.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 ListingRevisionNote.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 ListingRevisionNote.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 ListingRevisionNote build()
-
copy
public ListingRevisionNote.Builder copy(ListingRevisionNote model)
-
-