All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.states.commands.updateactions.ChangeKey Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
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