Interface ProfileCreateBuilder
-
- All Superinterfaces:
Buildable.Builder<ProfileCreateBuilder,ProfileCreate>
- All Known Implementing Classes:
SenlinProfileCreate.SenlinProfileCreateConcreteBuilder
public interface ProfileCreateBuilder extends Buildable.Builder<ProfileCreateBuilder,ProfileCreate>
This interface describes a builder forProfileCreateobjects- Author:
- lion
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProfileCreateBuildermetadata(Map<String,Map> metadata)Add a list of key and value pairs to associate with the profile.ProfileCreateBuildername(String name)Add the name for the profile.ProfileCreateBuilderspec(Map<String,Object> spec)Add detailed specification based on the chosen profile type.-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
name
ProfileCreateBuilder name(String name)
Add the name for the profile.- Parameters:
name- The name for the profile.- Returns:
- ProfileCreateBuilder
-
spec
ProfileCreateBuilder spec(Map<String,Object> spec)
Add detailed specification based on the chosen profile type.- Parameters:
spec- The detailed specification based on the chosen profile type.- Returns:
- ProfileCreateBuilder
-
metadata
ProfileCreateBuilder metadata(Map<String,Map> metadata)
Add a list of key and value pairs to associate with the profile.- Parameters:
metadata- The list of key and value pairs to associate with the profile.- Returns:
- ProfileCreateBuilder
-
-