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.Builder
additionalInfo(AdditionalInfo additionalInfo)
Lead
build()
Lead.Builder
compartmentId(String compartmentId)
The OCID for the compartment.Lead.Builder
copy(Lead model)
Lead.Builder
id(String id)
Unique OCID identifier for the lead.Lead.Builder
lifecycleState(Lead.LifecycleState lifecycleState)
The state for the listing.Lead.Builder
listingId(String listingId)
The OCID for the listing.Lead.Builder
listingName(String listingName)
The Name for the listing.Lead.Builder
timeCreated(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)
-
-