@Generated(value="io.sphere.sdk.annotations.processors.generators.UpdateActionsGenerator", comments="Generated from: io.sphere.sdk.subscriptions.Subscription") public final class SetKey extends UpdateActionImpl<Subscription>
key
property of a Subscription
.
assumeHasIronMqEnv(); setKeyQueue(SubscriptionFixtures::ironMqSubscriptionDraftBuilder);
See the test code.
Subscription.getKey()
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
static SetKey |
of(String key)
Creates a new update action from the given parameters.
|
static SetKey |
ofUnset()
Creates a new update action to unset the
key property. |
getAction
public static SetKey of(@Nullable String key)
key
- the key
property Subscription.getKey()
.SetKey
update action.public static SetKey ofUnset()
key
property.SetKey
update action.