Class ExternalGatewayInfo.Builder
- java.lang.Object
-
- org.jclouds.openstack.neutron.v2.domain.ExternalGatewayInfo.Builder
-
- Enclosing class:
- ExternalGatewayInfo
public static class ExternalGatewayInfo.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanenableSnatprotected StringnetworkId
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalGatewayInfobuild()ExternalGatewayInfo.BuilderenableSnat(Boolean enableSnat)Provide the enableSnat status to the ExternalGatewayInfo's Builder.ExternalGatewayInfo.BuilderfromExternalGatewayInfo(ExternalGatewayInfo in)ExternalGatewayInfo.BuildernetworkId(String networkId)Provide the networkId to the ExternalGatewayInfo's Builder.
-
-
-
Method Detail
-
networkId
public ExternalGatewayInfo.Builder networkId(String networkId)
Provide the networkId to the ExternalGatewayInfo's Builder.- Returns:
- the Builder.
- See Also:
ExternalGatewayInfo.getNetworkId()
-
enableSnat
public ExternalGatewayInfo.Builder enableSnat(Boolean enableSnat)
Provide the enableSnat status to the ExternalGatewayInfo's Builder.- Returns:
- the Builder.
- See Also:
ExternalGatewayInfo.getEnableSnat()
-
build
public ExternalGatewayInfo build()
- Returns:
- a ExternalGatewayInfo constructed with this Builder.
-
fromExternalGatewayInfo
public ExternalGatewayInfo.Builder fromExternalGatewayInfo(ExternalGatewayInfo in)
- Returns:
- a Builder from another ExternalGatewayInfo.
-
-