public static class ResourceBundle.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceBundle |
build() |
ResourceBundle.Builder |
copy(ResourceBundle model) |
ResourceBundle.Builder |
quantity(Long quantity)
The quantity of a resources associated with the bundle
|
ResourceBundle.Builder |
resourceIds(List<String> resourceIds)
the ids of the resources in the Offer
|
ResourceBundle.Builder |
type(ResourceBundle.Type type)
The type of resources in the bundle
|
ResourceBundle.Builder |
unitOfMeasurement(ResourceBundle.UnitOfMeasurement unitOfMeasurement)
The unit of measurement for the resource bundle
|
public ResourceBundle.Builder type(ResourceBundle.Type type)
The type of resources in the bundle
type
- the value to setpublic ResourceBundle.Builder quantity(Long quantity)
The quantity of a resources associated with the bundle
quantity
- the value to setpublic ResourceBundle.Builder unitOfMeasurement(ResourceBundle.UnitOfMeasurement unitOfMeasurement)
The unit of measurement for the resource bundle
unitOfMeasurement
- the value to setpublic ResourceBundle.Builder resourceIds(List<String> resourceIds)
the ids of the resources in the Offer
resourceIds
- the value to setpublic ResourceBundle build()
public ResourceBundle.Builder copy(ResourceBundle model)
Copyright © 2016–2024. All rights reserved.