Interface StoreSetCookiePolicyUrlAction
- All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>,StoreUpdateAction
This update action produces the StoreCookiePolicyUrlSet Message.
Example to create an instance using the builder pattern
StoreSetCookiePolicyUrlAction storeSetCookiePolicyUrlAction = StoreSetCookiePolicyUrlAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StoreSetCookiePolicyUrlAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StoreSetCookiePolicyUrlActionbuilder(StoreSetCookiePolicyUrlAction template) create builder for StoreSetCookiePolicyUrlAction instancecopyDeep()deepCopy(StoreSetCookiePolicyUrlAction template) factory method to create a deep copy of StoreSetCookiePolicyUrlActionValue to set.of()factory methodof(StoreSetCookiePolicyUrlAction template) factory method to create a shallow copy StoreSetCookiePolicyUrlActionvoidsetCookiePolicyUrl(String cookiePolicyUrl) Value to set.static tools.jackson.core.type.TypeReference<StoreSetCookiePolicyUrlAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
getAction, withStoreUpdateAction
-
Field Details
-
SET_COOKIE_POLICY_URL
discriminator value for StoreSetCookiePolicyUrlAction- See Also:
-
-
Method Details
-
getCookiePolicyUrl
String getCookiePolicyUrl()Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Returns:
- cookiePolicyUrl
-
setCookiePolicyUrl
Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Parameters:
cookiePolicyUrl- value to be set
-
of
factory method- Returns:
- instance of StoreSetCookiePolicyUrlAction
-
of
factory method to create a shallow copy StoreSetCookiePolicyUrlAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StoreSetCookiePolicyUrlAction copyDeep()- Specified by:
copyDeepin interfaceStoreUpdateAction
-
deepCopy
@Nullable static StoreSetCookiePolicyUrlAction deepCopy(@Nullable StoreSetCookiePolicyUrlAction template) factory method to create a deep copy of StoreSetCookiePolicyUrlAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreSetCookiePolicyUrlAction- Returns:
- builder
-
builder
create builder for StoreSetCookiePolicyUrlAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStoreSetCookiePolicyUrlAction
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
-