Class BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<BusinessUnitCustomerGroupAssignmentsSetMessagePayload>
Example to create an instance using the builder pattern
BusinessUnitCustomerGroupAssignmentsSetMessagePayload businessUnitCustomerGroupAssignmentsSetMessagePayload = BusinessUnitCustomerGroupAssignmentsSetMessagePayload.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.addOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.build()builds BusinessUnitCustomerGroupAssignmentsSetMessagePayload with checking for non-null required valuesbuilds BusinessUnitCustomerGroupAssignmentsSetMessagePayload without checking for non-null required valuescustomerGroupAssignments(CustomerGroupAssignment... customerGroupAssignments) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.customerGroupAssignments(List<CustomerGroupAssignment> customerGroupAssignments) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.of()factory method for an instance of BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuildercreate builder for BusinessUnitCustomerGroupAssignmentsSetMessagePayload instanceoldCustomerGroupAssignments(CustomerGroupAssignment... oldCustomerGroupAssignments) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.oldCustomerGroupAssignments(List<CustomerGroupAssignment> oldCustomerGroupAssignments) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.plusCustomerGroupAssignments(CustomerGroupAssignment... customerGroupAssignments) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.plusCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.plusOldCustomerGroupAssignments(CustomerGroupAssignment... oldCustomerGroupAssignments) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.plusOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.setCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.setOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.withCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.withOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.
-
Constructor Details
-
BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder()
-
-
Method Details
-
customerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder customerGroupAssignments(@Nullable CustomerGroupAssignment... customerGroupAssignments) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.
- Parameters:
customerGroupAssignments- value to be set- Returns:
- Builder
-
customerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder customerGroupAssignments(@Nullable List<CustomerGroupAssignment> customerGroupAssignments) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.
- Parameters:
customerGroupAssignments- value to be set- Returns:
- Builder
-
plusCustomerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder plusCustomerGroupAssignments(@Nullable CustomerGroupAssignment... customerGroupAssignments) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.
- Parameters:
customerGroupAssignments- value to be set- Returns:
- Builder
-
plusCustomerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder plusCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the customerGroupAssignments value- Returns:
- Builder
-
withCustomerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder withCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the customerGroupAssignments value- Returns:
- Builder
-
addCustomerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder addCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the customerGroupAssignments value- Returns:
- Builder
-
setCustomerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder setCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the customerGroupAssignments value- Returns:
- Builder
-
oldCustomerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder oldCustomerGroupAssignments(@Nullable CustomerGroupAssignment... oldCustomerGroupAssignments) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.
- Parameters:
oldCustomerGroupAssignments- value to be set- Returns:
- Builder
-
oldCustomerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder oldCustomerGroupAssignments(@Nullable List<CustomerGroupAssignment> oldCustomerGroupAssignments) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.
- Parameters:
oldCustomerGroupAssignments- value to be set- Returns:
- Builder
-
plusOldCustomerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder plusOldCustomerGroupAssignments(@Nullable CustomerGroupAssignment... oldCustomerGroupAssignments) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.
- Parameters:
oldCustomerGroupAssignments- value to be set- Returns:
- Builder
-
plusOldCustomerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder plusOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the oldCustomerGroupAssignments value- Returns:
- Builder
-
withOldCustomerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder withOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the oldCustomerGroupAssignments value- Returns:
- Builder
-
addOldCustomerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder addOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the oldCustomerGroupAssignments value- Returns:
- Builder
-
setOldCustomerGroupAssignments
public BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder setOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the oldCustomerGroupAssignments value- Returns:
- Builder
-
getCustomerGroupAssignments
Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.
- Returns:
- customerGroupAssignments
-
getOldCustomerGroupAssignments
Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.
- Returns:
- oldCustomerGroupAssignments
-
build
builds BusinessUnitCustomerGroupAssignmentsSetMessagePayload with checking for non-null required values- Specified by:
buildin interfaceBuilder<BusinessUnitCustomerGroupAssignmentsSetMessagePayload>- Returns:
- BusinessUnitCustomerGroupAssignmentsSetMessagePayload
-
buildUnchecked
builds BusinessUnitCustomerGroupAssignmentsSetMessagePayload without checking for non-null required values- Returns:
- BusinessUnitCustomerGroupAssignmentsSetMessagePayload
-
of
factory method for an instance of BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder- Returns:
- builder
-
of
public static BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder of(BusinessUnitCustomerGroupAssignmentsSetMessagePayload template) create builder for BusinessUnitCustomerGroupAssignmentsSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-