public final class ALBDnsRecord
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
| Modifier and Type | Class and Description |
|---|---|
static class |
ALBDnsRecord.Builder
Builder class for
ALBDnsRecord. |
| Modifier and Type | Field and Description |
|---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
ALGORITHM_CONSISTENT_HASH |
static java.lang.String |
ALGORITHM_ROUND_ROBIN |
static java.lang.String |
TYPE_A |
static java.lang.String |
TYPE_AAAA |
static java.lang.String |
TYPE_ANY |
static java.lang.String |
TYPE_AXFR |
static java.lang.String |
TYPE_CNAME |
static java.lang.String |
TYPE_DNSKEY |
static java.lang.String |
TYPE_HINFO |
static java.lang.String |
TYPE_MX |
static java.lang.String |
TYPE_NS |
static java.lang.String |
TYPE_OPT |
static java.lang.String |
TYPE_OTHER |
static java.lang.String |
TYPE_PTR |
static java.lang.String |
TYPE_RP |
static java.lang.String |
TYPE_RRSIG |
static java.lang.String |
TYPE_SOA |
static java.lang.String |
TYPE_SRV |
static java.lang.String |
TYPE_TXT |
| Modifier | Constructor and Description |
|---|---|
|
ALBDnsRecord()
Default constructor.
|
protected |
ALBDnsRecord(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 ALBDnsRecord |
_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 ALBDnsRecord |
_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 |
getAlgorithm()
Possible values are:
ALGORITHM_ROUND_ROBIN
ALGORITHM_CONSISTENT_HASH
Specifies the algorithm to pick the IP address(es) to be returned, when
multiple entries are configured. |
ALBDnsCnameRdata |
getCname() |
java.lang.Boolean |
getDelegated()
Configured FQDNs are delegated domains (i.e.
|
java.lang.String |
getDescription()
Details of DNS record.
|
java.util.List<java.lang.String> |
getFqdn()
Fully Qualified Domain Name.
|
java.util.List<ALBDnsAAAARdata> |
getIp6Address()
IPv6 address in AAAA record.
|
java.util.List<ALBDnsaRdata> |
getIpAddress()
IP address in A record.
|
java.lang.String |
getMetadata()
Internal metadata for the DNS record.
|
java.util.List<ALBDnsMxRdata> |
getMxRecords()
MX record.
|
java.util.List<ALBDnsNsRdata> |
getNs()
Name Server information in NS record.
|
java.lang.Long |
getNumRecordsInResponse()
Specifies the number of records returned by the DNS service.
|
java.util.List<ALBDnsSrvRdata> |
getServiceLocator()
Service locator info in SRV record.
|
java.lang.Long |
getTtl()
Time To Live for this DNS record.
|
java.util.List<ALBDnsTxtRdata> |
getTxtRecords()
Text record.
|
java.lang.String |
getType()
Possible values are:
TYPE_OTHER TYPE_A TYPE_NS TYPE_CNAME TYPE_SOA TYPE_PTR TYPE_HINFO TYPE_MX TYPE_TXT TYPE_RP TYPE_DNSKEY TYPE_AAAA TYPE_SRV TYPE_OPT TYPE_RRSIG TYPE_AXFR TYPE_ANY DNS record
type. |
java.lang.Boolean |
getWildcardMatch()
Enable wild-card match of fqdn if an exact match is not found in the DNS table,
the longest match is chosen by wild-carding the fqdn in the DNS request.
|
int |
hashCode() |
void |
setAlgorithm(java.lang.String algorithm)
Possible values are:
ALGORITHM_ROUND_ROBIN
ALGORITHM_CONSISTENT_HASH
Specifies the algorithm to pick the IP address(es) to be returned, when
multiple entries are configured. |
void |
setCname(ALBDnsCnameRdata cname) |
void |
setDelegated(java.lang.Boolean delegated)
Configured FQDNs are delegated domains (i.e.
|
void |
setDescription(java.lang.String description)
Details of DNS record.
|
void |
setFqdn(java.util.List<java.lang.String> fqdn)
Fully Qualified Domain Name.
|
void |
setIp6Address(java.util.List<ALBDnsAAAARdata> ip6Address)
IPv6 address in AAAA record.
|
void |
setIpAddress(java.util.List<ALBDnsaRdata> ipAddress)
IP address in A record.
|
void |
setMetadata(java.lang.String metadata)
Internal metadata for the DNS record.
|
void |
setMxRecords(java.util.List<ALBDnsMxRdata> mxRecords)
MX record.
|
void |
setNs(java.util.List<ALBDnsNsRdata> ns)
Name Server information in NS record.
|
void |
setNumRecordsInResponse(java.lang.Long numRecordsInResponse)
Specifies the number of records returned by the DNS service.
|
void |
setServiceLocator(java.util.List<ALBDnsSrvRdata> serviceLocator)
Service locator info in SRV record.
|
void |
setTtl(java.lang.Long ttl)
Time To Live for this DNS record.
|
void |
setTxtRecords(java.util.List<ALBDnsTxtRdata> txtRecords)
Text record.
|
void |
setType(java.lang.String type)
Possible values are:
TYPE_OTHER TYPE_A TYPE_NS TYPE_CNAME TYPE_SOA TYPE_PTR TYPE_HINFO TYPE_MX TYPE_TXT TYPE_RP TYPE_DNSKEY TYPE_AAAA TYPE_SRV TYPE_OPT TYPE_RRSIG TYPE_AXFR TYPE_ANY DNS record
type. |
void |
setWildcardMatch(java.lang.Boolean wildcardMatch)
Enable wild-card match of fqdn if an exact match is not found in the DNS table,
the longest match is chosen by wild-carding the fqdn in the DNS request.
|
java.lang.String |
toString() |
public static final java.lang.String ALGORITHM_ROUND_ROBIN
public static final java.lang.String ALGORITHM_CONSISTENT_HASH
public static final java.lang.String TYPE_OTHER
public static final java.lang.String TYPE_A
public static final java.lang.String TYPE_NS
public static final java.lang.String TYPE_CNAME
public static final java.lang.String TYPE_SOA
public static final java.lang.String TYPE_PTR
public static final java.lang.String TYPE_HINFO
public static final java.lang.String TYPE_MX
public static final java.lang.String TYPE_TXT
public static final java.lang.String TYPE_RP
public static final java.lang.String TYPE_DNSKEY
public static final java.lang.String TYPE_AAAA
public static final java.lang.String TYPE_SRV
public static final java.lang.String TYPE_OPT
public static final java.lang.String TYPE_RRSIG
public static final java.lang.String TYPE_AXFR
public static final java.lang.String TYPE_ANY
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public ALBDnsRecord()
protected ALBDnsRecord(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getAlgorithm()
public void setAlgorithm(java.lang.String algorithm)
algorithm - New value for the property.public ALBDnsCnameRdata getCname()
public void setCname(ALBDnsCnameRdata cname)
cname - New value for the property.public java.lang.Boolean getDelegated()
public void setDelegated(java.lang.Boolean delegated)
delegated - 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<java.lang.String> getFqdn()
public void setFqdn(java.util.List<java.lang.String> fqdn)
fqdn - New value for the property.public java.util.List<ALBDnsAAAARdata> getIp6Address()
public void setIp6Address(java.util.List<ALBDnsAAAARdata> ip6Address)
ip6Address - New value for the property.public java.util.List<ALBDnsaRdata> getIpAddress()
public void setIpAddress(java.util.List<ALBDnsaRdata> ipAddress)
ipAddress - New value for the property.public java.lang.String getMetadata()
public void setMetadata(java.lang.String metadata)
metadata - New value for the property.public java.util.List<ALBDnsMxRdata> getMxRecords()
public void setMxRecords(java.util.List<ALBDnsMxRdata> mxRecords)
mxRecords - New value for the property.public java.util.List<ALBDnsNsRdata> getNs()
public void setNs(java.util.List<ALBDnsNsRdata> ns)
ns - New value for the property.public java.lang.Long getNumRecordsInResponse()
public void setNumRecordsInResponse(java.lang.Long numRecordsInResponse)
numRecordsInResponse - New value for the property.public java.util.List<ALBDnsSrvRdata> getServiceLocator()
public void setServiceLocator(java.util.List<ALBDnsSrvRdata> serviceLocator)
serviceLocator - New value for the property.public java.lang.Long getTtl()
public void setTtl(java.lang.Long ttl)
ttl - New value for the property.public java.util.List<ALBDnsTxtRdata> getTxtRecords()
public void setTxtRecords(java.util.List<ALBDnsTxtRdata> txtRecords)
txtRecords - New value for the property.public java.lang.String getType()
public void setType(java.lang.String type)
type - New value for the property.public java.lang.Boolean getWildcardMatch()
public void setWildcardMatch(java.lang.Boolean wildcardMatch)
wildcardMatch - 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 ALBDnsRecord _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 ALBDnsRecord _newInstance2(com.vmware.vapi.data.StructValue structValue)