public static class CinderVolumeType.ConcreteVolumeTypeBuilder extends Object implements VolumeTypeBuilder
Modifier and Type | Method and Description |
---|---|
VolumeType |
build()
Creates and return the Model Entity M
|
VolumeTypeBuilder |
extraSpecs(Map<String,String> extraSpecs)
See
VolumeType.getExtraSpecs() Optional |
VolumeTypeBuilder |
from(VolumeType in)
Creates a Builder using the param M as the default values
|
VolumeTypeBuilder |
name(String name)
|
public VolumeType build()
Buildable.Builder
build
in interface Buildable.Builder<VolumeTypeBuilder,VolumeType>
public VolumeTypeBuilder from(VolumeType in)
Buildable.Builder
from
in interface Buildable.Builder<VolumeTypeBuilder,VolumeType>
public VolumeTypeBuilder name(String name)
VolumeTypeBuilder
name
in interface VolumeTypeBuilder
name
- the name of the volume typepublic VolumeTypeBuilder extraSpecs(Map<String,String> extraSpecs)
VolumeTypeBuilder
VolumeType.getExtraSpecs()
OptionalextraSpecs
in interface VolumeTypeBuilder
extraSpecs
- Defining extra specs for the volume type as a key-value map.Copyright © 2017. All rights reserved.