Interface BusinessUnitConfiguration
public interface BusinessUnitConfiguration
BusinessUnitConfiguration
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitConfiguration businessUnitConfiguration = BusinessUnitConfiguration.builder()
.myBusinessUnitStatusOnCreation(BusinessUnitConfigurationStatus.ACTIVE)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitConfigurationbuilder
(BusinessUnitConfiguration template) create builder for BusinessUnitConfiguration instancestatic BusinessUnitConfiguration
deepCopy
(BusinessUnitConfiguration template) factory method to create a deep copy of BusinessUnitConfiguration@Valid AssociateRoleKeyReference
Default Associate Role assigned to the Associate creating a Business Unit using the My Business Unit endpoint.@NotNull BusinessUnitConfigurationStatus
Status of Business Units created using the My Business Unit endpoint.static BusinessUnitConfiguration
of()
factory methodstatic BusinessUnitConfiguration
of
(BusinessUnitConfiguration template) factory method to create a shallow copy BusinessUnitConfigurationvoid
setMyBusinessUnitAssociateRoleOnCreation
(AssociateRoleKeyReference myBusinessUnitAssociateRoleOnCreation) Default Associate Role assigned to the Associate creating a Business Unit using the My Business Unit endpoint.void
setMyBusinessUnitStatusOnCreation
(BusinessUnitConfigurationStatus myBusinessUnitStatusOnCreation) Status of Business Units created using the My Business Unit endpoint.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitConfiguration>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getMyBusinessUnitStatusOnCreation
Status of Business Units created using the My Business Unit endpoint.
- Returns:
- myBusinessUnitStatusOnCreation
-
getMyBusinessUnitAssociateRoleOnCreation
Default Associate Role assigned to the Associate creating a Business Unit using the My Business Unit endpoint.
- Returns:
- myBusinessUnitAssociateRoleOnCreation
-
setMyBusinessUnitStatusOnCreation
void setMyBusinessUnitStatusOnCreation(BusinessUnitConfigurationStatus myBusinessUnitStatusOnCreation) Status of Business Units created using the My Business Unit endpoint.
- Parameters:
myBusinessUnitStatusOnCreation
- value to be set
-
setMyBusinessUnitAssociateRoleOnCreation
void setMyBusinessUnitAssociateRoleOnCreation(AssociateRoleKeyReference myBusinessUnitAssociateRoleOnCreation) Default Associate Role assigned to the Associate creating a Business Unit using the My Business Unit endpoint.
- Parameters:
myBusinessUnitAssociateRoleOnCreation
- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitConfiguration
-
of
factory method to create a shallow copy BusinessUnitConfiguration- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of BusinessUnitConfiguration- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitConfiguration- Returns:
- builder
-
builder
create builder for BusinessUnitConfiguration instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitConfiguration
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-