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

io.sphere.sdk.categories.commands.updateactions.SetMetaKeywords Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.categories.commands.updateactions;

import io.sphere.sdk.categories.Category;
import io.sphere.sdk.commands.UpdateActionImpl;
import io.sphere.sdk.models.LocalizedString;

import javax.annotation.Nullable;

/**
 * Sets the SEO attribute keywords.
 *
 *  {@doc.gen intro}
 *
 * {@include.example io.sphere.sdk.categories.commands.CategoryUpdateCommandTest#setMetaKeywords()}
 */
public class SetMetaKeywords extends UpdateActionImpl {
    @Nullable
    private final LocalizedString metaKeywords;

    private SetMetaKeywords(@Nullable final LocalizedString metaKeywords) {
        super("setMetaKeywords");
        this.metaKeywords = metaKeywords;
    }

    public static SetMetaKeywords of(@Nullable final LocalizedString metaKeywords) {
        return new SetMetaKeywords(metaKeywords);
    }

    @Nullable
    public LocalizedString getMetaKeywords() {
        return metaKeywords;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy