Package com.commercetools.api.models.me
Class MyBusinessUnitRemoveAddressActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyBusinessUnitRemoveAddressActionBuilder
- All Implemented Interfaces:
Builder<MyBusinessUnitRemoveAddressAction>
public class MyBusinessUnitRemoveAddressActionBuilder
extends Object
implements Builder<MyBusinessUnitRemoveAddressAction>
MyBusinessUnitRemoveAddressActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyBusinessUnitRemoveAddressAction myBusinessUnitRemoveAddressAction = MyBusinessUnitRemoveAddressAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionID of the address to be removed.addressKey
(String addressKey) Key of the address to be removed.build()
builds MyBusinessUnitRemoveAddressAction with checking for non-null required valuesbuilds MyBusinessUnitRemoveAddressAction without checking for non-null required valuesID of the address to be removed.Key of the address to be removed.of()
factory method for an instance of MyBusinessUnitRemoveAddressActionBuilderof
(MyBusinessUnitRemoveAddressAction template) create builder for MyBusinessUnitRemoveAddressAction instance
-
Constructor Details
-
MyBusinessUnitRemoveAddressActionBuilder
public MyBusinessUnitRemoveAddressActionBuilder()
-
-
Method Details
-
addressId
ID of the address to be removed. Either
addressId
oraddressKey
is required.- Parameters:
addressId
- value to be set- Returns:
- Builder
-
addressKey
Key of the address to be removed. Either
addressId
oraddressKey
is required.- Parameters:
addressKey
- value to be set- Returns:
- Builder
-
getAddressId
ID of the address to be removed. Either
addressId
oraddressKey
is required.- Returns:
- addressId
-
getAddressKey
Key of the address to be removed. Either
addressId
oraddressKey
is required.- Returns:
- addressKey
-
build
builds MyBusinessUnitRemoveAddressAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyBusinessUnitRemoveAddressAction>
- Returns:
- MyBusinessUnitRemoveAddressAction
-
buildUnchecked
builds MyBusinessUnitRemoveAddressAction without checking for non-null required values- Returns:
- MyBusinessUnitRemoveAddressAction
-
of
factory method for an instance of MyBusinessUnitRemoveAddressActionBuilder- Returns:
- builder
-
of
public static MyBusinessUnitRemoveAddressActionBuilder of(MyBusinessUnitRemoveAddressAction template) create builder for MyBusinessUnitRemoveAddressAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-