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

org.openstack4j.model.senlin.builder.ProfileCreateBuilder Maven / Gradle / Ivy

There is a newer version: 3.12
Show newest version
package org.openstack4j.model.senlin.builder;

import java.util.Map;

import org.openstack4j.common.Buildable;
import org.openstack4j.model.senlin.ProfileCreate;

/**
 * This interface describes a builder for {@link ProfileCreate} objects
 *
 * @author lion
 */
public interface ProfileCreateBuilder extends Buildable.Builder {

    /**
     * Add the name for the profile.
     *
     * @param name The name for the profile.
     * @return ProfileCreateBuilder
     */
    ProfileCreateBuilder name(String name);

    /**
     * Add detailed specification based on the chosen profile type.
     *
     * @param spec The detailed specification based on the chosen profile type.
     * @return ProfileCreateBuilder
     */
    ProfileCreateBuilder spec(Map spec);

    /**
     * Add a list of key and value pairs to associate with the profile.
     *
     * @param metadata The list of key and value pairs to associate with the profile.
     * @return ProfileCreateBuilder
     */
    ProfileCreateBuilder metadata(Map metadata);


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy