io.sphere.sdk.states.commands.updateactions.ChangeKey Maven / Gradle / Ivy
package io.sphere.sdk.states.commands.updateactions;
import io.sphere.sdk.commands.UpdateActionImpl;
import io.sphere.sdk.states.State;
/**
* {@include.example io.sphere.sdk.states.commands.StateUpdateCommandTest#changeKey()}
*/
public class ChangeKey extends UpdateActionImpl {
private final String key;
private ChangeKey(final String key) {
super("changeKey");
this.key = key;
}
public static ChangeKey of(final String key) {
return new ChangeKey(key);
}
public String getKey() {
return key;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy