Package odata.msgraph.client.beta.entity
Class Windows10XVpnConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementResourceAccessProfileBase
-
- odata.msgraph.client.beta.entity.Windows10XVpnConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Windows10XVpnConfiguration extends DeviceManagementResourceAccessProfileBase implements com.github.davidmoten.odata.client.ODataEntityType
“Windows X VPN configuration profile”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindows10XVpnConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUIDauthenticationCertificateIdprotected byte[]customXmlprotected StringcustomXmlFileName-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceManagementResourceAccessProfileBase
creationDateTime, description, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindows10XVpnConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows10XVpnConfiguration.BuilderbuilderWindows10XVpnConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<UUID>getAuthenticationCertificateId()“ID to the Authentication Certificate”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<byte[]>getCustomXml()“Custom XML commands that configures the VPN connection.Optional<String>getCustomXmlFileName()“Custom Xml file name.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Windows10XVpnConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Windows10XVpnConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()Windows10XVpnConfigurationwithAuthenticationCertificateId(UUID authenticationCertificateId)Returns an immutable copy ofthiswith just theauthenticationCertificateIdfield changed.Windows10XVpnConfigurationwithCustomXml(byte[] customXml)Returns an immutable copy ofthiswith just thecustomXmlfield changed.Windows10XVpnConfigurationwithCustomXmlFileName(String customXmlFileName)Returns an immutable copy ofthiswith just thecustomXmlFileNamefield changed.Windows10XVpnConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceManagementResourceAccessProfileBase
assign, getAssignments, getCreationDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getRoleScopeTagIds, getRoleScopeTagIds, getVersion, withCreationDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withVersion
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceManagementResourceAccessProfileBase
-
builderWindows10XVpnConfiguration
public static Windows10XVpnConfiguration.Builder builderWindows10XVpnConfiguration()
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 classDeviceManagementResourceAccessProfileBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementResourceAccessProfileBase
-
getAuthenticationCertificateId
public Optional<UUID> getAuthenticationCertificateId()
“ID to the Authentication Certificate”- Returns:
- property authenticationCertificateId
-
withAuthenticationCertificateId
public Windows10XVpnConfiguration withAuthenticationCertificateId(UUID authenticationCertificateId)
Returns an immutable copy ofthiswith just theauthenticationCertificateIdfield 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.“ID to the Authentication Certificate”
- Parameters:
authenticationCertificateId- new value ofauthenticationCertificateIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theauthenticationCertificateIdfield changed
-
getCustomXml
public Optional<byte[]> getCustomXml()
“Custom XML commands that configures the VPN connection. (UTF8 byte encoding)”- Returns:
- property customXml
-
withCustomXml
public Windows10XVpnConfiguration withCustomXml(byte[] customXml)
Returns an immutable copy ofthiswith just thecustomXmlfield 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.“Custom XML commands that configures the VPN connection. (UTF8 byte encoding)”
- Parameters:
customXml- new value ofcustomXmlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomXmlfield changed
-
getCustomXmlFileName
public Optional<String> getCustomXmlFileName()
“Custom Xml file name.”- Returns:
- property customXmlFileName
-
withCustomXmlFileName
public Windows10XVpnConfiguration withCustomXmlFileName(String customXmlFileName)
Returns an immutable copy ofthiswith just thecustomXmlFileNamefield 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.“Custom Xml file name.”
- Parameters:
customXmlFileName- new value ofcustomXmlFileNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomXmlFileNamefield changed
-
withUnmappedField
public Windows10XVpnConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementResourceAccessProfileBase
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementResourceAccessProfileBase
-
patch
public Windows10XVpnConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceManagementResourceAccessProfileBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Windows10XVpnConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceManagementResourceAccessProfileBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classDeviceManagementResourceAccessProfileBase
-
-