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