public class NetworkIPv4ConfigurationManagementCondition extends NetworkManagementCondition implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
NetworkIPv4ConfigurationManagementCondition.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
dnsSuffixList |
protected String |
dnsSuffixListNextLink |
protected String |
ipV4DHCPServer |
protected List<String> |
ipV4DNSServerList |
protected String |
ipV4DNSServerListNextLink |
protected String |
ipV4Gateway |
protected String |
ipV4Prefix |
applicablePlatforms, applicablePlatformsNextLink, createdDateTime, description, displayName, eTag, modifiedDateTime, uniqueNamechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
NetworkIPv4ConfigurationManagementCondition() |
| Modifier and Type | Method and Description |
|---|---|
static NetworkIPv4ConfigurationManagementCondition.Builder |
builderNetworkIPv4ConfigurationManagementCondition()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getDnsSuffixList()
“Valid DNS suffixes for the current network.
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getDnsSuffixList(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Valid DNS suffixes for the current network.
|
Optional<String> |
getIpV4DHCPServer()
“The IPv4 address of the DHCP server for the adapter.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getIpV4DNSServerList()
“The IPv4 DNS servers configured for the adapter.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getIpV4DNSServerList(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The IPv4 DNS servers configured for the adapter.”
|
Optional<String> |
getIpV4Gateway()
“The IPv4 gateway address.
|
Optional<String> |
getIpV4Prefix()
“The IPv4 subnet to be connected to.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
NetworkIPv4ConfigurationManagementCondition |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
NetworkIPv4ConfigurationManagementCondition |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
NetworkIPv4ConfigurationManagementCondition |
withIpV4DHCPServer(String ipV4DHCPServer)
Returns an immutable copy of
this with just the ipV4DHCPServer
field changed. |
NetworkIPv4ConfigurationManagementCondition |
withIpV4Gateway(String ipV4Gateway)
Returns an immutable copy of
this with just the ipV4Gateway
field changed. |
NetworkIPv4ConfigurationManagementCondition |
withIpV4Prefix(String ipV4Prefix)
Returns an immutable copy of
this with just the ipV4Prefix field
changed. |
getApplicablePlatforms, getApplicablePlatforms, getCreatedDateTime, getDescription, getDisplayName, getETag, getManagementConditionStatements, getModifiedDateTime, getUniqueName, withCreatedDateTime, withDescription, withDisplayName, withETag, withModifiedDateTime, withUniqueNameprotected String ipV4Prefix
protected String ipV4Gateway
protected String ipV4DHCPServer
protected String ipV4DNSServerListNextLink
protected String dnsSuffixListNextLink
protected NetworkIPv4ConfigurationManagementCondition()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class NetworkManagementConditionpublic static NetworkIPv4ConfigurationManagementCondition.Builder builderNetworkIPv4ConfigurationManagementCondition()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class NetworkManagementConditionpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class NetworkManagementConditionpublic Optional<String> getIpV4Prefix()
public NetworkIPv4ConfigurationManagementCondition withIpV4Prefix(String ipV4Prefix)
this with just the ipV4Prefix field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The IPv4 subnet to be connected to. e.g. 10.0.0.0/8”
ipV4Prefix - new value of ipV4Prefix field (as defined in service metadata)this with just the ipV4Prefix field changedpublic Optional<String> getIpV4Gateway()
public NetworkIPv4ConfigurationManagementCondition withIpV4Gateway(String ipV4Gateway)
this with just the ipV4Gateway
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The IPv4 gateway address. e.g. 10.0.0.0”
ipV4Gateway - new value of ipV4Gateway field (as defined in service metadata)this with just the ipV4Gateway field changedpublic Optional<String> getIpV4DHCPServer()
public NetworkIPv4ConfigurationManagementCondition withIpV4DHCPServer(String ipV4DHCPServer)
this with just the ipV4DHCPServer
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The IPv4 address of the DHCP server for the adapter.”
ipV4DHCPServer - new value of ipV4DHCPServer field (as defined in service metadata)this with just the ipV4DHCPServer field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getIpV4DNSServerList()
public com.github.davidmoten.odata.client.CollectionPage<String> getIpV4DNSServerList(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSuffixList()
public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSuffixList(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class NetworkManagementConditionpublic NetworkIPv4ConfigurationManagementCondition patch()
this with changed fields reset.patch in class NetworkManagementConditionthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic NetworkIPv4ConfigurationManagementCondition put()
this
with changed fields reset (they were ignored anyway).put in class NetworkManagementConditionthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class NetworkManagementConditionCopyright © 2018–2020. All rights reserved.