public final class ALBVip
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
| Modifier and Type | Class and Description |
|---|---|
static class |
ALBVip.Builder
Builder class for
ALBVip. |
| Modifier and Type | Field and Description |
|---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
AUTO_ALLOCATE_IP_TYPE_V4_ONLY |
static java.lang.String |
AUTO_ALLOCATE_IP_TYPE_V4_V6 |
static java.lang.String |
AUTO_ALLOCATE_IP_TYPE_V6_ONLY |
| Modifier | Constructor and Description |
|---|---|
|
ALBVip()
Default constructor.
|
protected |
ALBVip(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static ALBVip |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static ALBVip |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAutoAllocateFloatingIp()
Auto-allocate floating/elastic IP from the Cloud infrastructure.
|
java.lang.Boolean |
getAutoAllocateIp()
Auto-allocate VIP from the provided subnet.
|
java.lang.String |
getAutoAllocateIpType()
Possible values are:
AUTO_ALLOCATE_IP_TYPE_V4_ONLY
AUTO_ALLOCATE_IP_TYPE_V6_ONLY
AUTO_ALLOCATE_IP_TYPE_V4_V6
Specifies whether to auto-allocate only a V4 address, only a V6 address,
or one of each type. |
java.lang.String |
getAvailabilityZone()
Availability-zone to place the Virtual Service.
|
java.lang.Boolean |
getAviAllocatedFip()
(internal-use) FIP allocated by Avi in the Cloud infrastructure.
|
java.lang.Boolean |
getAviAllocatedVip()
(internal-use) VIP allocated by Avi in the Cloud infrastructure.
|
java.util.List<ALBDiscoveredNetwork> |
getDiscoveredNetworks()
Discovered networks providing reachability for client facing Vip IP.
|
java.lang.Boolean |
getEnabled()
Enable or disable the Vip.
|
ALBIpAddr |
getFloatingIp() |
ALBIpAddr |
getFloatingIp6() |
java.lang.String |
getFloatingSubnet6Uuid()
If auto_allocate_floating_ip is True and more than one floating-ip subnets
exist, then the subnet for the floating IPv6 address allocation.
|
java.lang.String |
getFloatingSubnetUuid()
If auto_allocate_floating_ip is True and more than one floating-ip subnets
exist, then the subnet for the floating IP address allocation.
|
ALBIpAddr |
getIp6Address() |
ALBIpAddr |
getIpAddress() |
ALBIPNetworkSubnet |
getIpamNetworkSubnet() |
java.lang.String |
getNetworkName()
Manually override the network on which the Vip is placed.
|
java.util.List<ALBVipPlacementNetwork> |
getPlacementNetworks()
Placement networks/subnets to use for vip placement.
|
java.lang.String |
getPortUuid()
(internal-use) Network port assigned to the Vip IP address.
|
java.lang.Long |
getPrefixLength()
Mask applied for the Vip, non-default mask supported only for wildcard Vip.
|
ALBIpAddrPrefix |
getSubnet() |
ALBIpAddrPrefix |
getSubnet6() |
java.lang.String |
getSubnet6Uuid()
If auto_allocate_ip is True, then the subnet for the Vip IPv6 address
allocation.
|
java.lang.String |
getSubnetUuid()
If auto_allocate_ip is True, then the subnet for the Vip IP address allocation.
|
java.lang.String |
getVipId()
Unique ID associated with the vip.
|
int |
hashCode() |
void |
setAutoAllocateFloatingIp(java.lang.Boolean autoAllocateFloatingIp)
Auto-allocate floating/elastic IP from the Cloud infrastructure.
|
void |
setAutoAllocateIp(java.lang.Boolean autoAllocateIp)
Auto-allocate VIP from the provided subnet.
|
void |
setAutoAllocateIpType(java.lang.String autoAllocateIpType)
Possible values are:
AUTO_ALLOCATE_IP_TYPE_V4_ONLY
AUTO_ALLOCATE_IP_TYPE_V6_ONLY
AUTO_ALLOCATE_IP_TYPE_V4_V6
Specifies whether to auto-allocate only a V4 address, only a V6 address,
or one of each type. |
void |
setAvailabilityZone(java.lang.String availabilityZone)
Availability-zone to place the Virtual Service.
|
void |
setAviAllocatedFip(java.lang.Boolean aviAllocatedFip)
(internal-use) FIP allocated by Avi in the Cloud infrastructure.
|
void |
setAviAllocatedVip(java.lang.Boolean aviAllocatedVip)
(internal-use) VIP allocated by Avi in the Cloud infrastructure.
|
void |
setDiscoveredNetworks(java.util.List<ALBDiscoveredNetwork> discoveredNetworks)
Discovered networks providing reachability for client facing Vip IP.
|
void |
setEnabled(java.lang.Boolean enabled)
Enable or disable the Vip.
|
void |
setFloatingIp(ALBIpAddr floatingIp) |
void |
setFloatingIp6(ALBIpAddr floatingIp6) |
void |
setFloatingSubnet6Uuid(java.lang.String floatingSubnet6Uuid)
If auto_allocate_floating_ip is True and more than one floating-ip subnets
exist, then the subnet for the floating IPv6 address allocation.
|
void |
setFloatingSubnetUuid(java.lang.String floatingSubnetUuid)
If auto_allocate_floating_ip is True and more than one floating-ip subnets
exist, then the subnet for the floating IP address allocation.
|
void |
setIp6Address(ALBIpAddr ip6Address) |
void |
setIpAddress(ALBIpAddr ipAddress) |
void |
setIpamNetworkSubnet(ALBIPNetworkSubnet ipamNetworkSubnet) |
void |
setNetworkName(java.lang.String networkName)
Manually override the network on which the Vip is placed.
|
void |
setPlacementNetworks(java.util.List<ALBVipPlacementNetwork> placementNetworks)
Placement networks/subnets to use for vip placement.
|
void |
setPortUuid(java.lang.String portUuid)
(internal-use) Network port assigned to the Vip IP address.
|
void |
setPrefixLength(java.lang.Long prefixLength)
Mask applied for the Vip, non-default mask supported only for wildcard Vip.
|
void |
setSubnet(ALBIpAddrPrefix subnet) |
void |
setSubnet6(ALBIpAddrPrefix subnet6) |
void |
setSubnet6Uuid(java.lang.String subnet6Uuid)
If auto_allocate_ip is True, then the subnet for the Vip IPv6 address
allocation.
|
void |
setSubnetUuid(java.lang.String subnetUuid)
If auto_allocate_ip is True, then the subnet for the Vip IP address allocation.
|
void |
setVipId(java.lang.String vipId)
Unique ID associated with the vip.
|
java.lang.String |
toString() |
public static final java.lang.String AUTO_ALLOCATE_IP_TYPE_V4_ONLY
public static final java.lang.String AUTO_ALLOCATE_IP_TYPE_V6_ONLY
public static final java.lang.String AUTO_ALLOCATE_IP_TYPE_V4_V6
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public ALBVip()
protected ALBVip(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.Boolean getAutoAllocateFloatingIp()
public void setAutoAllocateFloatingIp(java.lang.Boolean autoAllocateFloatingIp)
autoAllocateFloatingIp - New value for the property.public java.lang.Boolean getAutoAllocateIp()
public void setAutoAllocateIp(java.lang.Boolean autoAllocateIp)
autoAllocateIp - New value for the property.public java.lang.String getAutoAllocateIpType()
public void setAutoAllocateIpType(java.lang.String autoAllocateIpType)
autoAllocateIpType - New value for the property.public java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone - New value for the property.public java.lang.Boolean getAviAllocatedFip()
public void setAviAllocatedFip(java.lang.Boolean aviAllocatedFip)
aviAllocatedFip - New value for the property.public java.lang.Boolean getAviAllocatedVip()
public void setAviAllocatedVip(java.lang.Boolean aviAllocatedVip)
aviAllocatedVip - New value for the property.public java.util.List<ALBDiscoveredNetwork> getDiscoveredNetworks()
public void setDiscoveredNetworks(java.util.List<ALBDiscoveredNetwork> discoveredNetworks)
discoveredNetworks - New value for the property.public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean enabled)
enabled - New value for the property.public ALBIpAddr getFloatingIp()
public void setFloatingIp(ALBIpAddr floatingIp)
floatingIp - New value for the property.public ALBIpAddr getFloatingIp6()
public void setFloatingIp6(ALBIpAddr floatingIp6)
floatingIp6 - New value for the property.public java.lang.String getFloatingSubnet6Uuid()
public void setFloatingSubnet6Uuid(java.lang.String floatingSubnet6Uuid)
floatingSubnet6Uuid - New value for the property.public java.lang.String getFloatingSubnetUuid()
public void setFloatingSubnetUuid(java.lang.String floatingSubnetUuid)
floatingSubnetUuid - New value for the property.public ALBIpAddr getIp6Address()
public void setIp6Address(ALBIpAddr ip6Address)
ip6Address - New value for the property.public ALBIpAddr getIpAddress()
public void setIpAddress(ALBIpAddr ipAddress)
ipAddress - New value for the property.public ALBIPNetworkSubnet getIpamNetworkSubnet()
public void setIpamNetworkSubnet(ALBIPNetworkSubnet ipamNetworkSubnet)
ipamNetworkSubnet - New value for the property.public java.lang.String getNetworkName()
public void setNetworkName(java.lang.String networkName)
networkName - New value for the property.public java.util.List<ALBVipPlacementNetwork> getPlacementNetworks()
public void setPlacementNetworks(java.util.List<ALBVipPlacementNetwork> placementNetworks)
placementNetworks - New value for the property.public java.lang.String getPortUuid()
public void setPortUuid(java.lang.String portUuid)
portUuid - New value for the property.public java.lang.Long getPrefixLength()
public void setPrefixLength(java.lang.Long prefixLength)
prefixLength - New value for the property.public ALBIpAddrPrefix getSubnet()
public void setSubnet(ALBIpAddrPrefix subnet)
subnet - New value for the property.public ALBIpAddrPrefix getSubnet6()
public void setSubnet6(ALBIpAddrPrefix subnet6)
subnet6 - New value for the property.public java.lang.String getSubnet6Uuid()
public void setSubnet6Uuid(java.lang.String subnet6Uuid)
subnet6Uuid - New value for the property.public java.lang.String getSubnetUuid()
public void setSubnetUuid(java.lang.String subnetUuid)
subnetUuid - New value for the property.public java.lang.String getVipId()
public void setVipId(java.lang.String vipId)
vipId - New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue in interface com.vmware.vapi.bindings.Structureprotected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate in interface com.vmware.vapi.bindings.StaticStructurepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in interface com.vmware.vapi.bindings.StaticStructuretoString in class java.lang.Objectpublic boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf in interface com.vmware.vapi.bindings.Structurepublic <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo in interface com.vmware.vapi.bindings.Structurepublic void _setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames in interface com.vmware.vapi.bindings.StaticStructurepublic static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType instance representing the static bindings
type for this Structure.public java.lang.String _getCanonicalName()
_getCanonicalName in interface com.vmware.vapi.bindings.Structurepublic static java.lang.String _getCanonicalTypeName()
_getCanonicalName().public static ALBVip _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue - the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructTypepublic static ALBVip _newInstance2(com.vmware.vapi.data.StructValue structValue)