Interface ProjectChangeBusinessUnitSearchStatusAction
- All Superinterfaces:
ProjectUpdateAction
,ResourceUpdateAction<ProjectUpdateAction>
ProjectChangeBusinessUnitSearchStatusAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeBusinessUnitSearchStatusAction projectChangeBusinessUnitSearchStatusAction = ProjectChangeBusinessUnitSearchStatusAction.builder()
.status(BusinessUnitSearchStatus.ACTIVATED)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProjectChangeBusinessUnitSearchStatusAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProjectChangeBusinessUnitSearchStatusActioncreate builder for ProjectChangeBusinessUnitSearchStatusAction instancefactory method to create a deep copy of ProjectChangeBusinessUnitSearchStatusAction@NotNull BusinessUnitSearchStatus
Activates or deactivates the Search Business Units feature.of()
factory methodfactory method to create a shallow copy ProjectChangeBusinessUnitSearchStatusActionvoid
setStatus
(BusinessUnitSearchStatus status) Activates or deactivates the Search Business Units feature.static com.fasterxml.jackson.core.type.TypeReference<ProjectChangeBusinessUnitSearchStatusAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withProjectChangeBusinessUnitSearchStatusAction
(Function<ProjectChangeBusinessUnitSearchStatusAction, 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
-
CHANGE_BUSINESS_UNIT_SEARCH_STATUS
discriminator value for ProjectChangeBusinessUnitSearchStatusAction- See Also:
-
-
Method Details
-
getStatus
Activates or deactivates the Search Business Units feature. Activation will trigger building a search index for the Business Units in the Project.
- Returns:
- status
-
setStatus
Activates or deactivates the Search Business Units feature. Activation will trigger building a search index for the Business Units in the Project.
- Parameters:
status
- value to be set
-
of
factory method- Returns:
- instance of ProjectChangeBusinessUnitSearchStatusAction
-
of
static ProjectChangeBusinessUnitSearchStatusAction of(ProjectChangeBusinessUnitSearchStatusAction template) factory method to create a shallow copy ProjectChangeBusinessUnitSearchStatusAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProjectChangeBusinessUnitSearchStatusAction deepCopy(@Nullable ProjectChangeBusinessUnitSearchStatusAction template) factory method to create a deep copy of ProjectChangeBusinessUnitSearchStatusAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectChangeBusinessUnitSearchStatusAction- Returns:
- builder
-
builder
static ProjectChangeBusinessUnitSearchStatusActionBuilder builder(ProjectChangeBusinessUnitSearchStatusAction template) create builder for ProjectChangeBusinessUnitSearchStatusAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProjectChangeBusinessUnitSearchStatusAction
default <T> T withProjectChangeBusinessUnitSearchStatusAction(Function<ProjectChangeBusinessUnitSearchStatusAction, 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<ProjectChangeBusinessUnitSearchStatusAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-