Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Category |
build() |
Category.Builder |
code(String code)
The code of the category.
|
Category.Builder |
copy(Category model) |
Category.Builder |
lifecycleState(Category.LifecycleState lifecycleState)
The current state for the category.
|
Category.Builder |
name(String name)
The name for the category.
|
Category.Builder |
productCode(String productCode)
The product that the category belongs to.
|
Category.Builder |
timeCreated(Date timeCreated)
The date and time the category was created, in the format defined by
RFC3339.
|
Category.Builder |
timeUpdated(Date timeUpdated)
The date and time the category was updated, in the format defined by
RFC3339.
|
public Category.Builder name(String name)
The name for the category.
name
- the value to setpublic Category.Builder code(String code)
The code of the category.
code
- the value to setpublic Category.Builder productCode(String productCode)
The product that the category belongs to.
productCode
- the value to setpublic Category.Builder lifecycleState(Category.LifecycleState lifecycleState)
The current state for the category.
lifecycleState
- the value to setpublic Category.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 Category.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 Category build()
public Category.Builder copy(Category model)
Copyright © 2016–2025. All rights reserved.