Interface ShareTypeCreateBuilder
-
- All Superinterfaces:
Buildable.Builder<ShareTypeCreateBuilder,ShareTypeCreate>
- All Known Implementing Classes:
ManilaShareTypeCreate.ShareTypeCreateConcreteBuilder
public interface ShareTypeCreateBuilder extends Buildable.Builder<ShareTypeCreateBuilder,ShareTypeCreate>
Builds aShareTypeCreate.- Author:
- Daniel Gonzalez Nothnagel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShareTypeCreateBuilderaddExtraSpec(String key, String value)Adds an extra specification for the share type.ShareTypeCreateBuilderextraSpecs(ExtraSpecs extraSpecs)Set extra specifications for the share type.ShareTypeCreateBuildername(String name)Set the share type name.ShareTypeCreateBuilderosShareTypeAccessIsPublic(boolean osShareTypeAccessIsPublic)Set whether a share type is publicly accessible.-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
addExtraSpec
ShareTypeCreateBuilder addExtraSpec(String key, String value)
Adds an extra specification for the share type.- Parameters:
key- the key of the extra specificationvalue- the value of the extra specification- Returns:
- ShareTypeCreateBuilder
-
extraSpecs
ShareTypeCreateBuilder extraSpecs(ExtraSpecs extraSpecs)
Set extra specifications for the share type.- Parameters:
extraSpecs- the extra specifications- Returns:
- ShareTypeCreateBuilder
-
osShareTypeAccessIsPublic
ShareTypeCreateBuilder osShareTypeAccessIsPublic(boolean osShareTypeAccessIsPublic)
Set whether a share type is publicly accessible. Default is true, or publicly accessible.- Parameters:
osShareTypeAccessIsPublic- whether the share type is public accessible- Returns:
- ShareTypeCreateBuilder
-
name
ShareTypeCreateBuilder name(String name)
Set the share type name.- Parameters:
name- the share type name- Returns:
- ShareTypeCreateBuilder
-
-