Package odata.msgraph.client.beta.entity
Class AndroidForWorkPkcsCertificateProfile
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.AndroidForWorkCertificateProfileBase
-
- odata.msgraph.client.beta.entity.AndroidForWorkPkcsCertificateProfile
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AndroidForWorkPkcsCertificateProfile extends AndroidForWorkCertificateProfileBase implements com.github.davidmoten.odata.client.ODataEntityType
“Android For Work PKCS certificate profile”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidForWorkPkcsCertificateProfile.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcertificateTemplateNameprotected StringcertificationAuthorityprotected StringcertificationAuthorityNameprotected StringsubjectAlternativeNameFormatString-
Fields inherited from class odata.msgraph.client.beta.entity.AndroidForWorkCertificateProfileBase
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 protectedAndroidForWorkPkcsCertificateProfile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidForWorkPkcsCertificateProfile.BuilderbuilderAndroidForWorkPkcsCertificateProfile()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()AndroidForWorkPkcsCertificateProfilepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidForWorkPkcsCertificateProfileput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidForWorkPkcsCertificateProfilewithCertificateTemplateName(String certificateTemplateName)Returns an immutable copy ofthiswith just thecertificateTemplateNamefield changed.AndroidForWorkPkcsCertificateProfilewithCertificationAuthority(String certificationAuthority)Returns an immutable copy ofthiswith just thecertificationAuthorityfield changed.AndroidForWorkPkcsCertificateProfilewithCertificationAuthorityName(String certificationAuthorityName)Returns an immutable copy ofthiswith just thecertificationAuthorityNamefield changed.AndroidForWorkPkcsCertificateProfilewithSubjectAlternativeNameFormatString(String subjectAlternativeNameFormatString)Returns an immutable copy ofthiswith just thesubjectAlternativeNameFormatStringfield changed.AndroidForWorkPkcsCertificateProfilewithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.AndroidForWorkCertificateProfileBase
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 classAndroidForWorkCertificateProfileBase
-
builderAndroidForWorkPkcsCertificateProfile
public static AndroidForWorkPkcsCertificateProfile.Builder builderAndroidForWorkPkcsCertificateProfile()
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 classAndroidForWorkCertificateProfileBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classAndroidForWorkCertificateProfileBase
-
getCertificateTemplateName
public Optional<String> getCertificateTemplateName()
“PKCS Certificate Template Name”- Returns:
- property certificateTemplateName
-
withCertificateTemplateName
public AndroidForWorkPkcsCertificateProfile 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 AndroidForWorkPkcsCertificateProfile 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 AndroidForWorkPkcsCertificateProfile 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 AndroidForWorkPkcsCertificateProfile 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 AndroidForWorkPkcsCertificateProfile withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classAndroidForWorkCertificateProfileBase
-
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 classAndroidForWorkCertificateProfileBase
-
patch
public AndroidForWorkPkcsCertificateProfile patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classAndroidForWorkCertificateProfileBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public AndroidForWorkPkcsCertificateProfile put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classAndroidForWorkCertificateProfileBase- 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 classAndroidForWorkCertificateProfileBase
-
-