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