Package odata.msgraph.client.beta.entity
Class AndroidPkcsCertificateProfile
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.AndroidCertificateProfileBase
-
- odata.msgraph.client.beta.entity.AndroidPkcsCertificateProfile
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AndroidPkcsCertificateProfile extends AndroidCertificateProfileBase implements com.github.davidmoten.odata.client.ODataEntityType
“Android PKCS certificate profile”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidPkcsCertificateProfile.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcertificateTemplateNameprotected StringcertificationAuthorityprotected StringcertificationAuthorityNameprotected StringsubjectAlternativeNameFormatString-
Fields inherited from class odata.msgraph.client.beta.entity.AndroidCertificateProfileBase
certificateValidityPeriodScale, certificateValidityPeriodValue, extendedKeyUsages, extendedKeyUsagesNextLink, renewalThresholdPercentage, subjectAlternativeNameType, subjectNameFormat
-
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 protectedAndroidPkcsCertificateProfile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidPkcsCertificateProfile.BuilderbuilderAndroidPkcsCertificateProfile()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getCertificateTemplateName()“PKCS Certificate Template Name”Optional<String>getCertificationAuthority()“PKCS Certification Authority”Optional<String>getCertificationAuthorityName()“PKCS Certification Authority Name”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()ManagedDeviceCertificateStateCollectionRequestgetManagedDeviceCertificateStates()“Certificate state for devices.Optional<String>getSubjectAlternativeNameFormatString()“Custom String that defines the AAD Attribute.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AndroidPkcsCertificateProfilepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidPkcsCertificateProfileput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidPkcsCertificateProfilewithCertificateTemplateName(String certificateTemplateName)Returns an immutable copy ofthiswith just thecertificateTemplateNamefield changed.AndroidPkcsCertificateProfilewithCertificationAuthority(String certificationAuthority)Returns an immutable copy ofthiswith just thecertificationAuthorityfield changed.AndroidPkcsCertificateProfilewithCertificationAuthorityName(String certificationAuthorityName)Returns an immutable copy ofthiswith just thecertificationAuthorityNamefield changed.AndroidPkcsCertificateProfilewithSubjectAlternativeNameFormatString(String subjectAlternativeNameFormatString)Returns an immutable copy ofthiswith just thesubjectAlternativeNameFormatStringfield changed.AndroidPkcsCertificateProfilewithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.AndroidCertificateProfileBase
getCertificateValidityPeriodScale, getCertificateValidityPeriodValue, getExtendedKeyUsages, getExtendedKeyUsages, getRenewalThresholdPercentage, getRootCertificate, getSubjectAlternativeNameType, getSubjectNameFormat, withCertificateValidityPeriodScale, withCertificateValidityPeriodValue, withExtendedKeyUsages, withRenewalThresholdPercentage, withSubjectAlternativeNameType, withSubjectNameFormat
-
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
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classAndroidCertificateProfileBase
-
builderAndroidPkcsCertificateProfile
public static AndroidPkcsCertificateProfile.Builder builderAndroidPkcsCertificateProfile()
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 classAndroidCertificateProfileBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classAndroidCertificateProfileBase
-
getCertificateTemplateName
public Optional<String> getCertificateTemplateName()
“PKCS Certificate Template Name”- Returns:
- property certificateTemplateName
-
withCertificateTemplateName
public AndroidPkcsCertificateProfile withCertificateTemplateName(String certificateTemplateName)
Returns an immutable copy ofthiswith just thecertificateTemplateNamefield 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.“PKCS Certificate Template Name”
- Parameters:
certificateTemplateName- new value ofcertificateTemplateNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateTemplateNamefield changed
-
getCertificationAuthority
public Optional<String> getCertificationAuthority()
“PKCS Certification Authority”- Returns:
- property certificationAuthority
-
withCertificationAuthority
public AndroidPkcsCertificateProfile withCertificationAuthority(String certificationAuthority)
Returns an immutable copy ofthiswith just thecertificationAuthorityfield 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.“PKCS Certification Authority”
- Parameters:
certificationAuthority- new value ofcertificationAuthorityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificationAuthorityfield changed
-
getCertificationAuthorityName
public Optional<String> getCertificationAuthorityName()
“PKCS Certification Authority Name”- Returns:
- property certificationAuthorityName
-
withCertificationAuthorityName
public AndroidPkcsCertificateProfile withCertificationAuthorityName(String certificationAuthorityName)
Returns an immutable copy ofthiswith just thecertificationAuthorityNamefield 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.“PKCS Certification Authority Name”
- Parameters:
certificationAuthorityName- new value ofcertificationAuthorityNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificationAuthorityNamefield changed
-
getSubjectAlternativeNameFormatString
public Optional<String> getSubjectAlternativeNameFormatString()
“Custom String that defines the AAD Attribute.”- Returns:
- property subjectAlternativeNameFormatString
-
withSubjectAlternativeNameFormatString
public AndroidPkcsCertificateProfile withSubjectAlternativeNameFormatString(String subjectAlternativeNameFormatString)
Returns an immutable copy ofthiswith just thesubjectAlternativeNameFormatStringfield 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 String that defines the AAD Attribute.”
- Parameters:
subjectAlternativeNameFormatString- new value ofsubjectAlternativeNameFormatStringfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubjectAlternativeNameFormatStringfield changed
-
withUnmappedField
public AndroidPkcsCertificateProfile withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classAndroidCertificateProfileBase
-
getManagedDeviceCertificateStates
public ManagedDeviceCertificateStateCollectionRequest getManagedDeviceCertificateStates()
“Certificate state for devices. This collection can contain a maximum of 2147483647 elements.”- Returns:
- navigational property managedDeviceCertificateStates
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classAndroidCertificateProfileBase
-
patch
public AndroidPkcsCertificateProfile patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classAndroidCertificateProfileBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public AndroidPkcsCertificateProfile put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classAndroidCertificateProfileBase- 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 classAndroidCertificateProfileBase
-
-