public interface ShareTypeCreateBuilder extends Buildable.Builder<ShareTypeCreateBuilder,ShareTypeCreate>
ShareTypeCreate
.Modifier and Type | Method and Description |
---|---|
ShareTypeCreateBuilder |
addExtraSpec(String key,
String value)
Adds an extra specification for the share type.
|
ShareTypeCreateBuilder |
extraSpecs(ExtraSpecs extraSpecs)
Set extra specifications for the share type.
|
ShareTypeCreateBuilder |
name(String name)
Set the share type name.
|
ShareTypeCreateBuilder |
osShareTypeAccessIsPublic(boolean osShareTypeAccessIsPublic)
Set whether a share type is publicly accessible.
|
build, from
ShareTypeCreateBuilder addExtraSpec(String key, String value)
key
- the key of the extra specificationvalue
- the value of the extra specificationShareTypeCreateBuilder extraSpecs(ExtraSpecs extraSpecs)
extraSpecs
- the extra specificationsShareTypeCreateBuilder osShareTypeAccessIsPublic(boolean osShareTypeAccessIsPublic)
osShareTypeAccessIsPublic
- whether the share type is public accessibleShareTypeCreateBuilder name(String name)
name
- the share type nameCopyright © 2017. All rights reserved.