Class Category.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.Category.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Categorybuild()Category.Buildercode(String code)The code of the category.Category.Buildercopy(Category model)Category.BuilderlifecycleState(Category.LifecycleState lifecycleState)The current state for the category.Category.Buildername(String name)The name for the category.Category.BuilderproductCode(String productCode)The product that the category belongs to.Category.BuildertimeCreated(Date timeCreated)The date and time the category was created, in the format defined by RFC3339.Category.BuildertimeUpdated(Date timeUpdated)The date and time the category was updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
name
public Category.Builder name(String name)
The name for the category.- Parameters:
name- the value to set- Returns:
- this builder
-
code
public Category.Builder code(String code)
The code of the category.- Parameters:
code- the value to set- Returns:
- this builder
-
productCode
public Category.Builder productCode(String productCode)
The product that the category belongs to.- Parameters:
productCode- the value to set- Returns:
- this builder
-
lifecycleState
public Category.Builder lifecycleState(Category.LifecycleState lifecycleState)
The current state for the category.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public 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
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
build
public Category build()
-
copy
public Category.Builder copy(Category model)
-
-