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

org.openstack4j.model.manila.builder.ShareTypeCreateBuilder Maven / Gradle / Ivy

There is a newer version: 3.11
Show newest version
package org.openstack4j.model.manila.builder;

import org.openstack4j.common.Buildable;
import org.openstack4j.model.manila.ExtraSpecs;
import org.openstack4j.model.manila.ShareTypeCreate;

/**
 * Builds a {@link org.openstack4j.model.manila.ShareTypeCreate}.
 *
 * @author Daniel Gonzalez Nothnagel
 */
public interface ShareTypeCreateBuilder extends Buildable.Builder {
    /**
     * Adds an extra specification for the share type.
     *
     * @param key the key of the extra specification
     * @param value the value of the extra specification
     * @return ShareTypeCreateBuilder
     */
    ShareTypeCreateBuilder addExtraSpec(String key, String value);

    /**
     * Set extra specifications for the share type.
     *
     * @param extraSpecs the extra specifications
     * @return ShareTypeCreateBuilder
     */
    ShareTypeCreateBuilder extraSpecs(ExtraSpecs extraSpecs);

     /**
      * Set whether a share type is publicly accessible. Default is true, or publicly accessible.
      *
      * @param osShareTypeAccessIsPublic whether the share type is public accessible
      * @return ShareTypeCreateBuilder
      */
     ShareTypeCreateBuilder osShareTypeAccessIsPublic(boolean osShareTypeAccessIsPublic);

    /**
     * Set the share type name.
     *
     * @param name the share type name
     * @return ShareTypeCreateBuilder
     */
    ShareTypeCreateBuilder name(String name);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy