Interface StateSetNameAction
- All Superinterfaces:
ResourceUpdateAction<StateUpdateAction>
,StateUpdateAction
StateSetNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StateSetNameAction stateSetNameAction = StateSetNameAction.builder()
.name(nameBuilder -> nameBuilder)
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StateSetNameActionBuilder
builder()
builder factory method for StateSetNameActionstatic StateSetNameActionBuilder
builder
(StateSetNameAction template) create builder for StateSetNameAction instancestatic StateSetNameAction
deepCopy
(StateSetNameAction template) factory method to create a deep copy of StateSetNameAction@NotNull @Valid LocalizedString
getName()
Value to set.static StateSetNameAction
of()
factory methodstatic StateSetNameAction
of
(StateSetNameAction template) factory method to create a shallow copy StateSetNameActionvoid
setName
(LocalizedString name) Value to set.static com.fasterxml.jackson.core.type.TypeReference<StateSetNameAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStateSetNameAction
(Function<StateSetNameAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.state.StateUpdateAction
getAction, withStateUpdateAction
-
Field Details
-
SET_NAME
discriminator value for StateSetNameAction- See Also:
-
-
Method Details
-
getName
Value to set. If empty, any existing value will be removed.
- Returns:
- name
-
setName
Value to set. If empty, any existing value will be removed.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of StateSetNameAction
-
of
factory method to create a shallow copy StateSetNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of StateSetNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StateSetNameAction- Returns:
- builder
-
builder
create builder for StateSetNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStateSetNameAction
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
-