Package com.vmware.nsx_policy.model
Class IPv6EndPoint.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IPv6EndPoint.Builder
-
- Enclosing class:
- IPv6EndPoint
public static final class IPv6EndPoint.Builder extends java.lang.ObjectBuilder class forIPv6EndPoint.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofIPv6EndPoint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPv6EndPointbuild()IPv6EndPoint.BuildersetDefaultGateway(java.lang.String defaultGateway)Default gateway for IPv6 format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.IPv6EndPoint.BuildersetIpv6(java.lang.String ipv6)Depending upon the EndpointIpConfig used in HostSwitch, IP could be allocated either from DHCP (default) or from Static IP Pool.IPv6EndPoint.BuildersetPrefixLength(java.lang.String prefixLength)Prefix length for IPv6 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIPv6EndPoint.
-
-
Method Detail
-
setDefaultGateway
public IPv6EndPoint.Builder setDefaultGateway(java.lang.String defaultGateway)
Default gateway for IPv6 format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
defaultGateway- New value for the property.
-
setIpv6
public IPv6EndPoint.Builder setIpv6(java.lang.String ipv6)
Depending upon the EndpointIpConfig used in HostSwitch, IP could be allocated either from DHCP (default) or from Static IP Pool. format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
ipv6- New value for the property.
-
setPrefixLength
public IPv6EndPoint.Builder setPrefixLength(java.lang.String prefixLength)
Prefix length for IPv6 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
prefixLength- New value for the property.
-
build
public IPv6EndPoint build()
-
-