public static class ManilaShareNetworkCreate.ShareNetworkCreateConcreteBuilder extends Object implements ShareNetworkCreateBuilder
Modifier and Type | Method and Description |
---|---|
ShareNetworkCreate |
build()
Creates and return the Model Entity M
|
ShareNetworkCreateBuilder |
description(String description)
Set the share network description.
|
ShareNetworkCreateBuilder |
from(ShareNetworkCreate in)
Creates a Builder using the param M as the default values
|
ShareNetworkCreateBuilder |
name(String name)
Set the share network name.
|
ShareNetworkCreateBuilder |
neutronNet(String neutronNetId,
String neutronSubnetId)
Set the neutron network and subnet.
|
ShareNetworkCreateBuilder |
novaNet(String novaNetId)
Set the nova network.
|
public ShareNetworkCreateBuilder neutronNet(String neutronNetId, String neutronSubnetId)
ShareNetworkCreateBuilder
neutronNet
in interface ShareNetworkCreateBuilder
neutronNetId
- the neutron network IDneutronSubnetId
- the neutron subnet IDpublic ShareNetworkCreateBuilder novaNet(String novaNetId)
ShareNetworkCreateBuilder
novaNet
in interface ShareNetworkCreateBuilder
novaNetId
- the nova network IDpublic ShareNetworkCreateBuilder name(String name)
ShareNetworkCreateBuilder
name
in interface ShareNetworkCreateBuilder
name
- the share network namepublic ShareNetworkCreateBuilder description(String description)
ShareNetworkCreateBuilder
description
in interface ShareNetworkCreateBuilder
description
- the share network descriptionpublic ShareNetworkCreate build()
Buildable.Builder
build
in interface Buildable.Builder<ShareNetworkCreateBuilder,ShareNetworkCreate>
public ShareNetworkCreateBuilder from(ShareNetworkCreate in)
Buildable.Builder
from
in interface Buildable.Builder<ShareNetworkCreateBuilder,ShareNetworkCreate>
Copyright © 2017. All rights reserved.