public static class ProductSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public ProductSummary.Builder name(String name)
The name for the product.
name
- the value to setpublic ProductSummary.Builder code(String code)
The code for the product.
code
- the value to setpublic ProductSummary.Builder productGroup(String productGroup)
The product group for the product.
productGroup
- the value to setpublic ProductSummary.Builder lifecycleState(Product.LifecycleState lifecycleState)
The current state for the product.
lifecycleState
- the value to setpublic 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
timeCreated
- the value to setpublic 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
timeUpdated
- the value to setpublic ProductSummary build()
public ProductSummary.Builder copy(ProductSummary model)
Copyright © 2016–2025. All rights reserved.