Class VpnOnDemandRule
- java.lang.Object
-
- odata.msgraph.client.beta.complex.VpnOnDemandRule
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class VpnOnDemandRule extends Object implements com.github.davidmoten.odata.client.ODataType
“VPN On-Demand Rule definition.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVpnOnDemandRule.Builder
-
Field Summary
Fields Modifier and Type Field Description protected VpnOnDemandRuleConnectionActionactionprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected List<String>dnsSearchDomainsprotected StringdnsSearchDomainsNextLinkprotected VpnOnDemandRuleConnectionDomainActiondomainActionprotected List<String>domainsprotected StringdomainsNextLinkprotected StringodataTypeprotected StringprobeRequiredUrlprotected StringprobeUrlprotected List<String>ssidsprotected StringssidsNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedVpnOnDemandRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VpnOnDemandRule.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<VpnOnDemandRuleConnectionAction>getAction()“Action.”com.github.davidmoten.odata.client.CollectionPage<String>getDnsSearchDomains()“DNS Search Domains.”com.github.davidmoten.odata.client.CollectionPage<String>getDnsSearchDomains(com.github.davidmoten.odata.client.HttpRequestOptions options)“DNS Search Domains.”Optional<VpnOnDemandRuleConnectionDomainAction>getDomainAction()“Domain Action (Only applicable when Action is evaluate connection).”com.github.davidmoten.odata.client.CollectionPage<String>getDomains()“Domains (Only applicable when Action is evaluate connection).”com.github.davidmoten.odata.client.CollectionPage<String>getDomains(com.github.davidmoten.odata.client.HttpRequestOptions options)“Domains (Only applicable when Action is evaluate connection).”Optional<String>getProbeRequiredUrl()“Probe Required Url (Only applicable when Action is evaluate connection and DomainAction is connect if needed).”Optional<String>getProbeUrl()“A URL to probe.com.github.davidmoten.odata.client.CollectionPage<String>getSsids()“Network Service Set Identifiers (SSIDs).”com.github.davidmoten.odata.client.CollectionPage<String>getSsids(com.github.davidmoten.odata.client.HttpRequestOptions options)“Network Service Set Identifiers (SSIDs).”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()VpnOnDemandRulewithAction(VpnOnDemandRuleConnectionAction action)Returns an immutable copy ofthiswith just theactionfield changed.VpnOnDemandRulewithDomainAction(VpnOnDemandRuleConnectionDomainAction domainAction)Returns an immutable copy ofthiswith just thedomainActionfield changed.VpnOnDemandRulewithProbeRequiredUrl(String probeRequiredUrl)Returns an immutable copy ofthiswith just theprobeRequiredUrlfield changed.VpnOnDemandRulewithProbeUrl(String probeUrl)Returns an immutable copy ofthiswith just theprobeUrlfield changed.VpnOnDemandRulewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
action
protected VpnOnDemandRuleConnectionAction action
-
dnsSearchDomainsNextLink
protected String dnsSearchDomainsNextLink
-
domainAction
protected VpnOnDemandRuleConnectionDomainAction domainAction
-
domainsNextLink
protected String domainsNextLink
-
probeRequiredUrl
protected String probeRequiredUrl
-
probeUrl
protected String probeUrl
-
ssidsNextLink
protected String ssidsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAction
public Optional<VpnOnDemandRuleConnectionAction> getAction()
“Action.”- Returns:
- property action
-
withAction
public VpnOnDemandRule withAction(VpnOnDemandRuleConnectionAction action)
Returns an immutable copy ofthiswith just theactionfield 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.“Action.”
- Parameters:
action- new value ofactionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactionfield changed
-
getDnsSearchDomains
public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSearchDomains()
“DNS Search Domains.”- Returns:
- property dnsSearchDomains
-
getDnsSearchDomains
public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSearchDomains(com.github.davidmoten.odata.client.HttpRequestOptions options)
“DNS Search Domains.”- Parameters:
options- specify connect and read timeouts- Returns:
- property dnsSearchDomains
-
getDomainAction
public Optional<VpnOnDemandRuleConnectionDomainAction> getDomainAction()
“Domain Action (Only applicable when Action is evaluate connection).”- Returns:
- property domainAction
-
withDomainAction
public VpnOnDemandRule withDomainAction(VpnOnDemandRuleConnectionDomainAction domainAction)
Returns an immutable copy ofthiswith just thedomainActionfield 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.“Domain Action (Only applicable when Action is evaluate connection).”
- Parameters:
domainAction- new value ofdomainActionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedomainActionfield changed
-
getDomains
public com.github.davidmoten.odata.client.CollectionPage<String> getDomains()
“Domains (Only applicable when Action is evaluate connection).”- Returns:
- property domains
-
getDomains
public com.github.davidmoten.odata.client.CollectionPage<String> getDomains(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Domains (Only applicable when Action is evaluate connection).”- Parameters:
options- specify connect and read timeouts- Returns:
- property domains
-
getProbeRequiredUrl
public Optional<String> getProbeRequiredUrl()
“Probe Required Url (Only applicable when Action is evaluate connection and DomainAction is connect if needed).”- Returns:
- property probeRequiredUrl
-
withProbeRequiredUrl
public VpnOnDemandRule withProbeRequiredUrl(String probeRequiredUrl)
Returns an immutable copy ofthiswith just theprobeRequiredUrlfield 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.“Probe Required Url (Only applicable when Action is evaluate connection and DomainAction is connect if needed).”
- Parameters:
probeRequiredUrl- new value ofprobeRequiredUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprobeRequiredUrlfield changed
-
getProbeUrl
public Optional<String> getProbeUrl()
“A URL to probe. If this URL is successfully fetched (returning a 200 HTTP status code) without redirection, this rule matches.”- Returns:
- property probeUrl
-
withProbeUrl
public VpnOnDemandRule withProbeUrl(String probeUrl)
Returns an immutable copy ofthiswith just theprobeUrlfield 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.“A URL to probe. If this URL is successfully fetched (returning a 200 HTTP status code) without redirection, this rule matches.”
- Parameters:
probeUrl- new value ofprobeUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprobeUrlfield changed
-
getSsids
public com.github.davidmoten.odata.client.CollectionPage<String> getSsids()
“Network Service Set Identifiers (SSIDs).”- Returns:
- property ssids
-
getSsids
public com.github.davidmoten.odata.client.CollectionPage<String> getSsids(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Network Service Set Identifiers (SSIDs).”- Parameters:
options- specify connect and read timeouts- Returns:
- property ssids
-
withUnmappedField
public VpnOnDemandRule withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static VpnOnDemandRule.Builder builder()
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
-
-