Package com.vmware.nsx_policy.model
Class PolicyIPAddressInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyIPAddressInfo.Builder
-
- Enclosing class:
- PolicyIPAddressInfo
public static final class PolicyIPAddressInfo.Builder extends java.lang.Object
Builder class forPolicyIPAddressInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyIPAddressInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyIPAddressInfo
build()
PolicyIPAddressInfo.Builder
setAddressValue(java.lang.String addressValue)
Value of the IPv4Address.PolicyIPAddressInfo.Builder
setDisplayName(java.lang.String displayName)
Display name used to help identify the IPv4Address.PolicyIPAddressInfo.Builder
setNextHop(java.lang.String nextHop)
Next hop used in auto-plumbing of static route.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyIPAddressInfo
.
-
-
Method Detail
-
setAddressValue
public PolicyIPAddressInfo.Builder setAddressValue(java.lang.String addressValue)
Value of the IPv4Address. format: ipv4- Parameters:
addressValue
- New value for the property.
-
setDisplayName
public PolicyIPAddressInfo.Builder setDisplayName(java.lang.String displayName)
Display name used to help identify the IPv4Address.- Parameters:
displayName
- New value for the property.
-
setNextHop
public PolicyIPAddressInfo.Builder setNextHop(java.lang.String nextHop)
Next hop used in auto-plumbing of static route. If a value is not provided, static route will not be auto-plumbed. format: ipv4- Parameters:
nextHop
- New value for the property.
-
build
public PolicyIPAddressInfo build()
-
-