public class TroveInstanceCreate extends Object implements InstanceCreate
Modifier and Type | Class and Description |
---|---|
static class |
TroveInstanceCreate.ConcereteInstanceBuilder |
class |
TroveInstanceCreate.Volume |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
TroveInstanceCreate() |
Modifier and Type | Method and Description |
---|---|
static InstanceCreateBuilder |
builder() |
void |
setDatastore(Datastore datastore) |
void |
setFlavor(String flavorRef) |
void |
setName(String name) |
void |
setVolume(TroveInstanceCreate.Volume volume) |
void |
setvolumeSize(int size) |
void |
setVolumetype(String volumeType) |
InstanceCreateBuilder |
toBuilder() |
public void setVolume(TroveInstanceCreate.Volume volume)
volume
- The volumepublic void setFlavor(String flavorRef)
setFlavor
in interface InstanceCreate
flavorRef
- The flavorRefpublic void setName(String name)
setName
in interface InstanceCreate
name
- The namepublic void setVolumetype(String volumeType)
setVolumetype
in interface InstanceCreate
volumeType
- public void setvolumeSize(int size)
setvolumeSize
in interface InstanceCreate
size
- public void setDatastore(Datastore datastore)
setDatastore
in interface InstanceCreate
datastore
- public static InstanceCreateBuilder builder()
public InstanceCreateBuilder toBuilder()
toBuilder
in interface Buildable<InstanceCreateBuilder>
Copyright © 2017. All rights reserved.