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

io.sphere.sdk.zones.commands.updateactions.SetDescription Maven / Gradle / Ivy

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

import io.sphere.sdk.commands.UpdateActionImpl;
import io.sphere.sdk.zones.Zone;

import javax.annotation.Nullable;

/**
 * Updates the description of a zone.
 *
 * {@doc.gen intro}
 *
 * {@include.example io.sphere.sdk.zones.commands.ZoneUpdateCommandTest#setDescription()}
 */
public class SetDescription extends UpdateActionImpl {
    @Nullable
    private final String description;

    private SetDescription(@Nullable final String description) {
        super("setDescription");
        this.description = description;
    }

    @Nullable
    public String getDescription() {
        return description;
    }

    public static SetDescription of(@Nullable final String description) {
        return new SetDescription(description);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy