Class MarketSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.MarketSummary.Builder
-
- Enclosing class:
- MarketSummary
public static class MarketSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MarketSummary.Builder
billToCountries(List<String> billToCountries)
Bill to countries for the market.MarketSummary
build()
MarketSummary.Builder
categoryCode(String categoryCode)
The category code for the market.MarketSummary.Builder
code(String code)
The code of the product.MarketSummary.Builder
copy(MarketSummary model)
MarketSummary.Builder
lifecycleState(Market.LifecycleState lifecycleState)
The current state for the market.MarketSummary.Builder
name(String name)
The name of the product.MarketSummary.Builder
timeCreated(Date timeCreated)
The date and time the market was created, in the format defined by RFC3339.MarketSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the market was updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
name
public MarketSummary.Builder name(String name)
The name of the product.- Parameters:
name
- the value to set- Returns:
- this builder
-
code
public MarketSummary.Builder code(String code)
The code of the product.- Parameters:
code
- the value to set- Returns:
- this builder
-
categoryCode
public MarketSummary.Builder categoryCode(String categoryCode)
The category code for the market.- Parameters:
categoryCode
- the value to set- Returns:
- this builder
-
billToCountries
public MarketSummary.Builder billToCountries(List<String> billToCountries)
Bill to countries for the market.- Parameters:
billToCountries
- the value to set- Returns:
- this builder
-
lifecycleState
public MarketSummary.Builder lifecycleState(Market.LifecycleState lifecycleState)
The current state for the market.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public MarketSummary.Builder timeCreated(Date timeCreated)
The date and time the market 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 MarketSummary.Builder timeUpdated(Date timeUpdated)
The date and time the market 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 MarketSummary build()
-
copy
public MarketSummary.Builder copy(MarketSummary model)
-
-