public static class GbpL2Policy.L2PolicyConcreteBuilder extends Object implements L2PolicyBuilder
Constructor and Description |
---|
L2PolicyConcreteBuilder() |
L2PolicyConcreteBuilder(GbpL2Policy gbpL2Policy) |
Modifier and Type | Method and Description |
---|---|
L2Policy |
build()
Creates and return the Model Entity M
|
L2PolicyBuilder |
description(String description) |
L2PolicyBuilder |
from(L2Policy in)
Creates a Builder using the param M as the default values
|
L2PolicyBuilder |
isShared(boolean shared) |
L2PolicyBuilder |
l3PolicyId(String id) |
L2PolicyBuilder |
name(String name) |
L2PolicyBuilder |
networkId(String id) |
L2PolicyBuilder |
policyTargetGroups(List<String> ids) |
public L2PolicyConcreteBuilder(GbpL2Policy gbpL2Policy)
public L2PolicyConcreteBuilder()
public L2Policy build()
Buildable.Builder
build
in interface Buildable.Builder<L2PolicyBuilder,L2Policy>
public L2PolicyBuilder from(L2Policy in)
Buildable.Builder
from
in interface Buildable.Builder<L2PolicyBuilder,L2Policy>
public L2PolicyBuilder name(String name)
name
in interface L2PolicyBuilder
public L2PolicyBuilder description(String description)
description
in interface L2PolicyBuilder
public L2PolicyBuilder isShared(boolean shared)
isShared
in interface L2PolicyBuilder
public L2PolicyBuilder networkId(String id)
networkId
in interface L2PolicyBuilder
public L2PolicyBuilder l3PolicyId(String id)
l3PolicyId
in interface L2PolicyBuilder
public L2PolicyBuilder policyTargetGroups(List<String> ids)
policyTargetGroups
in interface L2PolicyBuilder
Copyright © 2017. All rights reserved.