Class BusinessUnitRemoveStoreActionBuilder
java.lang.Object
com.commercetools.api.models.business_unit.BusinessUnitRemoveStoreActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<BusinessUnitRemoveStoreAction>
public class BusinessUnitRemoveStoreActionBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<BusinessUnitRemoveStoreAction>
BusinessUnitRemoveStoreActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitRemoveStoreAction businessUnitRemoveStoreAction = BusinessUnitRemoveStoreAction.builder()
.store(storeBuilder -> storeBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds BusinessUnitRemoveStoreAction with checking for non-null required valuesbuilds BusinessUnitRemoveStoreAction without checking for non-null required valuesgetStore()
Store to remove.of()
factory method for an instance of BusinessUnitRemoveStoreActionBuilderof
(BusinessUnitRemoveStoreAction template) create builder for BusinessUnitRemoveStoreAction instancestore
(StoreResourceIdentifier store) Store to remove.Store to remove.Store to remove.
-
Constructor Details
-
BusinessUnitRemoveStoreActionBuilder
public BusinessUnitRemoveStoreActionBuilder()
-
-
Method Details
-
store
public BusinessUnitRemoveStoreActionBuilder store(Function<StoreResourceIdentifierBuilder, StoreResourceIdentifierBuilder> builder) Store to remove.
- Parameters:
builder
- function to build the store value- Returns:
- Builder
-
withStore
public BusinessUnitRemoveStoreActionBuilder withStore(Function<StoreResourceIdentifierBuilder, StoreResourceIdentifier> builder) Store to remove.
- Parameters:
builder
- function to build the store value- Returns:
- Builder
-
store
Store to remove.
- Parameters:
store
- value to be set- Returns:
- Builder
-
getStore
Store to remove.
- Returns:
- store
-
build
builds BusinessUnitRemoveStoreAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<BusinessUnitRemoveStoreAction>
- Returns:
- BusinessUnitRemoveStoreAction
-
buildUnchecked
builds BusinessUnitRemoveStoreAction without checking for non-null required values- Returns:
- BusinessUnitRemoveStoreAction
-
of
factory method for an instance of BusinessUnitRemoveStoreActionBuilder- Returns:
- builder
-
of
create builder for BusinessUnitRemoveStoreAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-