Class GbpExternalSegment.ExternalSegmentConcreteBuilder
- java.lang.Object
-
- org.openstack4j.openstack.gbp.domain.GbpExternalSegment.ExternalSegmentConcreteBuilder
-
- All Implemented Interfaces:
Buildable.Builder<ExternalSegmentBuilder,ExternalSegment>
,ExternalSegmentBuilder
- Enclosing class:
- GbpExternalSegment
public static class GbpExternalSegment.ExternalSegmentConcreteBuilder extends Object implements ExternalSegmentBuilder
-
-
Constructor Summary
Constructors Constructor Description ExternalSegmentConcreteBuilder()
ExternalSegmentConcreteBuilder(GbpExternalSegment gbpExternalSegment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalSegment
build()
Creates and return the Model Entity MExternalSegmentBuilder
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 valuesExternalSegmentBuilder
ipVersion(int ipVersion)
ExternalSegmentBuilder
isPortAddressTranslation(boolean isPortAddressTranslation)
ExternalSegmentBuilder
isShared(boolean shared)
ExternalSegmentBuilder
name(String name)
ExternalSegmentBuilder
subnetId(String subnetId)
-
-
-
Constructor Detail
-
ExternalSegmentConcreteBuilder
public ExternalSegmentConcreteBuilder()
-
ExternalSegmentConcreteBuilder
public ExternalSegmentConcreteBuilder(GbpExternalSegment gbpExternalSegment)
-
-
Method Detail
-
build
public ExternalSegment build()
Description copied from interface:Buildable.Builder
Creates and return the Model Entity M- Specified by:
build
in interfaceBuildable.Builder<ExternalSegmentBuilder,ExternalSegment>
- Returns:
- M instance
-
from
public ExternalSegmentBuilder from(ExternalSegment in)
Description copied from interface:Buildable.Builder
Creates a Builder using the param M as the default values- Specified by:
from
in interfaceBuildable.Builder<ExternalSegmentBuilder,ExternalSegment>
- Returns:
- Builder
-
name
public ExternalSegmentBuilder name(String name)
- Specified by:
name
in interfaceExternalSegmentBuilder
-
description
public ExternalSegmentBuilder description(String description)
- Specified by:
description
in interfaceExternalSegmentBuilder
-
externalPolicies
public ExternalSegmentBuilder externalPolicies(List<String> extPolicyIds)
- Specified by:
externalPolicies
in interfaceExternalSegmentBuilder
-
ipVersion
public ExternalSegmentBuilder ipVersion(int ipVersion)
- Specified by:
ipVersion
in interfaceExternalSegmentBuilder
-
cidr
public ExternalSegmentBuilder cidr(String cidr)
- Specified by:
cidr
in interfaceExternalSegmentBuilder
-
isShared
public ExternalSegmentBuilder isShared(boolean shared)
- Specified by:
isShared
in interfaceExternalSegmentBuilder
-
externalRoutes
public ExternalSegmentBuilder externalRoutes(List<ExternalRoutes> extRoutes)
- Specified by:
externalRoutes
in interfaceExternalSegmentBuilder
-
subnetId
public ExternalSegmentBuilder subnetId(String subnetId)
- Specified by:
subnetId
in interfaceExternalSegmentBuilder
-
isPortAddressTranslation
public ExternalSegmentBuilder isPortAddressTranslation(boolean isPortAddressTranslation)
- Specified by:
isPortAddressTranslation
in interfaceExternalSegmentBuilder
-
-