Class ResourceBundle.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.ResourceBundle.Builder
-
- Enclosing class:
- ResourceBundle
public static class ResourceBundle.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceBundle
build()
ResourceBundle.Builder
copy(ResourceBundle model)
ResourceBundle.Builder
quantity(Long quantity)
The quantity of a resources associated with the bundleResourceBundle.Builder
resourceIds(List<String> resourceIds)
the ids of the resources in the OfferResourceBundle.Builder
type(ResourceBundle.Type type)
The type of resources in the bundleResourceBundle.Builder
unitOfMeasurement(ResourceBundle.UnitOfMeasurement unitOfMeasurement)
The unit of measurement for the resource bundle
-
-
-
Method Detail
-
type
public ResourceBundle.Builder type(ResourceBundle.Type type)
The type of resources in the bundle- Parameters:
type
- the value to set- Returns:
- this builder
-
quantity
public ResourceBundle.Builder quantity(Long quantity)
The quantity of a resources associated with the bundle- Parameters:
quantity
- the value to set- Returns:
- this builder
-
unitOfMeasurement
public ResourceBundle.Builder unitOfMeasurement(ResourceBundle.UnitOfMeasurement unitOfMeasurement)
The unit of measurement for the resource bundle- Parameters:
unitOfMeasurement
- the value to set- Returns:
- this builder
-
resourceIds
public ResourceBundle.Builder resourceIds(List<String> resourceIds)
the ids of the resources in the Offer- Parameters:
resourceIds
- the value to set- Returns:
- this builder
-
build
public ResourceBundle build()
-
copy
public ResourceBundle.Builder copy(ResourceBundle model)
-
-