public static class GbpL3Policy.L3PolicyConcreteBuilder extends Object implements L3PolicyBuilder
Constructor and Description |
---|
L3PolicyConcreteBuilder() |
L3PolicyConcreteBuilder(GbpL3Policy gbpL3Policy) |
Modifier and Type | Method and Description |
---|---|
L3Policy |
build()
Creates and return the Model Entity M
|
L3PolicyBuilder |
description(String description) |
L3PolicyBuilder |
externalSegments(List<String> extSegmentIds) |
L3PolicyBuilder |
from(L3Policy in)
Creates a Builder using the param M as the default values
|
L3PolicyBuilder |
ippool(String ippool) |
L3PolicyBuilder |
ipVersion(int ipVersion) |
L3PolicyBuilder |
isShared(boolean shared) |
L3PolicyBuilder |
name(String name) |
L3PolicyBuilder |
subnetPrefixLength(String subnetPrefixLength) |
public L3PolicyConcreteBuilder(GbpL3Policy gbpL3Policy)
public L3PolicyConcreteBuilder()
public L3Policy build()
Buildable.Builder
build
in interface Buildable.Builder<L3PolicyBuilder,L3Policy>
public L3PolicyBuilder from(L3Policy in)
Buildable.Builder
from
in interface Buildable.Builder<L3PolicyBuilder,L3Policy>
public L3PolicyBuilder name(String name)
name
in interface L3PolicyBuilder
public L3PolicyBuilder description(String description)
description
in interface L3PolicyBuilder
public L3PolicyBuilder ipVersion(int ipVersion)
ipVersion
in interface L3PolicyBuilder
public L3PolicyBuilder ippool(String ippool)
ippool
in interface L3PolicyBuilder
public L3PolicyBuilder subnetPrefixLength(String subnetPrefixLength)
subnetPrefixLength
in interface L3PolicyBuilder
public L3PolicyBuilder isShared(boolean shared)
isShared
in interface L3PolicyBuilder
public L3PolicyBuilder externalSegments(List<String> extSegmentIds)
externalSegments
in interface L3PolicyBuilder
Copyright © 2017. All rights reserved.