Class Lead.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.Lead.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
id
public Lead.Builder id(String id)
Unique OCID identifier for the lead.- Parameters:
id- the value to set- Returns:
- this builder
-
listingId
public Lead.Builder listingId(String listingId)
The OCID for the listing.- Parameters:
listingId- the value to set- Returns:
- this builder
-
listingName
public Lead.Builder listingName(String listingName)
The Name for the listing.- Parameters:
listingName- the value to set- Returns:
- this builder
-
compartmentId
public Lead.Builder compartmentId(String compartmentId)
The OCID for the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
lifecycleState
public Lead.Builder lifecycleState(Lead.LifecycleState lifecycleState)
The state for the listing.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public 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
-
additionalInfo
public Lead.Builder additionalInfo(AdditionalInfo additionalInfo)
-
build
public Lead build()
-
copy
public Lead.Builder copy(Lead model)
-
-