Package odata.msgraph.client.beta.entity
Class WindowsCertificateProfileBase
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.WindowsCertificateProfileBase
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
Windows10CertificateProfileBase,Windows10ImportedPFXCertificateProfile,Windows81CertificateProfileBase,WindowsPhone81ImportedPFXCertificateProfile
public class WindowsCertificateProfileBase extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Device Configuration.”
-
-
Field Summary
Fields Modifier and Type Field Description protected CertificateValidityPeriodScalecertificateValidityPeriodScaleprotected IntegercertificateValidityPeriodValueprotected KeyStorageProviderOptionkeyStorageProviderprotected IntegerrenewalThresholdPercentageprotected SubjectAlternativeNameTypesubjectAlternativeNameTypeprotected SubjectNameFormatsubjectNameFormat-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsCertificateProfileBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<CertificateValidityPeriodScale>getCertificateValidityPeriodScale()“Scale for the Certificate Validity Period”Optional<Integer>getCertificateValidityPeriodValue()“Value for the Certificate Validity Period”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<KeyStorageProviderOption>getKeyStorageProvider()“Key Storage Provider (KSP)”Optional<Integer>getRenewalThresholdPercentage()“Certificate renewal threshold percentage.Optional<SubjectAlternativeNameType>getSubjectAlternativeNameType()“Certificate Subject Alternative Name Type”Optional<SubjectNameFormat>getSubjectNameFormat()“Certificate Subject Name Format”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsCertificateProfileBasepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsCertificateProfileBaseput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsCertificateProfileBasewithCertificateValidityPeriodScale(CertificateValidityPeriodScale certificateValidityPeriodScale)Returns an immutable copy ofthiswith just thecertificateValidityPeriodScalefield changed.WindowsCertificateProfileBasewithCertificateValidityPeriodValue(Integer certificateValidityPeriodValue)Returns an immutable copy ofthiswith just thecertificateValidityPeriodValuefield changed.WindowsCertificateProfileBasewithKeyStorageProvider(KeyStorageProviderOption keyStorageProvider)Returns an immutable copy ofthiswith just thekeyStorageProviderfield changed.WindowsCertificateProfileBasewithRenewalThresholdPercentage(Integer renewalThresholdPercentage)Returns an immutable copy ofthiswith just therenewalThresholdPercentagefield changed.WindowsCertificateProfileBasewithSubjectAlternativeNameType(SubjectAlternativeNameType subjectAlternativeNameType)Returns an immutable copy ofthiswith just thesubjectAlternativeNameTypefield changed.WindowsCertificateProfileBasewithSubjectNameFormat(SubjectNameFormat subjectNameFormat)Returns an immutable copy ofthiswith just thesubjectNameFormatfield changed.WindowsCertificateProfileBasewithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getOmaSettingPlainTextValue, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withSupportsScopeTags, withVersion
-
-
-
-
Field Detail
-
certificateValidityPeriodScale
protected CertificateValidityPeriodScale certificateValidityPeriodScale
-
certificateValidityPeriodValue
protected Integer certificateValidityPeriodValue
-
keyStorageProvider
protected KeyStorageProviderOption keyStorageProvider
-
renewalThresholdPercentage
protected Integer renewalThresholdPercentage
-
subjectAlternativeNameType
protected SubjectAlternativeNameType subjectAlternativeNameType
-
subjectNameFormat
protected SubjectNameFormat subjectNameFormat
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
getCertificateValidityPeriodScale
public Optional<CertificateValidityPeriodScale> getCertificateValidityPeriodScale()
“Scale for the Certificate Validity Period”- Returns:
- property certificateValidityPeriodScale
-
withCertificateValidityPeriodScale
public WindowsCertificateProfileBase withCertificateValidityPeriodScale(CertificateValidityPeriodScale certificateValidityPeriodScale)
Returns an immutable copy ofthiswith just thecertificateValidityPeriodScalefield 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.“Scale for the Certificate Validity Period”
- Parameters:
certificateValidityPeriodScale- new value ofcertificateValidityPeriodScalefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateValidityPeriodScalefield changed
-
getCertificateValidityPeriodValue
public Optional<Integer> getCertificateValidityPeriodValue()
“Value for the Certificate Validity Period”- Returns:
- property certificateValidityPeriodValue
-
withCertificateValidityPeriodValue
public WindowsCertificateProfileBase withCertificateValidityPeriodValue(Integer certificateValidityPeriodValue)
Returns an immutable copy ofthiswith just thecertificateValidityPeriodValuefield 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.“Value for the Certificate Validity Period”
- Parameters:
certificateValidityPeriodValue- new value ofcertificateValidityPeriodValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateValidityPeriodValuefield changed
-
getKeyStorageProvider
public Optional<KeyStorageProviderOption> getKeyStorageProvider()
“Key Storage Provider (KSP)”- Returns:
- property keyStorageProvider
-
withKeyStorageProvider
public WindowsCertificateProfileBase withKeyStorageProvider(KeyStorageProviderOption keyStorageProvider)
Returns an immutable copy ofthiswith just thekeyStorageProviderfield 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.“Key Storage Provider (KSP)”
- Parameters:
keyStorageProvider- new value ofkeyStorageProviderfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekeyStorageProviderfield changed
-
getRenewalThresholdPercentage
public Optional<Integer> getRenewalThresholdPercentage()
“Certificate renewal threshold percentage. Valid values 1 to 99”- Returns:
- property renewalThresholdPercentage
-
withRenewalThresholdPercentage
public WindowsCertificateProfileBase withRenewalThresholdPercentage(Integer renewalThresholdPercentage)
Returns an immutable copy ofthiswith just therenewalThresholdPercentagefield 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.“Certificate renewal threshold percentage. Valid values 1 to 99”
- Parameters:
renewalThresholdPercentage- new value ofrenewalThresholdPercentagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therenewalThresholdPercentagefield changed
-
getSubjectAlternativeNameType
public Optional<SubjectAlternativeNameType> getSubjectAlternativeNameType()
“Certificate Subject Alternative Name Type”- Returns:
- property subjectAlternativeNameType
-
withSubjectAlternativeNameType
public WindowsCertificateProfileBase withSubjectAlternativeNameType(SubjectAlternativeNameType subjectAlternativeNameType)
Returns an immutable copy ofthiswith just thesubjectAlternativeNameTypefield 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.“Certificate Subject Alternative Name Type”
- Parameters:
subjectAlternativeNameType- new value ofsubjectAlternativeNameTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubjectAlternativeNameTypefield changed
-
getSubjectNameFormat
public Optional<SubjectNameFormat> getSubjectNameFormat()
“Certificate Subject Name Format”- Returns:
- property subjectNameFormat
-
withSubjectNameFormat
public WindowsCertificateProfileBase withSubjectNameFormat(SubjectNameFormat subjectNameFormat)
Returns an immutable copy ofthiswith just thesubjectNameFormatfield 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.“Certificate Subject Name Format”
- Parameters:
subjectNameFormat- new value ofsubjectNameFormatfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubjectNameFormatfield changed
-
withUnmappedField
public WindowsCertificateProfileBase withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public WindowsCertificateProfileBase patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public WindowsCertificateProfileBase put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- 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 classDeviceConfiguration
-
-