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.BuilderadditionalFilters(List<AdditionalFilter> additionalFilters)Additional filter properties for productProductSummarybuild()ProductSummary.Buildercode(String code)The code for the product.ProductSummary.Buildercopy(ProductSummary model)ProductSummary.BuilderlifecycleState(Product.LifecycleState lifecycleState)The current state for the product.ProductSummary.Buildername(String name)The name for the product.ProductSummary.BuilderproductGroup(String productGroup)The product group for the product.ProductSummary.BuildertimeCreated(Date timeCreated)The date and time the product was created, in the format defined by RFC3339.ProductSummary.BuildertimeUpdated(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
-
additionalFilters
public ProductSummary.Builder additionalFilters(List<AdditionalFilter> additionalFilters)
Additional filter properties for product- Parameters:
additionalFilters- 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)
-
-