public static class GbpNetworkServicePolicy.NetworkServicePolicyConcreteBuilder extends Object implements NetworkServicePolicyBuilder
Constructor and Description |
---|
NetworkServicePolicyConcreteBuilder() |
NetworkServicePolicyConcreteBuilder(GbpNetworkServicePolicy gbpServicePolicy) |
Modifier and Type | Method and Description |
---|---|
NetworkServicePolicy |
build()
Creates and return the Model Entity M
|
NetworkServicePolicyBuilder |
description(String description) |
NetworkServicePolicyBuilder |
from(NetworkServicePolicy in)
Creates a Builder using the param M as the default values
|
NetworkServicePolicyBuilder |
gbpNetworkServiceParams(List<GbpNetworkServiceParams> gbpNetworkServiceParamsList) |
NetworkServicePolicyBuilder |
isShared(boolean shared) |
NetworkServicePolicyBuilder |
name(String name) |
public NetworkServicePolicyConcreteBuilder(GbpNetworkServicePolicy gbpServicePolicy)
public NetworkServicePolicyConcreteBuilder()
public NetworkServicePolicy build()
Buildable.Builder
build
in interface Buildable.Builder<NetworkServicePolicyBuilder,NetworkServicePolicy>
public NetworkServicePolicyBuilder from(NetworkServicePolicy in)
Buildable.Builder
from
in interface Buildable.Builder<NetworkServicePolicyBuilder,NetworkServicePolicy>
public NetworkServicePolicyBuilder name(String name)
name
in interface NetworkServicePolicyBuilder
public NetworkServicePolicyBuilder description(String description)
description
in interface NetworkServicePolicyBuilder
public NetworkServicePolicyBuilder isShared(boolean shared)
isShared
in interface NetworkServicePolicyBuilder
public NetworkServicePolicyBuilder gbpNetworkServiceParams(List<GbpNetworkServiceParams> gbpNetworkServiceParamsList)
gbpNetworkServiceParams
in interface NetworkServicePolicyBuilder
Copyright © 2017. All rights reserved.