public class ProductVariantBuilder extends Object implements io.vrap.rmf.base.client.Builder<ProductVariant>
| Constructor and Description |
|---|
ProductVariantBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ProductVariant |
build() |
ProductVariant |
buildUnchecked()
builds ProductVariant without checking for non null required values
|
ProductReference |
getProduct() |
Boolean |
getStaged() |
Integer |
getVariantId() |
static ProductVariantBuilder |
of() |
static ProductVariantBuilder |
of(ProductVariant template) |
ProductVariantBuilder |
product(Function<ProductReferenceBuilder,ProductReferenceBuilder> builder) |
ProductVariantBuilder |
product(ProductReference product) |
ProductVariantBuilder |
staged(Boolean staged) |
ProductVariantBuilder |
variantId(Integer variantId) |
public ProductVariantBuilder product(Function<ProductReferenceBuilder,ProductReferenceBuilder> builder)
public ProductVariantBuilder product(ProductReference product)
public ProductVariantBuilder staged(Boolean staged)
public ProductVariantBuilder variantId(Integer variantId)
public ProductReference getProduct()
public Boolean getStaged()
public Integer getVariantId()
public ProductVariant build()
build in interface io.vrap.rmf.base.client.Builder<ProductVariant>public ProductVariant buildUnchecked()
public static ProductVariantBuilder of()
public static ProductVariantBuilder of(ProductVariant template)