public static class ManilaShareTypeCreate.ShareTypeCreateConcreteBuilder extends Object implements ShareTypeCreateBuilder
Constructor and Description |
---|
ShareTypeCreateConcreteBuilder() |
ShareTypeCreateConcreteBuilder(ManilaShareTypeCreate shareTypeCreate) |
Modifier and Type | Method and Description |
---|---|
ShareTypeCreateBuilder |
addExtraSpec(String key,
String value)
Adds an extra specification for the share type.
|
ShareTypeCreate |
build()
Creates and return the Model Entity M
|
ShareTypeCreateBuilder |
extraSpecs(ExtraSpecs extraSpecs)
Set extra specifications for the share type.
|
ShareTypeCreateBuilder |
from(ShareTypeCreate in)
Creates a Builder using the param M as the default values
|
ShareTypeCreateBuilder |
name(String name)
Set the share type name.
|
ShareTypeCreateBuilder |
osShareTypeAccessIsPublic(boolean osShareTypeAccessIsPublic)
Set whether a share type is publicly accessible.
|
public ShareTypeCreateConcreteBuilder()
public ShareTypeCreateConcreteBuilder(ManilaShareTypeCreate shareTypeCreate)
public ShareTypeCreateBuilder addExtraSpec(String key, String value)
ShareTypeCreateBuilder
addExtraSpec
in interface ShareTypeCreateBuilder
key
- the key of the extra specificationvalue
- the value of the extra specificationpublic ShareTypeCreateBuilder extraSpecs(ExtraSpecs extraSpecs)
ShareTypeCreateBuilder
extraSpecs
in interface ShareTypeCreateBuilder
extraSpecs
- the extra specificationspublic ShareTypeCreateBuilder osShareTypeAccessIsPublic(boolean osShareTypeAccessIsPublic)
ShareTypeCreateBuilder
osShareTypeAccessIsPublic
in interface ShareTypeCreateBuilder
osShareTypeAccessIsPublic
- whether the share type is public accessiblepublic ShareTypeCreateBuilder name(String name)
ShareTypeCreateBuilder
name
in interface ShareTypeCreateBuilder
name
- the share type namepublic ShareTypeCreate build()
Buildable.Builder
build
in interface Buildable.Builder<ShareTypeCreateBuilder,ShareTypeCreate>
public ShareTypeCreateBuilder from(ShareTypeCreate in)
Buildable.Builder
from
in interface Buildable.Builder<ShareTypeCreateBuilder,ShareTypeCreate>
Copyright © 2017. All rights reserved.