public static class CategorySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CategorySummary |
build() |
CategorySummary.Builder |
code(String code)
The code of the category.
|
CategorySummary.Builder |
copy(CategorySummary model) |
CategorySummary.Builder |
lifecycleState(Category.LifecycleState lifecycleState)
The current state of the category.
|
CategorySummary.Builder |
name(String name)
The name of the category.
|
CategorySummary.Builder |
productCode(String productCode)
The product that the category belongs.
|
CategorySummary.Builder |
timeCreated(Date timeCreated)
The date and time the category was created, in the format defined by
RFC3339.
|
CategorySummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the category was updated, in the format defined by
RFC3339.
|
public CategorySummary.Builder name(String name)
The name of the category.
name
- the value to setpublic CategorySummary.Builder code(String code)
The code of the category.
code
- the value to setpublic CategorySummary.Builder productCode(String productCode)
The product that the category belongs.
productCode
- the value to setpublic CategorySummary.Builder lifecycleState(Category.LifecycleState lifecycleState)
The current state of the category.
lifecycleState
- the value to setpublic CategorySummary.Builder timeCreated(Date timeCreated)
The date and time the category was created, in the format defined by RFC3339.
Example: 2022-09-15T21:10:29.600Z
timeCreated
- the value to setpublic CategorySummary.Builder timeUpdated(Date timeUpdated)
The date and time the category was updated, in the format defined by RFC3339.
Example: 2022-09-15T21:10:29.600Z
timeUpdated
- the value to setpublic CategorySummary build()
public CategorySummary.Builder copy(CategorySummary model)
Copyright © 2016–2025. All rights reserved.