Class BusinessUnitSetAddressCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<BusinessUnitSetAddressCustomTypeAction>
Example to create an instance using the builder pattern
BusinessUnitSetAddressCustomTypeAction businessUnitSetAddressCustomTypeAction = BusinessUnitSetAddressCustomTypeAction.builder()
.addressId("{addressId}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionID of the address to be extended.build()
builds BusinessUnitSetAddressCustomTypeAction with checking for non-null required valuesbuilds BusinessUnitSetAddressCustomTypeAction without checking for non-null required valuesfields
(FieldContainer fields) Sets the Custom Fields for theaddress
.Sets the Custom Fields for theaddress
.ID of the address to be extended.Sets the Custom Fields for theaddress
.getType()
Defines the Type that extends theaddress
with Custom Fields.of()
factory method for an instance of BusinessUnitSetAddressCustomTypeActionBuilderof
(BusinessUnitSetAddressCustomTypeAction template) create builder for BusinessUnitSetAddressCustomTypeAction instancetype
(TypeResourceIdentifier type) Defines the Type that extends theaddress
with Custom Fields.Defines the Type that extends theaddress
with Custom Fields.Sets the Custom Fields for theaddress
.Defines the Type that extends theaddress
with Custom Fields.
-
Constructor Details
-
BusinessUnitSetAddressCustomTypeActionBuilder
public BusinessUnitSetAddressCustomTypeActionBuilder()
-
-
Method Details
-
type
public BusinessUnitSetAddressCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
.- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
withType
public BusinessUnitSetAddressCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
.- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
type
Defines the Type that extends the
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
.- Parameters:
type
- value to be set- Returns:
- Builder
-
fields
public BusinessUnitSetAddressCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Sets the Custom Fields for the
address
.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
withFields
public BusinessUnitSetAddressCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Sets the Custom Fields for the
address
.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
fields
Sets the Custom Fields for the
address
.- Parameters:
fields
- value to be set- Returns:
- Builder
-
addressId
ID of the address to be extended.
- Parameters:
addressId
- value to be set- Returns:
- Builder
-
getType
Defines the Type that extends the
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
.- Returns:
- type
-
getFields
Sets the Custom Fields for the
address
.- Returns:
- fields
-
getAddressId
ID of the address to be extended.
- Returns:
- addressId
-
build
builds BusinessUnitSetAddressCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<BusinessUnitSetAddressCustomTypeAction>
- Returns:
- BusinessUnitSetAddressCustomTypeAction
-
buildUnchecked
builds BusinessUnitSetAddressCustomTypeAction without checking for non-null required values- Returns:
- BusinessUnitSetAddressCustomTypeAction
-
of
factory method for an instance of BusinessUnitSetAddressCustomTypeActionBuilder- Returns:
- builder
-
of
public static BusinessUnitSetAddressCustomTypeActionBuilder of(BusinessUnitSetAddressCustomTypeAction template) create builder for BusinessUnitSetAddressCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-