public static class GbpExternalSegment.ExternalSegmentConcreteBuilder extends Object implements ExternalSegmentBuilder
Constructor and Description |
---|
ExternalSegmentConcreteBuilder() |
ExternalSegmentConcreteBuilder(GbpExternalSegment gbpExternalSegment) |
Modifier and Type | Method and Description |
---|---|
ExternalSegment |
build()
Creates and return the Model Entity M
|
ExternalSegmentBuilder |
cidr(String cidr) |
ExternalSegmentBuilder |
description(String description) |
ExternalSegmentBuilder |
externalPolicies(List<String> extPolicyIds) |
ExternalSegmentBuilder |
externalRoutes(List<ExternalRoutes> extRoutes) |
ExternalSegmentBuilder |
from(ExternalSegment in)
Creates a Builder using the param M as the default values
|
ExternalSegmentBuilder |
ipVersion(int ipVersion) |
ExternalSegmentBuilder |
isPortAddressTranslation(boolean isPortAddressTranslation) |
ExternalSegmentBuilder |
isShared(boolean shared) |
ExternalSegmentBuilder |
name(String name) |
ExternalSegmentBuilder |
subnetId(String subnetId) |
public ExternalSegmentConcreteBuilder()
public ExternalSegmentConcreteBuilder(GbpExternalSegment gbpExternalSegment)
public ExternalSegment build()
Buildable.Builder
build
in interface Buildable.Builder<ExternalSegmentBuilder,ExternalSegment>
public ExternalSegmentBuilder from(ExternalSegment in)
Buildable.Builder
from
in interface Buildable.Builder<ExternalSegmentBuilder,ExternalSegment>
public ExternalSegmentBuilder name(String name)
name
in interface ExternalSegmentBuilder
public ExternalSegmentBuilder description(String description)
description
in interface ExternalSegmentBuilder
public ExternalSegmentBuilder externalPolicies(List<String> extPolicyIds)
externalPolicies
in interface ExternalSegmentBuilder
public ExternalSegmentBuilder ipVersion(int ipVersion)
ipVersion
in interface ExternalSegmentBuilder
public ExternalSegmentBuilder cidr(String cidr)
cidr
in interface ExternalSegmentBuilder
public ExternalSegmentBuilder isShared(boolean shared)
isShared
in interface ExternalSegmentBuilder
public ExternalSegmentBuilder externalRoutes(List<ExternalRoutes> extRoutes)
externalRoutes
in interface ExternalSegmentBuilder
public ExternalSegmentBuilder subnetId(String subnetId)
subnetId
in interface ExternalSegmentBuilder
public ExternalSegmentBuilder isPortAddressTranslation(boolean isPortAddressTranslation)
isPortAddressTranslation
in interface ExternalSegmentBuilder
Copyright © 2017. All rights reserved.