Class MyBusinessUnitSetAddressCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<MyBusinessUnitSetAddressCustomTypeAction>
Example to create an instance using the builder pattern
MyBusinessUnitSetAddressCustomTypeAction myBusinessUnitSetAddressCustomTypeAction = MyBusinessUnitSetAddressCustomTypeAction.builder()
.addressId("{addressId}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionID of theaddress
to be extended.build()
builds MyBusinessUnitSetAddressCustomTypeAction with checking for non-null required valuesbuilds MyBusinessUnitSetAddressCustomTypeAction without checking for non-null required valuesfields
(FieldContainer fields) Sets the Custom Fields fields for theaddress
.Sets the Custom Fields fields for theaddress
.ID of theaddress
to be extended.Sets the Custom Fields fields for theaddress
.getType()
Defines the Type that extends theaddress
with Custom Fields.of()
factory method for an instance of MyBusinessUnitSetAddressCustomTypeActionBuilderof
(MyBusinessUnitSetAddressCustomTypeAction template) create builder for MyBusinessUnitSetAddressCustomTypeAction 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 fields for theaddress
.Defines the Type that extends theaddress
with Custom Fields.
-
Constructor Details
-
MyBusinessUnitSetAddressCustomTypeActionBuilder
public MyBusinessUnitSetAddressCustomTypeActionBuilder()
-
-
Method Details
-
type
public MyBusinessUnitSetAddressCustomTypeActionBuilder 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 MyBusinessUnitSetAddressCustomTypeActionBuilder 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 MyBusinessUnitSetAddressCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Sets the Custom Fields fields for the
address
.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
withFields
public MyBusinessUnitSetAddressCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Sets the Custom Fields fields for the
address
.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
fields
Sets the Custom Fields 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 fields for the
address
.- Returns:
- fields
-
getAddressId
ID of the
address
to be extended.- Returns:
- addressId
-
build
builds MyBusinessUnitSetAddressCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyBusinessUnitSetAddressCustomTypeAction>
- Returns:
- MyBusinessUnitSetAddressCustomTypeAction
-
buildUnchecked
builds MyBusinessUnitSetAddressCustomTypeAction without checking for non-null required values- Returns:
- MyBusinessUnitSetAddressCustomTypeAction
-
of
factory method for an instance of MyBusinessUnitSetAddressCustomTypeActionBuilder- Returns:
- builder
-
of
public static MyBusinessUnitSetAddressCustomTypeActionBuilder of(MyBusinessUnitSetAddressCustomTypeAction template) create builder for MyBusinessUnitSetAddressCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-