Interface ZoneChangeNameAction
- All Superinterfaces:
ResourceUpdateAction<ZoneUpdateAction>
,ZoneUpdateAction
ZoneChangeNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ZoneChangeNameAction zoneChangeNameAction = ZoneChangeNameAction.builder()
.name("{name}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ZoneChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionstatic ZoneChangeNameActionBuilder
builder()
builder factory method for ZoneChangeNameActionstatic ZoneChangeNameActionBuilder
builder
(ZoneChangeNameAction template) create builder for ZoneChangeNameAction instancestatic ZoneChangeNameAction
deepCopy
(ZoneChangeNameAction template) factory method to create a deep copy of ZoneChangeNameAction@NotNull String
getName()
New name of the Zone.static ZoneChangeNameAction
of()
factory methodstatic ZoneChangeNameAction
of
(ZoneChangeNameAction template) factory method to create a shallow copy ZoneChangeNameActionvoid
New name of the Zone.static com.fasterxml.jackson.core.type.TypeReference<ZoneChangeNameAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withZoneChangeNameAction
(Function<ZoneChangeNameAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.zone.ZoneUpdateAction
getAction, withZoneUpdateAction
-
Field Details
-
CHANGE_NAME
discriminator value for ZoneChangeNameAction- See Also:
-
-
Method Details
-
getName
New name of the Zone.
- Returns:
- name
-
setName
New name of the Zone.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of ZoneChangeNameAction
-
of
factory method to create a shallow copy ZoneChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ZoneChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ZoneChangeNameAction- Returns:
- builder
-
builder
create builder for ZoneChangeNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withZoneChangeNameAction
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
-