public final class ALBServer
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
| Modifier and Type | Class and Description |
|---|---|
static class |
ALBServer.Builder
Builder class for
ALBServer. |
| Modifier and Type | Field and Description |
|---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
| Modifier | Constructor and Description |
|---|---|
|
ALBServer()
Default constructor.
|
protected |
ALBServer(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 ALBServer |
_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 ALBServer |
_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.String |
getAutoscalingGroupName()
Name of autoscaling group this server belongs to.
|
java.lang.String |
getAvailabilityZone()
Availability-zone of the server VM.
|
java.lang.String |
getDescription()
A description of the Server.
|
java.util.List<ALBDiscoveredNetwork> |
getDiscoveredNetworks()
(internal-use) Discovered networks providing reachability for server IP.
|
java.lang.Boolean |
getEnabled()
Enable, Disable or Graceful Disable determine if new or existing connections to
the server are allowed.
|
java.lang.String |
getExternalOrchestrationId()
UID of server in external orchestration systems.
|
java.lang.String |
getExternalUuid()
UUID identifying VM in OpenStack and other external compute.
|
java.lang.String |
getHostname()
DNS resolvable name of the server.
|
ALBIpAddr |
getIp() |
java.lang.Boolean |
getIsStatic()
If statically learned.
|
ALBGeoLocation |
getLocation() |
java.lang.String |
getMacAddress()
MAC address of server.
|
java.lang.Long |
getPort()
Optionally specify the servers port number.
|
java.lang.String |
getPrstHdrVal()
Header value for custom header persistence.
|
java.lang.Long |
getRatio()
Ratio of selecting eligible servers in the pool.
|
java.lang.Boolean |
getResolveServerByDns()
Auto resolve server's IP using DNS name.
|
java.lang.Boolean |
getRewriteHostHeader()
Rewrite incoming Host Header to server name.
|
java.lang.String |
getServerNode()
Hostname of the node where the server VM or container resides.
|
java.lang.Boolean |
getVerifyNetwork()
Verify server belongs to a discovered network or reachable via a discovered
network.
|
int |
hashCode() |
void |
setAutoscalingGroupName(java.lang.String autoscalingGroupName)
Name of autoscaling group this server belongs to.
|
void |
setAvailabilityZone(java.lang.String availabilityZone)
Availability-zone of the server VM.
|
void |
setDescription(java.lang.String description)
A description of the Server.
|
void |
setDiscoveredNetworks(java.util.List<ALBDiscoveredNetwork> discoveredNetworks)
(internal-use) Discovered networks providing reachability for server IP.
|
void |
setEnabled(java.lang.Boolean enabled)
Enable, Disable or Graceful Disable determine if new or existing connections to
the server are allowed.
|
void |
setExternalOrchestrationId(java.lang.String externalOrchestrationId)
UID of server in external orchestration systems.
|
void |
setExternalUuid(java.lang.String externalUuid)
UUID identifying VM in OpenStack and other external compute.
|
void |
setHostname(java.lang.String hostname)
DNS resolvable name of the server.
|
void |
setIp(ALBIpAddr ip) |
void |
setIsStatic(java.lang.Boolean isStatic)
If statically learned.
|
void |
setLocation(ALBGeoLocation location) |
void |
setMacAddress(java.lang.String macAddress)
MAC address of server.
|
void |
setPort(java.lang.Long port)
Optionally specify the servers port number.
|
void |
setPrstHdrVal(java.lang.String prstHdrVal)
Header value for custom header persistence.
|
void |
setRatio(java.lang.Long ratio)
Ratio of selecting eligible servers in the pool.
|
void |
setResolveServerByDns(java.lang.Boolean resolveServerByDns)
Auto resolve server's IP using DNS name.
|
void |
setRewriteHostHeader(java.lang.Boolean rewriteHostHeader)
Rewrite incoming Host Header to server name.
|
void |
setServerNode(java.lang.String serverNode)
Hostname of the node where the server VM or container resides.
|
void |
setVerifyNetwork(java.lang.Boolean verifyNetwork)
Verify server belongs to a discovered network or reachable via a discovered
network.
|
java.lang.String |
toString() |
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public ALBServer()
protected ALBServer(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getAutoscalingGroupName()
public void setAutoscalingGroupName(java.lang.String autoscalingGroupName)
autoscalingGroupName - 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.String getDescription()
public void setDescription(java.lang.String description)
description - 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 java.lang.String getExternalOrchestrationId()
public void setExternalOrchestrationId(java.lang.String externalOrchestrationId)
externalOrchestrationId - New value for the property.public java.lang.String getExternalUuid()
public void setExternalUuid(java.lang.String externalUuid)
externalUuid - New value for the property.public java.lang.String getHostname()
public void setHostname(java.lang.String hostname)
hostname - New value for the property.public ALBIpAddr getIp()
public void setIp(ALBIpAddr ip)
ip - New value for the property.public java.lang.Boolean getIsStatic()
public void setIsStatic(java.lang.Boolean isStatic)
isStatic - New value for the property.public ALBGeoLocation getLocation()
public void setLocation(ALBGeoLocation location)
location - New value for the property.public java.lang.String getMacAddress()
public void setMacAddress(java.lang.String macAddress)
macAddress - New value for the property.public java.lang.Long getPort()
public void setPort(java.lang.Long port)
port - New value for the property.public java.lang.String getPrstHdrVal()
public void setPrstHdrVal(java.lang.String prstHdrVal)
prstHdrVal - New value for the property.public java.lang.Long getRatio()
public void setRatio(java.lang.Long ratio)
ratio - New value for the property.public java.lang.Boolean getResolveServerByDns()
public void setResolveServerByDns(java.lang.Boolean resolveServerByDns)
resolveServerByDns - New value for the property.public java.lang.Boolean getRewriteHostHeader()
public void setRewriteHostHeader(java.lang.Boolean rewriteHostHeader)
rewriteHostHeader - New value for the property.public java.lang.String getServerNode()
public void setServerNode(java.lang.String serverNode)
serverNode - New value for the property.public java.lang.Boolean getVerifyNetwork()
public void setVerifyNetwork(java.lang.Boolean verifyNetwork)
verifyNetwork - 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 ALBServer _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 ALBServer _newInstance2(com.vmware.vapi.data.StructValue structValue)