Package odata.msgraph.client.beta.entity
Class ManagedDeviceEncryptionState
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ManagedDeviceEncryptionState
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedDeviceEncryptionState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Encryption report per device”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedDeviceEncryptionState.Builder
-
Field Summary
Fields Modifier and Type Field Description protected AdvancedBitLockerStateadvancedBitLockerStatesprotected StringdeviceNameprotected DeviceTypesdeviceTypeprotected ComplianceStatusencryptionPolicySettingStateprotected EncryptionReadinessStateencryptionReadinessStateprotected EncryptionStateencryptionStateprotected FileVaultStatefileVaultStatesprotected StringosVersionprotected List<EncryptionReportPolicyDetails>policyDetailsprotected StringpolicyDetailsNextLinkprotected StringtpmSpecificationVersionprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedDeviceEncryptionState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedDeviceEncryptionState.BuilderbuilderManagedDeviceEncryptionState()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<AdvancedBitLockerState>getAdvancedBitLockerStates()“Advanced BitLocker State”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDeviceName()“Device name”Optional<DeviceTypes>getDeviceType()“Platform of the device.”Optional<ComplianceStatus>getEncryptionPolicySettingState()“Encryption policy setting state”Optional<EncryptionReadinessState>getEncryptionReadinessState()“Encryption readiness state”Optional<EncryptionState>getEncryptionState()“Device encryption state”Optional<FileVaultState>getFileVaultStates()“FileVault State”Optional<String>getOsVersion()“Operating system version of the device”com.github.davidmoten.odata.client.CollectionPage<EncryptionReportPolicyDetails>getPolicyDetails()“Policy Details”com.github.davidmoten.odata.client.CollectionPage<EncryptionReportPolicyDetails>getPolicyDetails(com.github.davidmoten.odata.client.HttpRequestOptions options)“Policy Details”Optional<String>getTpmSpecificationVersion()“Device TPM Version”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserPrincipalName()“User name”StringodataTypeName()ManagedDeviceEncryptionStatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedDeviceEncryptionStateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedDeviceEncryptionStatewithAdvancedBitLockerStates(AdvancedBitLockerState advancedBitLockerStates)Returns an immutable copy ofthiswith just theadvancedBitLockerStatesfield changed.ManagedDeviceEncryptionStatewithDeviceName(String deviceName)Returns an immutable copy ofthiswith just thedeviceNamefield changed.ManagedDeviceEncryptionStatewithDeviceType(DeviceTypes deviceType)Returns an immutable copy ofthiswith just thedeviceTypefield changed.ManagedDeviceEncryptionStatewithEncryptionPolicySettingState(ComplianceStatus encryptionPolicySettingState)Returns an immutable copy ofthiswith just theencryptionPolicySettingStatefield changed.ManagedDeviceEncryptionStatewithEncryptionReadinessState(EncryptionReadinessState encryptionReadinessState)Returns an immutable copy ofthiswith just theencryptionReadinessStatefield changed.ManagedDeviceEncryptionStatewithEncryptionState(EncryptionState encryptionState)Returns an immutable copy ofthiswith just theencryptionStatefield changed.ManagedDeviceEncryptionStatewithFileVaultStates(FileVaultState fileVaultStates)Returns an immutable copy ofthiswith just thefileVaultStatesfield changed.ManagedDeviceEncryptionStatewithOsVersion(String osVersion)Returns an immutable copy ofthiswith just theosVersionfield changed.ManagedDeviceEncryptionStatewithPolicyDetails(List<EncryptionReportPolicyDetails> policyDetails)Returns an immutable copy ofthiswith just thepolicyDetailsfield changed.ManagedDeviceEncryptionStatewithTpmSpecificationVersion(String tpmSpecificationVersion)Returns an immutable copy ofthiswith just thetpmSpecificationVersionfield changed.ManagedDeviceEncryptionStatewithUnmappedField(String name, String value)ManagedDeviceEncryptionStatewithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.
-
-
-
Field Detail
-
advancedBitLockerStates
protected AdvancedBitLockerState advancedBitLockerStates
-
deviceName
protected String deviceName
-
deviceType
protected DeviceTypes deviceType
-
encryptionPolicySettingState
protected ComplianceStatus encryptionPolicySettingState
-
encryptionReadinessState
protected EncryptionReadinessState encryptionReadinessState
-
encryptionState
protected EncryptionState encryptionState
-
fileVaultStates
protected FileVaultState fileVaultStates
-
osVersion
protected String osVersion
-
policyDetails
protected List<EncryptionReportPolicyDetails> policyDetails
-
policyDetailsNextLink
protected String policyDetailsNextLink
-
tpmSpecificationVersion
protected String tpmSpecificationVersion
-
userPrincipalName
protected String userPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderManagedDeviceEncryptionState
public static ManagedDeviceEncryptionState.Builder builderManagedDeviceEncryptionState()
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
-
getAdvancedBitLockerStates
public Optional<AdvancedBitLockerState> getAdvancedBitLockerStates()
“Advanced BitLocker State”- Returns:
- property advancedBitLockerStates
-
withAdvancedBitLockerStates
public ManagedDeviceEncryptionState withAdvancedBitLockerStates(AdvancedBitLockerState advancedBitLockerStates)
Returns an immutable copy ofthiswith just theadvancedBitLockerStatesfield 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.“Advanced BitLocker State”
- Parameters:
advancedBitLockerStates- new value ofadvancedBitLockerStatesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theadvancedBitLockerStatesfield changed
-
withDeviceName
public ManagedDeviceEncryptionState withDeviceName(String deviceName)
Returns an immutable copy ofthiswith just thedeviceNamefield 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.“Device name”
- Parameters:
deviceName- new value ofdeviceNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceNamefield changed
-
getDeviceType
public Optional<DeviceTypes> getDeviceType()
“Platform of the device.”- Returns:
- property deviceType
-
withDeviceType
public ManagedDeviceEncryptionState withDeviceType(DeviceTypes deviceType)
Returns an immutable copy ofthiswith just thedeviceTypefield 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.“Platform of the device.”
- Parameters:
deviceType- new value ofdeviceTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceTypefield changed
-
getEncryptionPolicySettingState
public Optional<ComplianceStatus> getEncryptionPolicySettingState()
“Encryption policy setting state”- Returns:
- property encryptionPolicySettingState
-
withEncryptionPolicySettingState
public ManagedDeviceEncryptionState withEncryptionPolicySettingState(ComplianceStatus encryptionPolicySettingState)
Returns an immutable copy ofthiswith just theencryptionPolicySettingStatefield 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.“Encryption policy setting state”
- Parameters:
encryptionPolicySettingState- new value ofencryptionPolicySettingStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theencryptionPolicySettingStatefield changed
-
getEncryptionReadinessState
public Optional<EncryptionReadinessState> getEncryptionReadinessState()
“Encryption readiness state”- Returns:
- property encryptionReadinessState
-
withEncryptionReadinessState
public ManagedDeviceEncryptionState withEncryptionReadinessState(EncryptionReadinessState encryptionReadinessState)
Returns an immutable copy ofthiswith just theencryptionReadinessStatefield 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.“Encryption readiness state”
- Parameters:
encryptionReadinessState- new value ofencryptionReadinessStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theencryptionReadinessStatefield changed
-
getEncryptionState
public Optional<EncryptionState> getEncryptionState()
“Device encryption state”- Returns:
- property encryptionState
-
withEncryptionState
public ManagedDeviceEncryptionState withEncryptionState(EncryptionState encryptionState)
Returns an immutable copy ofthiswith just theencryptionStatefield 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.“Device encryption state”
- Parameters:
encryptionState- new value ofencryptionStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theencryptionStatefield changed
-
getFileVaultStates
public Optional<FileVaultState> getFileVaultStates()
“FileVault State”- Returns:
- property fileVaultStates
-
withFileVaultStates
public ManagedDeviceEncryptionState withFileVaultStates(FileVaultState fileVaultStates)
Returns an immutable copy ofthiswith just thefileVaultStatesfield 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.“FileVault State”
- Parameters:
fileVaultStates- new value offileVaultStatesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileVaultStatesfield changed
-
getOsVersion
public Optional<String> getOsVersion()
“Operating system version of the device”- Returns:
- property osVersion
-
withOsVersion
public ManagedDeviceEncryptionState withOsVersion(String osVersion)
Returns an immutable copy ofthiswith just theosVersionfield 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.“Operating system version of the device”
- Parameters:
osVersion- new value ofosVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosVersionfield changed
-
getPolicyDetails
public com.github.davidmoten.odata.client.CollectionPage<EncryptionReportPolicyDetails> getPolicyDetails()
“Policy Details”- Returns:
- property policyDetails
-
withPolicyDetails
public ManagedDeviceEncryptionState withPolicyDetails(List<EncryptionReportPolicyDetails> policyDetails)
Returns an immutable copy ofthiswith just thepolicyDetailsfield 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.“Policy Details”
- Parameters:
policyDetails- new value ofpolicyDetailsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepolicyDetailsfield changed
-
getPolicyDetails
public com.github.davidmoten.odata.client.CollectionPage<EncryptionReportPolicyDetails> getPolicyDetails(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Policy Details”- Parameters:
options- specify connect and read timeouts- Returns:
- property policyDetails
-
getTpmSpecificationVersion
public Optional<String> getTpmSpecificationVersion()
“Device TPM Version”- Returns:
- property tpmSpecificationVersion
-
withTpmSpecificationVersion
public ManagedDeviceEncryptionState withTpmSpecificationVersion(String tpmSpecificationVersion)
Returns an immutable copy ofthiswith just thetpmSpecificationVersionfield 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.“Device TPM Version”
- Parameters:
tpmSpecificationVersion- new value oftpmSpecificationVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetpmSpecificationVersionfield changed
-
getUserPrincipalName
public Optional<String> getUserPrincipalName()
“User name”- Returns:
- property userPrincipalName
-
withUserPrincipalName
public ManagedDeviceEncryptionState withUserPrincipalName(String userPrincipalName)
Returns an immutable copy ofthiswith just theuserPrincipalNamefield 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.“User name”
- Parameters:
userPrincipalName- new value ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
withUnmappedField
public ManagedDeviceEncryptionState 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 ManagedDeviceEncryptionState patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagedDeviceEncryptionState put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-