public static class TroveInstanceCreate.ConcereteInstanceBuilder extends Object implements InstanceCreateBuilder
Constructor and Description |
---|
ConcereteInstanceBuilder() |
ConcereteInstanceBuilder(TroveInstanceCreate instance) |
Modifier and Type | Method and Description |
---|---|
InstanceCreate |
build()
Creates and return the Model Entity M
|
InstanceCreateBuilder |
datastore(Datastore datastore) |
InstanceCreateBuilder |
flavor(String flavorRef) |
InstanceCreateBuilder |
from(InstanceCreate in)
Creates a Builder using the param M as the default values
|
InstanceCreateBuilder |
name(String name) |
InstanceCreateBuilder |
volumeSize(int size) |
InstanceCreateBuilder |
volumeType(String volumeType) |
public ConcereteInstanceBuilder()
public ConcereteInstanceBuilder(TroveInstanceCreate instance)
public InstanceCreate build()
Buildable.Builder
build
in interface Buildable.Builder<InstanceCreateBuilder,InstanceCreate>
public InstanceCreateBuilder from(InstanceCreate in)
Buildable.Builder
from
in interface Buildable.Builder<InstanceCreateBuilder,InstanceCreate>
public InstanceCreateBuilder flavor(String flavorRef)
flavor
in interface InstanceCreateBuilder
public InstanceCreateBuilder name(String name)
name
in interface InstanceCreateBuilder
public InstanceCreateBuilder datastore(Datastore datastore)
datastore
in interface InstanceCreateBuilder
public InstanceCreateBuilder volumeType(String volumeType)
volumeType
in interface InstanceCreateBuilder
public InstanceCreateBuilder volumeSize(int size)
volumeSize
in interface InstanceCreateBuilder
Copyright © 2017. All rights reserved.