Class Lead.Builder
- java.lang.Object
- 
- com.oracle.bmc.marketplacepublisher.model.Lead.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Lead.BuilderadditionalInfo(AdditionalInfo additionalInfo)Leadbuild()Lead.BuildercompartmentId(String compartmentId)The OCID for the compartment.Lead.Buildercopy(Lead model)Lead.Builderid(String id)Unique OCID identifier for the lead.Lead.BuilderlifecycleState(Lead.LifecycleState lifecycleState)The state for the listing.Lead.BuilderlistingId(String listingId)The OCID for the listing.Lead.BuilderlistingName(String listingName)The Name for the listing.Lead.BuildertimeCreated(Date timeCreated)The date and time the listing was created, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic Lead.Builder id(String id) Unique OCID identifier for the lead.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
listingIdpublic Lead.Builder listingId(String listingId) The OCID for the listing.- Parameters:
- listingId- the value to set
- Returns:
- this builder
 
 - 
listingNamepublic Lead.Builder listingName(String listingName) The Name for the listing.- Parameters:
- listingName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Lead.Builder compartmentId(String compartmentId) The OCID for the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Lead.Builder lifecycleState(Lead.LifecycleState lifecycleState) The state for the listing.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Lead.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 Lead.Builder additionalInfo(AdditionalInfo additionalInfo) 
 - 
buildpublic Lead build() 
 - 
copypublic Lead.Builder copy(Lead model) 
 
- 
 
-