Interface ProjectSetBusinessUnitAssociateRoleOnCreationAction
- All Superinterfaces:
ProjectUpdateAction
,ResourceUpdateAction<ProjectUpdateAction>
ProjectSetBusinessUnitAssociateRoleOnCreationAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectSetBusinessUnitAssociateRoleOnCreationAction projectSetBusinessUnitAssociateRoleOnCreationAction = ProjectSetBusinessUnitAssociateRoleOnCreationAction.builder()
.associateRole(associateRoleBuilder -> associateRoleBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProjectSetBusinessUnitAssociateRoleOnCreationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProjectSetBusinessUnitAssociateRoleOnCreationActioncreate builder for ProjectSetBusinessUnitAssociateRoleOnCreationAction instancefactory method to create a deep copy of ProjectSetBusinessUnitAssociateRoleOnCreationAction@NotNull @Valid AssociateRoleResourceIdentifier
Default Associate Role assigned to the Associate creating a Business Unit using the My Business Unit endpoint.of()
factory methodfactory method to create a shallow copy ProjectSetBusinessUnitAssociateRoleOnCreationActionvoid
setAssociateRole
(AssociateRoleResourceIdentifier associateRole) Default Associate Role assigned to the Associate creating a Business Unit using the My Business Unit endpoint.static com.fasterxml.jackson.core.type.TypeReference<ProjectSetBusinessUnitAssociateRoleOnCreationAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withProjectSetBusinessUnitAssociateRoleOnCreationAction
(Function<ProjectSetBusinessUnitAssociateRoleOnCreationAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.project.ProjectUpdateAction
getAction, withProjectUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_MY_BUSINESS_UNIT_ASSOCIATE_ROLE_ON_CREATION
discriminator value for ProjectSetBusinessUnitAssociateRoleOnCreationAction- See Also:
-
-
Method Details
-
getAssociateRole
Default Associate Role assigned to the Associate creating a Business Unit using the My Business Unit endpoint.
- Returns:
- associateRole
-
setAssociateRole
Default Associate Role assigned to the Associate creating a Business Unit using the My Business Unit endpoint.
- Parameters:
associateRole
- value to be set
-
of
factory method- Returns:
- instance of ProjectSetBusinessUnitAssociateRoleOnCreationAction
-
of
static ProjectSetBusinessUnitAssociateRoleOnCreationAction of(ProjectSetBusinessUnitAssociateRoleOnCreationAction template) factory method to create a shallow copy ProjectSetBusinessUnitAssociateRoleOnCreationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProjectSetBusinessUnitAssociateRoleOnCreationAction deepCopy(@Nullable ProjectSetBusinessUnitAssociateRoleOnCreationAction template) factory method to create a deep copy of ProjectSetBusinessUnitAssociateRoleOnCreationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectSetBusinessUnitAssociateRoleOnCreationAction- Returns:
- builder
-
builder
static ProjectSetBusinessUnitAssociateRoleOnCreationActionBuilder builder(ProjectSetBusinessUnitAssociateRoleOnCreationAction template) create builder for ProjectSetBusinessUnitAssociateRoleOnCreationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProjectSetBusinessUnitAssociateRoleOnCreationAction
default <T> T withProjectSetBusinessUnitAssociateRoleOnCreationAction(Function<ProjectSetBusinessUnitAssociateRoleOnCreationAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProjectSetBusinessUnitAssociateRoleOnCreationAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-