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