Package odata.msgraph.client.beta.entity
Class Windows10XSCEPCertificateProfile
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementResourceAccessProfileBase
-
- odata.msgraph.client.beta.entity.Windows10XCertificateProfile
-
- odata.msgraph.client.beta.entity.Windows10XSCEPCertificateProfile
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Windows10XSCEPCertificateProfile extends Windows10XCertificateProfile implements com.github.davidmoten.odata.client.ODataEntityType
“Windows X SCEP Certificate configuration profile”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindows10XSCEPCertificateProfile.Builder
-
Field Summary
Fields Modifier and Type Field Description protected CertificateStorecertificateStoreprotected CertificateValidityPeriodScalecertificateValidityPeriodScaleprotected IntegercertificateValidityPeriodValueprotected List<ExtendedKeyUsage>extendedKeyUsagesprotected StringextendedKeyUsagesNextLinkprotected List<HashAlgorithms>hashAlgorithmprotected StringhashAlgorithmNextLinkprotected KeySizekeySizeprotected KeyStorageProviderOptionkeyStorageProviderprotected KeyUsageskeyUsageprotected IntegerrenewalThresholdPercentageprotected UUIDrootCertificateIdprotected List<String>scepServerUrlsprotected StringscepServerUrlsNextLinkprotected List<Windows10XCustomSubjectAlternativeName>subjectAlternativeNameFormatsprotected StringsubjectAlternativeNameFormatsNextLinkprotected StringsubjectNameFormatString-
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 protectedWindows10XSCEPCertificateProfile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows10XSCEPCertificateProfile.BuilderbuilderWindows10XSCEPCertificateProfile()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<CertificateStore>getCertificateStore()“Target store certificate”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()com.github.davidmoten.odata.client.CollectionPage<ExtendedKeyUsage>getExtendedKeyUsages()“Extended Key Usage (EKU) settings.”com.github.davidmoten.odata.client.CollectionPage<ExtendedKeyUsage>getExtendedKeyUsages(com.github.davidmoten.odata.client.HttpRequestOptions options)“Extended Key Usage (EKU) settings.”com.github.davidmoten.odata.client.CollectionPage<HashAlgorithms>getHashAlgorithm()“SCEP Hash Algorithm.”com.github.davidmoten.odata.client.CollectionPage<HashAlgorithms>getHashAlgorithm(com.github.davidmoten.odata.client.HttpRequestOptions options)“SCEP Hash Algorithm.”Optional<KeySize>getKeySize()“SCEP Key Size.”Optional<KeyStorageProviderOption>getKeyStorageProvider()“Key Storage Provider (KSP)”Optional<KeyUsages>getKeyUsage()“SCEP Key Usage.”Optional<Integer>getRenewalThresholdPercentage()“Certificate renewal threshold percentage”Optional<UUID>getRootCertificateId()“Trusted Root Certificate ID”com.github.davidmoten.odata.client.CollectionPage<String>getScepServerUrls()“SCEP Server Url(s).”com.github.davidmoten.odata.client.CollectionPage<String>getScepServerUrls(com.github.davidmoten.odata.client.HttpRequestOptions options)“SCEP Server Url(s).”com.github.davidmoten.odata.client.CollectionPage<Windows10XCustomSubjectAlternativeName>getSubjectAlternativeNameFormats()“Custom AAD Attributes.”com.github.davidmoten.odata.client.CollectionPage<Windows10XCustomSubjectAlternativeName>getSubjectAlternativeNameFormats(com.github.davidmoten.odata.client.HttpRequestOptions options)“Custom AAD Attributes.”Optional<String>getSubjectNameFormatString()“Custom format to use with SubjectNameFormat = Custom.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Windows10XSCEPCertificateProfilepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Windows10XSCEPCertificateProfileput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()Windows10XSCEPCertificateProfilewithCertificateStore(CertificateStore certificateStore)Returns an immutable copy ofthiswith just thecertificateStorefield changed.Windows10XSCEPCertificateProfilewithCertificateValidityPeriodScale(CertificateValidityPeriodScale certificateValidityPeriodScale)Returns an immutable copy ofthiswith just thecertificateValidityPeriodScalefield changed.Windows10XSCEPCertificateProfilewithCertificateValidityPeriodValue(Integer certificateValidityPeriodValue)Returns an immutable copy ofthiswith just thecertificateValidityPeriodValuefield changed.Windows10XSCEPCertificateProfilewithExtendedKeyUsages(List<ExtendedKeyUsage> extendedKeyUsages)Returns an immutable copy ofthiswith just theextendedKeyUsagesfield changed.Windows10XSCEPCertificateProfilewithHashAlgorithm(List<HashAlgorithms> hashAlgorithm)Returns an immutable copy ofthiswith just thehashAlgorithmfield changed.Windows10XSCEPCertificateProfilewithKeySize(KeySize keySize)Returns an immutable copy ofthiswith just thekeySizefield changed.Windows10XSCEPCertificateProfilewithKeyStorageProvider(KeyStorageProviderOption keyStorageProvider)Returns an immutable copy ofthiswith just thekeyStorageProviderfield changed.Windows10XSCEPCertificateProfilewithKeyUsage(KeyUsages keyUsage)Returns an immutable copy ofthiswith just thekeyUsagefield changed.Windows10XSCEPCertificateProfilewithRenewalThresholdPercentage(Integer renewalThresholdPercentage)Returns an immutable copy ofthiswith just therenewalThresholdPercentagefield changed.Windows10XSCEPCertificateProfilewithRootCertificateId(UUID rootCertificateId)Returns an immutable copy ofthiswith just therootCertificateIdfield changed.Windows10XSCEPCertificateProfilewithScepServerUrls(List<String> scepServerUrls)Returns an immutable copy ofthiswith just thescepServerUrlsfield changed.Windows10XSCEPCertificateProfilewithSubjectAlternativeNameFormats(List<Windows10XCustomSubjectAlternativeName> subjectAlternativeNameFormats)Returns an immutable copy ofthiswith just thesubjectAlternativeNameFormatsfield changed.Windows10XSCEPCertificateProfilewithSubjectNameFormatString(String subjectNameFormatString)Returns an immutable copy ofthiswith just thesubjectNameFormatStringfield changed.Windows10XSCEPCertificateProfilewithUnmappedField(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
-
-
-
-
Field Detail
-
certificateStore
protected CertificateStore certificateStore
-
certificateValidityPeriodScale
protected CertificateValidityPeriodScale certificateValidityPeriodScale
-
certificateValidityPeriodValue
protected Integer certificateValidityPeriodValue
-
extendedKeyUsages
protected List<ExtendedKeyUsage> extendedKeyUsages
-
extendedKeyUsagesNextLink
protected String extendedKeyUsagesNextLink
-
hashAlgorithm
protected List<HashAlgorithms> hashAlgorithm
-
hashAlgorithmNextLink
protected String hashAlgorithmNextLink
-
keySize
protected KeySize keySize
-
keyStorageProvider
protected KeyStorageProviderOption keyStorageProvider
-
keyUsage
protected KeyUsages keyUsage
-
renewalThresholdPercentage
protected Integer renewalThresholdPercentage
-
rootCertificateId
protected UUID rootCertificateId
-
scepServerUrlsNextLink
protected String scepServerUrlsNextLink
-
subjectAlternativeNameFormats
protected List<Windows10XCustomSubjectAlternativeName> subjectAlternativeNameFormats
-
subjectAlternativeNameFormatsNextLink
protected String subjectAlternativeNameFormatsNextLink
-
subjectNameFormatString
protected String subjectNameFormatString
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWindows10XCertificateProfile
-
builderWindows10XSCEPCertificateProfile
public static Windows10XSCEPCertificateProfile.Builder builderWindows10XSCEPCertificateProfile()
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 classWindows10XCertificateProfile
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classWindows10XCertificateProfile
-
getCertificateStore
public Optional<CertificateStore> getCertificateStore()
“Target store certificate”- Returns:
- property certificateStore
-
withCertificateStore
public Windows10XSCEPCertificateProfile withCertificateStore(CertificateStore certificateStore)
Returns an immutable copy ofthiswith just thecertificateStorefield 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.“Target store certificate”
- Parameters:
certificateStore- new value ofcertificateStorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateStorefield changed
-
getCertificateValidityPeriodScale
public Optional<CertificateValidityPeriodScale> getCertificateValidityPeriodScale()
“Scale for the Certificate Validity Period”- Returns:
- property certificateValidityPeriodScale
-
withCertificateValidityPeriodScale
public Windows10XSCEPCertificateProfile 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 Windows10XSCEPCertificateProfile 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
-
getExtendedKeyUsages
public com.github.davidmoten.odata.client.CollectionPage<ExtendedKeyUsage> getExtendedKeyUsages()
“Extended Key Usage (EKU) settings.”- Returns:
- property extendedKeyUsages
-
withExtendedKeyUsages
public Windows10XSCEPCertificateProfile withExtendedKeyUsages(List<ExtendedKeyUsage> extendedKeyUsages)
Returns an immutable copy ofthiswith just theextendedKeyUsagesfield 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.“Extended Key Usage (EKU) settings.”
- Parameters:
extendedKeyUsages- new value ofextendedKeyUsagesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theextendedKeyUsagesfield changed
-
getExtendedKeyUsages
public com.github.davidmoten.odata.client.CollectionPage<ExtendedKeyUsage> getExtendedKeyUsages(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Extended Key Usage (EKU) settings.”- Parameters:
options- specify connect and read timeouts- Returns:
- property extendedKeyUsages
-
getHashAlgorithm
public com.github.davidmoten.odata.client.CollectionPage<HashAlgorithms> getHashAlgorithm()
“SCEP Hash Algorithm.”- Returns:
- property hashAlgorithm
-
withHashAlgorithm
public Windows10XSCEPCertificateProfile withHashAlgorithm(List<HashAlgorithms> hashAlgorithm)
Returns an immutable copy ofthiswith just thehashAlgorithmfield 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.“SCEP Hash Algorithm.”
- Parameters:
hashAlgorithm- new value ofhashAlgorithmfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehashAlgorithmfield changed
-
getHashAlgorithm
public com.github.davidmoten.odata.client.CollectionPage<HashAlgorithms> getHashAlgorithm(com.github.davidmoten.odata.client.HttpRequestOptions options)
“SCEP Hash Algorithm.”- Parameters:
options- specify connect and read timeouts- Returns:
- property hashAlgorithm
-
withKeySize
public Windows10XSCEPCertificateProfile withKeySize(KeySize keySize)
Returns an immutable copy ofthiswith just thekeySizefield 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.“SCEP Key Size.”
- Parameters:
keySize- new value ofkeySizefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekeySizefield changed
-
getKeyStorageProvider
public Optional<KeyStorageProviderOption> getKeyStorageProvider()
“Key Storage Provider (KSP)”- Returns:
- property keyStorageProvider
-
withKeyStorageProvider
public Windows10XSCEPCertificateProfile 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
-
withKeyUsage
public Windows10XSCEPCertificateProfile withKeyUsage(KeyUsages keyUsage)
Returns an immutable copy ofthiswith just thekeyUsagefield 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.“SCEP Key Usage.”
- Parameters:
keyUsage- new value ofkeyUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekeyUsagefield changed
-
getRenewalThresholdPercentage
public Optional<Integer> getRenewalThresholdPercentage()
“Certificate renewal threshold percentage”- Returns:
- property renewalThresholdPercentage
-
withRenewalThresholdPercentage
public Windows10XSCEPCertificateProfile 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”
- Parameters:
renewalThresholdPercentage- new value ofrenewalThresholdPercentagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therenewalThresholdPercentagefield changed
-
getRootCertificateId
public Optional<UUID> getRootCertificateId()
“Trusted Root Certificate ID”- Returns:
- property rootCertificateId
-
withRootCertificateId
public Windows10XSCEPCertificateProfile withRootCertificateId(UUID rootCertificateId)
Returns an immutable copy ofthiswith just therootCertificateIdfield 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.“Trusted Root Certificate ID”
- Parameters:
rootCertificateId- new value ofrootCertificateIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therootCertificateIdfield changed
-
getScepServerUrls
public com.github.davidmoten.odata.client.CollectionPage<String> getScepServerUrls()
“SCEP Server Url(s).”- Returns:
- property scepServerUrls
-
withScepServerUrls
public Windows10XSCEPCertificateProfile withScepServerUrls(List<String> scepServerUrls)
Returns an immutable copy ofthiswith just thescepServerUrlsfield 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.“SCEP Server Url(s).”
- Parameters:
scepServerUrls- new value ofscepServerUrlsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thescepServerUrlsfield changed
-
getScepServerUrls
public com.github.davidmoten.odata.client.CollectionPage<String> getScepServerUrls(com.github.davidmoten.odata.client.HttpRequestOptions options)
“SCEP Server Url(s).”- Parameters:
options- specify connect and read timeouts- Returns:
- property scepServerUrls
-
getSubjectAlternativeNameFormats
public com.github.davidmoten.odata.client.CollectionPage<Windows10XCustomSubjectAlternativeName> getSubjectAlternativeNameFormats()
“Custom AAD Attributes.”- Returns:
- property subjectAlternativeNameFormats
-
withSubjectAlternativeNameFormats
public Windows10XSCEPCertificateProfile withSubjectAlternativeNameFormats(List<Windows10XCustomSubjectAlternativeName> subjectAlternativeNameFormats)
Returns an immutable copy ofthiswith just thesubjectAlternativeNameFormatsfield 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 AAD Attributes.”
- Parameters:
subjectAlternativeNameFormats- new value ofsubjectAlternativeNameFormatsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubjectAlternativeNameFormatsfield changed
-
getSubjectAlternativeNameFormats
public com.github.davidmoten.odata.client.CollectionPage<Windows10XCustomSubjectAlternativeName> getSubjectAlternativeNameFormats(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Custom AAD Attributes.”- Parameters:
options- specify connect and read timeouts- Returns:
- property subjectAlternativeNameFormats
-
getSubjectNameFormatString
public Optional<String> getSubjectNameFormatString()
“Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress }},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA, C=US”- Returns:
- property subjectNameFormatString
-
withSubjectNameFormatString
public Windows10XSCEPCertificateProfile withSubjectNameFormatString(String subjectNameFormatString)
Returns an immutable copy ofthiswith just thesubjectNameFormatStringfield 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 format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress }},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA, C=US”
- Parameters:
subjectNameFormatString- new value ofsubjectNameFormatStringfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubjectNameFormatStringfield changed
-
withUnmappedField
public Windows10XSCEPCertificateProfile withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classWindows10XCertificateProfile
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classWindows10XCertificateProfile
-
patch
public Windows10XSCEPCertificateProfile patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classWindows10XCertificateProfile- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Windows10XSCEPCertificateProfile put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classWindows10XCertificateProfile- 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 classWindows10XCertificateProfile
-
-