Class BitLockerRecoveryOptions
- java.lang.Object
-
- odata.msgraph.client.beta.complex.BitLockerRecoveryOptions
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class BitLockerRecoveryOptions extends Object implements com.github.davidmoten.odata.client.ODataType
“BitLocker Recovery Options.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBitLockerRecoveryOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanblockDataRecoveryAgentprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected BooleanenableBitLockerAfterRecoveryInformationToStoreprotected BooleanenableRecoveryInformationSaveToStoreprotected BooleanhideRecoveryOptionsprotected StringodataTypeprotected BitLockerRecoveryInformationTyperecoveryInformationToStoreprotected ConfigurationUsagerecoveryKeyUsageprotected ConfigurationUsagerecoveryPasswordUsageprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedBitLockerRecoveryOptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BitLockerRecoveryOptions.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getBlockDataRecoveryAgent()“Indicates whether to block certificate-based data recovery agent.”Optional<Boolean>getEnableBitLockerAfterRecoveryInformationToStore()“Indicates whether or not to enable BitLocker until recovery information is stored in AD DS.”Optional<Boolean>getEnableRecoveryInformationSaveToStore()“Indicates whether or not to allow BitLocker recovery information to store in AD DS.”Optional<Boolean>getHideRecoveryOptions()“Indicates whether or not to allow showing recovery options in BitLocker Setup Wizard for fixed or system disk.”Optional<BitLockerRecoveryInformationType>getRecoveryInformationToStore()“Configure what pieces of BitLocker recovery information are stored to AD DS.”Optional<ConfigurationUsage>getRecoveryKeyUsage()“Indicates whether users are allowed or required to generate a 256-bit recovery key for fixed or system disk.”Optional<ConfigurationUsage>getRecoveryPasswordUsage()“Indicates whether users are allowed or required to generate a 48-digit recovery password for fixed or system disk.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()BitLockerRecoveryOptionswithBlockDataRecoveryAgent(Boolean blockDataRecoveryAgent)Returns an immutable copy ofthiswith just theblockDataRecoveryAgentfield changed.BitLockerRecoveryOptionswithEnableBitLockerAfterRecoveryInformationToStore(Boolean enableBitLockerAfterRecoveryInformationToStore)Returns an immutable copy ofthiswith just theenableBitLockerAfterRecoveryInformationToStorefield changed.BitLockerRecoveryOptionswithEnableRecoveryInformationSaveToStore(Boolean enableRecoveryInformationSaveToStore)Returns an immutable copy ofthiswith just theenableRecoveryInformationSaveToStorefield changed.BitLockerRecoveryOptionswithHideRecoveryOptions(Boolean hideRecoveryOptions)Returns an immutable copy ofthiswith just thehideRecoveryOptionsfield changed.BitLockerRecoveryOptionswithRecoveryInformationToStore(BitLockerRecoveryInformationType recoveryInformationToStore)Returns an immutable copy ofthiswith just therecoveryInformationToStorefield changed.BitLockerRecoveryOptionswithRecoveryKeyUsage(ConfigurationUsage recoveryKeyUsage)Returns an immutable copy ofthiswith just therecoveryKeyUsagefield changed.BitLockerRecoveryOptionswithRecoveryPasswordUsage(ConfigurationUsage recoveryPasswordUsage)Returns an immutable copy ofthiswith just therecoveryPasswordUsagefield changed.BitLockerRecoveryOptionswithUnmappedField(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
-
blockDataRecoveryAgent
protected Boolean blockDataRecoveryAgent
-
enableBitLockerAfterRecoveryInformationToStore
protected Boolean enableBitLockerAfterRecoveryInformationToStore
-
enableRecoveryInformationSaveToStore
protected Boolean enableRecoveryInformationSaveToStore
-
hideRecoveryOptions
protected Boolean hideRecoveryOptions
-
recoveryInformationToStore
protected BitLockerRecoveryInformationType recoveryInformationToStore
-
recoveryKeyUsage
protected ConfigurationUsage recoveryKeyUsage
-
recoveryPasswordUsage
protected ConfigurationUsage recoveryPasswordUsage
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getBlockDataRecoveryAgent
public Optional<Boolean> getBlockDataRecoveryAgent()
“Indicates whether to block certificate-based data recovery agent.”- Returns:
- property blockDataRecoveryAgent
-
withBlockDataRecoveryAgent
public BitLockerRecoveryOptions withBlockDataRecoveryAgent(Boolean blockDataRecoveryAgent)
Returns an immutable copy ofthiswith just theblockDataRecoveryAgentfield 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.“Indicates whether to block certificate-based data recovery agent.”
- Parameters:
blockDataRecoveryAgent- new value ofblockDataRecoveryAgentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theblockDataRecoveryAgentfield changed
-
getEnableBitLockerAfterRecoveryInformationToStore
public Optional<Boolean> getEnableBitLockerAfterRecoveryInformationToStore()
“Indicates whether or not to enable BitLocker until recovery information is stored in AD DS.”- Returns:
- property enableBitLockerAfterRecoveryInformationToStore
-
withEnableBitLockerAfterRecoveryInformationToStore
public BitLockerRecoveryOptions withEnableBitLockerAfterRecoveryInformationToStore(Boolean enableBitLockerAfterRecoveryInformationToStore)
Returns an immutable copy ofthiswith just theenableBitLockerAfterRecoveryInformationToStorefield 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.“Indicates whether or not to enable BitLocker until recovery information is stored in AD DS.”
- Parameters:
enableBitLockerAfterRecoveryInformationToStore- new value ofenableBitLockerAfterRecoveryInformationToStorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenableBitLockerAfterRecoveryInformationToStorefield changed
-
getEnableRecoveryInformationSaveToStore
public Optional<Boolean> getEnableRecoveryInformationSaveToStore()
“Indicates whether or not to allow BitLocker recovery information to store in AD DS.”- Returns:
- property enableRecoveryInformationSaveToStore
-
withEnableRecoveryInformationSaveToStore
public BitLockerRecoveryOptions withEnableRecoveryInformationSaveToStore(Boolean enableRecoveryInformationSaveToStore)
Returns an immutable copy ofthiswith just theenableRecoveryInformationSaveToStorefield 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.“Indicates whether or not to allow BitLocker recovery information to store in AD DS.”
- Parameters:
enableRecoveryInformationSaveToStore- new value ofenableRecoveryInformationSaveToStorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenableRecoveryInformationSaveToStorefield changed
-
getHideRecoveryOptions
public Optional<Boolean> getHideRecoveryOptions()
“Indicates whether or not to allow showing recovery options in BitLocker Setup Wizard for fixed or system disk.”- Returns:
- property hideRecoveryOptions
-
withHideRecoveryOptions
public BitLockerRecoveryOptions withHideRecoveryOptions(Boolean hideRecoveryOptions)
Returns an immutable copy ofthiswith just thehideRecoveryOptionsfield 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.“Indicates whether or not to allow showing recovery options in BitLocker Setup Wizard for fixed or system disk.”
- Parameters:
hideRecoveryOptions- new value ofhideRecoveryOptionsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehideRecoveryOptionsfield changed
-
getRecoveryInformationToStore
public Optional<BitLockerRecoveryInformationType> getRecoveryInformationToStore()
“Configure what pieces of BitLocker recovery information are stored to AD DS.”- Returns:
- property recoveryInformationToStore
-
withRecoveryInformationToStore
public BitLockerRecoveryOptions withRecoveryInformationToStore(BitLockerRecoveryInformationType recoveryInformationToStore)
Returns an immutable copy ofthiswith just therecoveryInformationToStorefield 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.“Configure what pieces of BitLocker recovery information are stored to AD DS.”
- Parameters:
recoveryInformationToStore- new value ofrecoveryInformationToStorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therecoveryInformationToStorefield changed
-
getRecoveryKeyUsage
public Optional<ConfigurationUsage> getRecoveryKeyUsage()
“Indicates whether users are allowed or required to generate a 256-bit recovery key for fixed or system disk.”- Returns:
- property recoveryKeyUsage
-
withRecoveryKeyUsage
public BitLockerRecoveryOptions withRecoveryKeyUsage(ConfigurationUsage recoveryKeyUsage)
Returns an immutable copy ofthiswith just therecoveryKeyUsagefield 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.“Indicates whether users are allowed or required to generate a 256-bit recovery key for fixed or system disk.”
- Parameters:
recoveryKeyUsage- new value ofrecoveryKeyUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therecoveryKeyUsagefield changed
-
getRecoveryPasswordUsage
public Optional<ConfigurationUsage> getRecoveryPasswordUsage()
“Indicates whether users are allowed or required to generate a 48-digit recovery password for fixed or system disk.”- Returns:
- property recoveryPasswordUsage
-
withRecoveryPasswordUsage
public BitLockerRecoveryOptions withRecoveryPasswordUsage(ConfigurationUsage recoveryPasswordUsage)
Returns an immutable copy ofthiswith just therecoveryPasswordUsagefield 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.“Indicates whether users are allowed or required to generate a 48-digit recovery password for fixed or system disk.”
- Parameters:
recoveryPasswordUsage- new value ofrecoveryPasswordUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therecoveryPasswordUsagefield changed
-
withUnmappedField
public BitLockerRecoveryOptions 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 BitLockerRecoveryOptions.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
-
-