Class LeadSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.marketplacepublisher.model.LeadSummary.Builder
 
- 
- Enclosing class:
- LeadSummary
 
 public static class LeadSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description LeadSummary.BuilderadditionalInfo(AdditionalInfo additionalInfo)LeadSummarybuild()LeadSummary.BuildercompartmentId(String compartmentId)The unique identifier for the compartment.LeadSummary.Buildercopy(LeadSummary model)LeadSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.LeadSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.LeadSummary.Builderid(String id)Unique OCID identifier for the listing.LeadSummary.BuilderlifecycleState(Lead.LifecycleState lifecycleState)The state for the listing.LeadSummary.BuilderlistingId(String listingId)The unique identifier for the listing.LeadSummary.BuilderlistingName(String listingName)The name of the listing.LeadSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.LeadSummary.BuildertimeCreated(Date timeCreated)The date and time the listing was created, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic LeadSummary.Builder id(String id) Unique OCID identifier for the listing.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
listingIdpublic LeadSummary.Builder listingId(String listingId) The unique identifier for the listing.- Parameters:
- listingId- the value to set
- Returns:
- this builder
 
 - 
listingNamepublic LeadSummary.Builder listingName(String listingName) The name of the listing.- Parameters:
- listingName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic LeadSummary.Builder compartmentId(String compartmentId) The unique identifier for the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic LeadSummary.Builder lifecycleState(Lead.LifecycleState lifecycleState) The state for the listing.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic LeadSummary.Builder timeCreated(Date timeCreated) The date and time the listing was created, in the format defined by RFC3339.Example: 2023-03-27T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
additionalInfopublic LeadSummary.Builder additionalInfo(AdditionalInfo additionalInfo) 
 - 
systemTagspublic LeadSummary.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
 
 - 
freeformTagspublic LeadSummary.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
 
 - 
definedTagspublic LeadSummary.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
 
 - 
buildpublic LeadSummary build() 
 - 
copypublic LeadSummary.Builder copy(LeadSummary model) 
 
- 
 
-