Class MicrosoftTunnelConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.MicrosoftTunnelConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MicrosoftTunnelConfiguration extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity that represents a collection of Microsoft Tunnel settings”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMicrosoftTunnelConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<KeyValuePair>advancedSettingsprotected StringadvancedSettingsNextLinkprotected StringdefaultDomainSuffixprotected Stringdescriptionprotected BooleandisableUDPConnectionsprotected StringdisplayNameprotected List<String>dnsServersprotected StringdnsServersNextLinkprotected OffsetDateTimelastUpdateDateTimeprotected IntegerlistenPortprotected Stringnetworkprotected List<String>roleScopeTagIdsprotected StringroleScopeTagIdsNextLinkprotected List<String>routesExcludeprotected StringroutesExcludeNextLinkprotected List<String>routesIncludeprotected StringroutesIncludeNextLinkprotected List<String>splitDNSprotected StringsplitDNSNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMicrosoftTunnelConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MicrosoftTunnelConfiguration.BuilderbuilderMicrosoftTunnelConfiguration()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.CollectionPage<KeyValuePair>getAdvancedSettings()“Additional settings that may be applied to the server”com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getAdvancedSettings(com.github.davidmoten.odata.client.HttpRequestOptions options)“Additional settings that may be applied to the server”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDefaultDomainSuffix()“The Default Domain appendix that will be used by the clients”Optional<String>getDescription()“The MicrosoftTunnelConfiguration's description”Optional<Boolean>getDisableUDPConnections()“When DisableUDPConnections is set, the clients and VPN server will not use DTLS connctions to tansfer data.”Optional<String>getDisplayName()“The MicrosoftTunnelConfiguration's display name”com.github.davidmoten.odata.client.CollectionPage<String>getDnsServers()“The DNS servers that will be used by the clients”com.github.davidmoten.odata.client.CollectionPage<String>getDnsServers(com.github.davidmoten.odata.client.HttpRequestOptions options)“The DNS servers that will be used by the clients”Optional<OffsetDateTime>getLastUpdateDateTime()“When the MicrosoftTunnelConfiguration was last updated”Optional<Integer>getListenPort()“The port that both TCP and UPD will listen over on the server”Optional<String>getNetwork()“The subnet that will be used to allocate virtual address for the clients”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds()“List of Scope Tags for this Entity instance.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of Scope Tags for this Entity instance.”com.github.davidmoten.odata.client.CollectionPage<String>getRoutesExclude()“Subsets of the routes that will not be routed by the server”com.github.davidmoten.odata.client.CollectionPage<String>getRoutesExclude(com.github.davidmoten.odata.client.HttpRequestOptions options)“Subsets of the routes that will not be routed by the server”com.github.davidmoten.odata.client.CollectionPage<String>getRoutesInclude()“The routs that will be routed by the server”com.github.davidmoten.odata.client.CollectionPage<String>getRoutesInclude(com.github.davidmoten.odata.client.HttpRequestOptions options)“The routs that will be routed by the server”com.github.davidmoten.odata.client.CollectionPage<String>getSplitDNS()“The domains that will be resolved using the provided dns servers”com.github.davidmoten.odata.client.CollectionPage<String>getSplitDNS(com.github.davidmoten.odata.client.HttpRequestOptions options)“The domains that will be resolved using the provided dns servers”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()MicrosoftTunnelConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MicrosoftTunnelConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MicrosoftTunnelConfigurationwithAdvancedSettings(List<KeyValuePair> advancedSettings)Returns an immutable copy ofthiswith just theadvancedSettingsfield changed.MicrosoftTunnelConfigurationwithDefaultDomainSuffix(String defaultDomainSuffix)Returns an immutable copy ofthiswith just thedefaultDomainSuffixfield changed.MicrosoftTunnelConfigurationwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.MicrosoftTunnelConfigurationwithDisableUDPConnections(Boolean disableUDPConnections)Returns an immutable copy ofthiswith just thedisableUDPConnectionsfield changed.MicrosoftTunnelConfigurationwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.MicrosoftTunnelConfigurationwithDnsServers(List<String> dnsServers)Returns an immutable copy ofthiswith just thednsServersfield changed.MicrosoftTunnelConfigurationwithLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)Returns an immutable copy ofthiswith just thelastUpdateDateTimefield changed.MicrosoftTunnelConfigurationwithListenPort(Integer listenPort)Returns an immutable copy ofthiswith just thelistenPortfield changed.MicrosoftTunnelConfigurationwithNetwork(String network)Returns an immutable copy ofthiswith just thenetworkfield changed.MicrosoftTunnelConfigurationwithRoleScopeTagIds(List<String> roleScopeTagIds)Returns an immutable copy ofthiswith just theroleScopeTagIdsfield changed.MicrosoftTunnelConfigurationwithRoutesExclude(List<String> routesExclude)Returns an immutable copy ofthiswith just theroutesExcludefield changed.MicrosoftTunnelConfigurationwithRoutesInclude(List<String> routesInclude)Returns an immutable copy ofthiswith just theroutesIncludefield changed.MicrosoftTunnelConfigurationwithSplitDNS(List<String> splitDNS)Returns an immutable copy ofthiswith just thesplitDNSfield changed.MicrosoftTunnelConfigurationwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
advancedSettings
protected List<KeyValuePair> advancedSettings
-
advancedSettingsNextLink
protected String advancedSettingsNextLink
-
defaultDomainSuffix
protected String defaultDomainSuffix
-
description
protected String description
-
disableUDPConnections
protected Boolean disableUDPConnections
-
displayName
protected String displayName
-
dnsServersNextLink
protected String dnsServersNextLink
-
lastUpdateDateTime
protected OffsetDateTime lastUpdateDateTime
-
listenPort
protected Integer listenPort
-
network
protected String network
-
roleScopeTagIdsNextLink
protected String roleScopeTagIdsNextLink
-
routesExcludeNextLink
protected String routesExcludeNextLink
-
routesIncludeNextLink
protected String routesIncludeNextLink
-
splitDNSNextLink
protected String splitDNSNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderMicrosoftTunnelConfiguration
public static MicrosoftTunnelConfiguration.Builder builderMicrosoftTunnelConfiguration()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getAdvancedSettings
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getAdvancedSettings()
“Additional settings that may be applied to the server”- Returns:
- property advancedSettings
-
withAdvancedSettings
public MicrosoftTunnelConfiguration withAdvancedSettings(List<KeyValuePair> advancedSettings)
Returns an immutable copy ofthiswith just theadvancedSettingsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Additional settings that may be applied to the server”
- Parameters:
advancedSettings- new value ofadvancedSettingsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theadvancedSettingsfield changed
-
getAdvancedSettings
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getAdvancedSettings(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Additional settings that may be applied to the server”- Parameters:
options- specify connect and read timeouts- Returns:
- property advancedSettings
-
getDefaultDomainSuffix
public Optional<String> getDefaultDomainSuffix()
“The Default Domain appendix that will be used by the clients”- Returns:
- property defaultDomainSuffix
-
withDefaultDomainSuffix
public MicrosoftTunnelConfiguration withDefaultDomainSuffix(String defaultDomainSuffix)
Returns an immutable copy ofthiswith just thedefaultDomainSuffixfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The Default Domain appendix that will be used by the clients”
- Parameters:
defaultDomainSuffix- new value ofdefaultDomainSuffixfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultDomainSuffixfield changed
-
getDescription
public Optional<String> getDescription()
“The MicrosoftTunnelConfiguration's description”- Returns:
- property description
-
withDescription
public MicrosoftTunnelConfiguration withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The MicrosoftTunnelConfiguration's description”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisableUDPConnections
public Optional<Boolean> getDisableUDPConnections()
“When DisableUDPConnections is set, the clients and VPN server will not use DTLS connctions to tansfer data.”- Returns:
- property disableUDPConnections
-
withDisableUDPConnections
public MicrosoftTunnelConfiguration withDisableUDPConnections(Boolean disableUDPConnections)
Returns an immutable copy ofthiswith just thedisableUDPConnectionsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“When DisableUDPConnections is set, the clients and VPN server will not use DTLS connctions to tansfer data.”
- Parameters:
disableUDPConnections- new value ofdisableUDPConnectionsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisableUDPConnectionsfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The MicrosoftTunnelConfiguration's display name”- Returns:
- property displayName
-
withDisplayName
public MicrosoftTunnelConfiguration withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The MicrosoftTunnelConfiguration's display name”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getDnsServers
public com.github.davidmoten.odata.client.CollectionPage<String> getDnsServers()
“The DNS servers that will be used by the clients”- Returns:
- property dnsServers
-
withDnsServers
public MicrosoftTunnelConfiguration withDnsServers(List<String> dnsServers)
Returns an immutable copy ofthiswith just thednsServersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The DNS servers that will be used by the clients”
- Parameters:
dnsServers- new value ofdnsServersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thednsServersfield changed
-
getDnsServers
public com.github.davidmoten.odata.client.CollectionPage<String> getDnsServers(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The DNS servers that will be used by the clients”- Parameters:
options- specify connect and read timeouts- Returns:
- property dnsServers
-
getLastUpdateDateTime
public Optional<OffsetDateTime> getLastUpdateDateTime()
“When the MicrosoftTunnelConfiguration was last updated”- Returns:
- property lastUpdateDateTime
-
withLastUpdateDateTime
public MicrosoftTunnelConfiguration withLastUpdateDateTime(OffsetDateTime lastUpdateDateTime)
Returns an immutable copy ofthiswith just thelastUpdateDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“When the MicrosoftTunnelConfiguration was last updated”
- Parameters:
lastUpdateDateTime- new value oflastUpdateDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastUpdateDateTimefield changed
-
getListenPort
public Optional<Integer> getListenPort()
“The port that both TCP and UPD will listen over on the server”- Returns:
- property listenPort
-
withListenPort
public MicrosoftTunnelConfiguration withListenPort(Integer listenPort)
Returns an immutable copy ofthiswith just thelistenPortfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The port that both TCP and UPD will listen over on the server”
- Parameters:
listenPort- new value oflistenPortfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelistenPortfield changed
-
getNetwork
public Optional<String> getNetwork()
“The subnet that will be used to allocate virtual address for the clients”- Returns:
- property network
-
withNetwork
public MicrosoftTunnelConfiguration withNetwork(String network)
Returns an immutable copy ofthiswith just thenetworkfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The subnet that will be used to allocate virtual address for the clients”
- Parameters:
network- new value ofnetworkfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenetworkfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
“List of Scope Tags for this Entity instance.”- Returns:
- property roleScopeTagIds
-
withRoleScopeTagIds
public MicrosoftTunnelConfiguration withRoleScopeTagIds(List<String> roleScopeTagIds)
Returns an immutable copy ofthiswith just theroleScopeTagIdsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“List of Scope Tags for this Entity instance.”
- Parameters:
roleScopeTagIds- new value ofroleScopeTagIdsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroleScopeTagIdsfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of Scope Tags for this Entity instance.”- Parameters:
options- specify connect and read timeouts- Returns:
- property roleScopeTagIds
-
getRoutesExclude
public com.github.davidmoten.odata.client.CollectionPage<String> getRoutesExclude()
“Subsets of the routes that will not be routed by the server”- Returns:
- property routesExclude
-
withRoutesExclude
public MicrosoftTunnelConfiguration withRoutesExclude(List<String> routesExclude)
Returns an immutable copy ofthiswith just theroutesExcludefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Subsets of the routes that will not be routed by the server”
- Parameters:
routesExclude- new value ofroutesExcludefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroutesExcludefield changed
-
getRoutesExclude
public com.github.davidmoten.odata.client.CollectionPage<String> getRoutesExclude(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Subsets of the routes that will not be routed by the server”- Parameters:
options- specify connect and read timeouts- Returns:
- property routesExclude
-
getRoutesInclude
public com.github.davidmoten.odata.client.CollectionPage<String> getRoutesInclude()
“The routs that will be routed by the server”- Returns:
- property routesInclude
-
withRoutesInclude
public MicrosoftTunnelConfiguration withRoutesInclude(List<String> routesInclude)
Returns an immutable copy ofthiswith just theroutesIncludefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The routs that will be routed by the server”
- Parameters:
routesInclude- new value ofroutesIncludefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroutesIncludefield changed
-
getRoutesInclude
public com.github.davidmoten.odata.client.CollectionPage<String> getRoutesInclude(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The routs that will be routed by the server”- Parameters:
options- specify connect and read timeouts- Returns:
- property routesInclude
-
getSplitDNS
public com.github.davidmoten.odata.client.CollectionPage<String> getSplitDNS()
“The domains that will be resolved using the provided dns servers”- Returns:
- property splitDNS
-
withSplitDNS
public MicrosoftTunnelConfiguration withSplitDNS(List<String> splitDNS)
Returns an immutable copy ofthiswith just thesplitDNSfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The domains that will be resolved using the provided dns servers”
- Parameters:
splitDNS- new value ofsplitDNSfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesplitDNSfield changed
-
getSplitDNS
public com.github.davidmoten.odata.client.CollectionPage<String> getSplitDNS(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The domains that will be resolved using the provided dns servers”- Parameters:
options- specify connect and read timeouts- Returns:
- property splitDNS
-
withUnmappedField
public MicrosoftTunnelConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public MicrosoftTunnelConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public MicrosoftTunnelConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-