Interface ProjectChangeBusinessUnitStatusOnCreationAction
- All Superinterfaces:
ProjectUpdateAction,ResourceUpdateAction<ProjectUpdateAction>
ProjectChangeBusinessUnitStatusOnCreationAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeBusinessUnitStatusOnCreationAction projectChangeBusinessUnitStatusOnCreationAction = ProjectChangeBusinessUnitStatusOnCreationAction.builder()
.status(BusinessUnitConfigurationStatus.ACTIVE)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ProjectChangeBusinessUnitStatusOnCreationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ProjectChangeBusinessUnitStatusOnCreationActioncreate builder for ProjectChangeBusinessUnitStatusOnCreationAction instancecopyDeep()factory method to create a deep copy of ProjectChangeBusinessUnitStatusOnCreationAction@NotNull BusinessUnitConfigurationStatusStatus for Business Units created using the My Business Unit endpoint.of()factory methodfactory method to create a shallow copy ProjectChangeBusinessUnitStatusOnCreationActionvoidStatus for Business Units created using the My Business Unit endpoint.static com.fasterxml.jackson.core.type.TypeReference<ProjectChangeBusinessUnitStatusOnCreationAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithProjectChangeBusinessUnitStatusOnCreationAction(Function<ProjectChangeBusinessUnitStatusOnCreationAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.project.ProjectUpdateAction
getAction, withProjectUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_MY_BUSINESS_UNIT_STATUS_ON_CREATION
discriminator value for ProjectChangeBusinessUnitStatusOnCreationAction- See Also:
-
-
Method Details
-
getStatus
Status for Business Units created using the My Business Unit endpoint.
- Returns:
- status
-
setStatus
Status for Business Units created using the My Business Unit endpoint.
- Parameters:
status- value to be set
-
of
factory method- Returns:
- instance of ProjectChangeBusinessUnitStatusOnCreationAction
-
of
static ProjectChangeBusinessUnitStatusOnCreationAction of(ProjectChangeBusinessUnitStatusOnCreationAction template) factory method to create a shallow copy ProjectChangeBusinessUnitStatusOnCreationAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceProjectUpdateAction
-
deepCopy
@Nullable static ProjectChangeBusinessUnitStatusOnCreationAction deepCopy(@Nullable ProjectChangeBusinessUnitStatusOnCreationAction template) factory method to create a deep copy of ProjectChangeBusinessUnitStatusOnCreationAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectChangeBusinessUnitStatusOnCreationAction- Returns:
- builder
-
builder
static ProjectChangeBusinessUnitStatusOnCreationActionBuilder builder(ProjectChangeBusinessUnitStatusOnCreationAction template) create builder for ProjectChangeBusinessUnitStatusOnCreationAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withProjectChangeBusinessUnitStatusOnCreationAction
default <T> T withProjectChangeBusinessUnitStatusOnCreationAction(Function<ProjectChangeBusinessUnitStatusOnCreationAction, 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<ProjectChangeBusinessUnitStatusOnCreationAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-