Class ProductSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.ProductSummary.Builder
-
- Enclosing class:
- ProductSummary
public static class ProductSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductSummary
build()
ProductSummary.Builder
code(String code)
The code for the product.ProductSummary.Builder
copy(ProductSummary model)
ProductSummary.Builder
lifecycleState(Product.LifecycleState lifecycleState)
The current state for the product.ProductSummary.Builder
name(String name)
The name for the product.ProductSummary.Builder
productGroup(String productGroup)
The product group for the product.ProductSummary.Builder
timeCreated(Date timeCreated)
The date and time the product was created, in the format defined by RFC3339.ProductSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the product was updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
name
public ProductSummary.Builder name(String name)
The name for the product.- Parameters:
name
- the value to set- Returns:
- this builder
-
code
public ProductSummary.Builder code(String code)
The code for the product.- Parameters:
code
- the value to set- Returns:
- this builder
-
productGroup
public ProductSummary.Builder productGroup(String productGroup)
The product group for the product.- Parameters:
productGroup
- the value to set- Returns:
- this builder
-
lifecycleState
public ProductSummary.Builder lifecycleState(Product.LifecycleState lifecycleState)
The current state for the product.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public ProductSummary.Builder timeCreated(Date timeCreated)
The date and time the product was created, in the format defined by RFC3339.Example: 2022-09-15T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ProductSummary.Builder timeUpdated(Date timeUpdated)
The date and time the product was updated, in the format defined by RFC3339.Example: 2022-09-15T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
build
public ProductSummary build()
-
copy
public ProductSummary.Builder copy(ProductSummary model)
-
-