Package odata.msgraph.client.beta.entity
Class ManagedDeviceCertificateState
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ManagedDeviceCertificateState
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedDeviceCertificateState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedDeviceCertificateState.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedDeviceCertificateState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedDeviceCertificateState.BuilderbuilderManagedDeviceCertificateState()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getCertificateEnhancedKeyUsage()“Extended key usage”Optional<Integer>getCertificateErrorCode()“Error code”Optional<OffsetDateTime>getCertificateExpirationDateTime()“Certificate expiry date”Optional<OffsetDateTime>getCertificateIssuanceDateTime()“Issuance date”Optional<CertificateIssuanceStates>getCertificateIssuanceState()“Issuance State”Optional<String>getCertificateIssuer()“Issuer”Optional<Integer>getCertificateKeyLength()“Key length”Optional<KeyStorageProviderOption>getCertificateKeyStorageProvider()“Key Storage Provider”Optional<KeyUsages>getCertificateKeyUsage()“Key usage”Optional<OffsetDateTime>getCertificateLastIssuanceStateChangedDateTime()“Last certificate issuance state change”Optional<String>getCertificateProfileDisplayName()“Certificate profile display name”Optional<CertificateRevocationStatus>getCertificateRevokeStatus()“Revoke status”Optional<String>getCertificateSerialNumber()“Serial number”Optional<SubjectAlternativeNameType>getCertificateSubjectAlternativeNameFormat()“Subject alternative name format”Optional<String>getCertificateSubjectAlternativeNameFormatString()“Subject alternative name format string for custom formats”Optional<SubjectNameFormat>getCertificateSubjectNameFormat()“Subject name format”Optional<String>getCertificateSubjectNameFormatString()“Subject name format string for custom subject name formats”Optional<String>getCertificateThumbprint()“Thumbprint”Optional<Integer>getCertificateValidityPeriod()“Validity period”Optional<CertificateValidityPeriodScale>getCertificateValidityPeriodUnits()“Validity period units”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDeviceDisplayName()“Device display name”Optional<DevicePlatformType>getDevicePlatform()“Device platform”Optional<OffsetDateTime>getLastCertificateStateChangeDateTime()“Last certificate issuance state change”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserDisplayName()“User display name”StringodataTypeName()ManagedDeviceCertificateStatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedDeviceCertificateStateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedDeviceCertificateStatewithCertificateEnhancedKeyUsage(String certificateEnhancedKeyUsage)Returns an immutable copy ofthiswith just thecertificateEnhancedKeyUsagefield changed.ManagedDeviceCertificateStatewithCertificateErrorCode(Integer certificateErrorCode)Returns an immutable copy ofthiswith just thecertificateErrorCodefield changed.ManagedDeviceCertificateStatewithCertificateExpirationDateTime(OffsetDateTime certificateExpirationDateTime)Returns an immutable copy ofthiswith just thecertificateExpirationDateTimefield changed.ManagedDeviceCertificateStatewithCertificateIssuanceDateTime(OffsetDateTime certificateIssuanceDateTime)Returns an immutable copy ofthiswith just thecertificateIssuanceDateTimefield changed.ManagedDeviceCertificateStatewithCertificateIssuanceState(CertificateIssuanceStates certificateIssuanceState)Returns an immutable copy ofthiswith just thecertificateIssuanceStatefield changed.ManagedDeviceCertificateStatewithCertificateIssuer(String certificateIssuer)Returns an immutable copy ofthiswith just thecertificateIssuerfield changed.ManagedDeviceCertificateStatewithCertificateKeyLength(Integer certificateKeyLength)Returns an immutable copy ofthiswith just thecertificateKeyLengthfield changed.ManagedDeviceCertificateStatewithCertificateKeyStorageProvider(KeyStorageProviderOption certificateKeyStorageProvider)Returns an immutable copy ofthiswith just thecertificateKeyStorageProviderfield changed.ManagedDeviceCertificateStatewithCertificateKeyUsage(KeyUsages certificateKeyUsage)Returns an immutable copy ofthiswith just thecertificateKeyUsagefield changed.ManagedDeviceCertificateStatewithCertificateLastIssuanceStateChangedDateTime(OffsetDateTime certificateLastIssuanceStateChangedDateTime)Returns an immutable copy ofthiswith just thecertificateLastIssuanceStateChangedDateTimefield changed.ManagedDeviceCertificateStatewithCertificateProfileDisplayName(String certificateProfileDisplayName)Returns an immutable copy ofthiswith just thecertificateProfileDisplayNamefield changed.ManagedDeviceCertificateStatewithCertificateRevokeStatus(CertificateRevocationStatus certificateRevokeStatus)Returns an immutable copy ofthiswith just thecertificateRevokeStatusfield changed.ManagedDeviceCertificateStatewithCertificateSerialNumber(String certificateSerialNumber)Returns an immutable copy ofthiswith just thecertificateSerialNumberfield changed.ManagedDeviceCertificateStatewithCertificateSubjectAlternativeNameFormat(SubjectAlternativeNameType certificateSubjectAlternativeNameFormat)Returns an immutable copy ofthiswith just thecertificateSubjectAlternativeNameFormatfield changed.ManagedDeviceCertificateStatewithCertificateSubjectAlternativeNameFormatString(String certificateSubjectAlternativeNameFormatString)Returns an immutable copy ofthiswith just thecertificateSubjectAlternativeNameFormatStringfield changed.ManagedDeviceCertificateStatewithCertificateSubjectNameFormat(SubjectNameFormat certificateSubjectNameFormat)Returns an immutable copy ofthiswith just thecertificateSubjectNameFormatfield changed.ManagedDeviceCertificateStatewithCertificateSubjectNameFormatString(String certificateSubjectNameFormatString)Returns an immutable copy ofthiswith just thecertificateSubjectNameFormatStringfield changed.ManagedDeviceCertificateStatewithCertificateThumbprint(String certificateThumbprint)Returns an immutable copy ofthiswith just thecertificateThumbprintfield changed.ManagedDeviceCertificateStatewithCertificateValidityPeriod(Integer certificateValidityPeriod)Returns an immutable copy ofthiswith just thecertificateValidityPeriodfield changed.ManagedDeviceCertificateStatewithCertificateValidityPeriodUnits(CertificateValidityPeriodScale certificateValidityPeriodUnits)Returns an immutable copy ofthiswith just thecertificateValidityPeriodUnitsfield changed.ManagedDeviceCertificateStatewithDeviceDisplayName(String deviceDisplayName)Returns an immutable copy ofthiswith just thedeviceDisplayNamefield changed.ManagedDeviceCertificateStatewithDevicePlatform(DevicePlatformType devicePlatform)Returns an immutable copy ofthiswith just thedevicePlatformfield changed.ManagedDeviceCertificateStatewithLastCertificateStateChangeDateTime(OffsetDateTime lastCertificateStateChangeDateTime)Returns an immutable copy ofthiswith just thelastCertificateStateChangeDateTimefield changed.ManagedDeviceCertificateStatewithUnmappedField(String name, String value)ManagedDeviceCertificateStatewithUserDisplayName(String userDisplayName)Returns an immutable copy ofthiswith just theuserDisplayNamefield changed.
-
-
-
Field Detail
-
certificateEnhancedKeyUsage
protected String certificateEnhancedKeyUsage
-
certificateErrorCode
protected Integer certificateErrorCode
-
certificateExpirationDateTime
protected OffsetDateTime certificateExpirationDateTime
-
certificateIssuanceDateTime
protected OffsetDateTime certificateIssuanceDateTime
-
certificateIssuanceState
protected CertificateIssuanceStates certificateIssuanceState
-
certificateIssuer
protected String certificateIssuer
-
certificateKeyLength
protected Integer certificateKeyLength
-
certificateKeyStorageProvider
protected KeyStorageProviderOption certificateKeyStorageProvider
-
certificateKeyUsage
protected KeyUsages certificateKeyUsage
-
certificateLastIssuanceStateChangedDateTime
protected OffsetDateTime certificateLastIssuanceStateChangedDateTime
-
certificateProfileDisplayName
protected String certificateProfileDisplayName
-
certificateRevokeStatus
protected CertificateRevocationStatus certificateRevokeStatus
-
certificateSerialNumber
protected String certificateSerialNumber
-
certificateSubjectAlternativeNameFormat
protected SubjectAlternativeNameType certificateSubjectAlternativeNameFormat
-
certificateSubjectAlternativeNameFormatString
protected String certificateSubjectAlternativeNameFormatString
-
certificateSubjectNameFormat
protected SubjectNameFormat certificateSubjectNameFormat
-
certificateSubjectNameFormatString
protected String certificateSubjectNameFormatString
-
certificateThumbprint
protected String certificateThumbprint
-
certificateValidityPeriod
protected Integer certificateValidityPeriod
-
certificateValidityPeriodUnits
protected CertificateValidityPeriodScale certificateValidityPeriodUnits
-
deviceDisplayName
protected String deviceDisplayName
-
devicePlatform
protected DevicePlatformType devicePlatform
-
lastCertificateStateChangeDateTime
protected OffsetDateTime lastCertificateStateChangeDateTime
-
userDisplayName
protected String userDisplayName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderManagedDeviceCertificateState
public static ManagedDeviceCertificateState.Builder builderManagedDeviceCertificateState()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCertificateEnhancedKeyUsage
public Optional<String> getCertificateEnhancedKeyUsage()
“Extended key usage”- Returns:
- property certificateEnhancedKeyUsage
-
withCertificateEnhancedKeyUsage
public ManagedDeviceCertificateState withCertificateEnhancedKeyUsage(String certificateEnhancedKeyUsage)
Returns an immutable copy ofthiswith just thecertificateEnhancedKeyUsagefield 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”
- Parameters:
certificateEnhancedKeyUsage- new value ofcertificateEnhancedKeyUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateEnhancedKeyUsagefield changed
-
getCertificateErrorCode
public Optional<Integer> getCertificateErrorCode()
“Error code”- Returns:
- property certificateErrorCode
-
withCertificateErrorCode
public ManagedDeviceCertificateState withCertificateErrorCode(Integer certificateErrorCode)
Returns an immutable copy ofthiswith just thecertificateErrorCodefield 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.“Error code”
- Parameters:
certificateErrorCode- new value ofcertificateErrorCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateErrorCodefield changed
-
getCertificateExpirationDateTime
public Optional<OffsetDateTime> getCertificateExpirationDateTime()
“Certificate expiry date”- Returns:
- property certificateExpirationDateTime
-
withCertificateExpirationDateTime
public ManagedDeviceCertificateState withCertificateExpirationDateTime(OffsetDateTime certificateExpirationDateTime)
Returns an immutable copy ofthiswith just thecertificateExpirationDateTimefield 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 expiry date”
- Parameters:
certificateExpirationDateTime- new value ofcertificateExpirationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateExpirationDateTimefield changed
-
getCertificateIssuanceDateTime
public Optional<OffsetDateTime> getCertificateIssuanceDateTime()
“Issuance date”- Returns:
- property certificateIssuanceDateTime
-
withCertificateIssuanceDateTime
public ManagedDeviceCertificateState withCertificateIssuanceDateTime(OffsetDateTime certificateIssuanceDateTime)
Returns an immutable copy ofthiswith just thecertificateIssuanceDateTimefield 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.“Issuance date”
- Parameters:
certificateIssuanceDateTime- new value ofcertificateIssuanceDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateIssuanceDateTimefield changed
-
getCertificateIssuanceState
public Optional<CertificateIssuanceStates> getCertificateIssuanceState()
“Issuance State”- Returns:
- property certificateIssuanceState
-
withCertificateIssuanceState
public ManagedDeviceCertificateState withCertificateIssuanceState(CertificateIssuanceStates certificateIssuanceState)
Returns an immutable copy ofthiswith just thecertificateIssuanceStatefield 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.“Issuance State”
- Parameters:
certificateIssuanceState- new value ofcertificateIssuanceStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateIssuanceStatefield changed
-
getCertificateIssuer
public Optional<String> getCertificateIssuer()
“Issuer”- Returns:
- property certificateIssuer
-
withCertificateIssuer
public ManagedDeviceCertificateState withCertificateIssuer(String certificateIssuer)
Returns an immutable copy ofthiswith just thecertificateIssuerfield 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.“Issuer”
- Parameters:
certificateIssuer- new value ofcertificateIssuerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateIssuerfield changed
-
getCertificateKeyLength
public Optional<Integer> getCertificateKeyLength()
“Key length”- Returns:
- property certificateKeyLength
-
withCertificateKeyLength
public ManagedDeviceCertificateState withCertificateKeyLength(Integer certificateKeyLength)
Returns an immutable copy ofthiswith just thecertificateKeyLengthfield 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 length”
- Parameters:
certificateKeyLength- new value ofcertificateKeyLengthfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateKeyLengthfield changed
-
getCertificateKeyStorageProvider
public Optional<KeyStorageProviderOption> getCertificateKeyStorageProvider()
“Key Storage Provider”- Returns:
- property certificateKeyStorageProvider
-
withCertificateKeyStorageProvider
public ManagedDeviceCertificateState withCertificateKeyStorageProvider(KeyStorageProviderOption certificateKeyStorageProvider)
Returns an immutable copy ofthiswith just thecertificateKeyStorageProviderfield 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”
- Parameters:
certificateKeyStorageProvider- new value ofcertificateKeyStorageProviderfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateKeyStorageProviderfield changed
-
getCertificateKeyUsage
public Optional<KeyUsages> getCertificateKeyUsage()
“Key usage”- Returns:
- property certificateKeyUsage
-
withCertificateKeyUsage
public ManagedDeviceCertificateState withCertificateKeyUsage(KeyUsages certificateKeyUsage)
Returns an immutable copy ofthiswith just thecertificateKeyUsagefield 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 usage”
- Parameters:
certificateKeyUsage- new value ofcertificateKeyUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateKeyUsagefield changed
-
getCertificateLastIssuanceStateChangedDateTime
public Optional<OffsetDateTime> getCertificateLastIssuanceStateChangedDateTime()
“Last certificate issuance state change”- Returns:
- property certificateLastIssuanceStateChangedDateTime
-
withCertificateLastIssuanceStateChangedDateTime
public ManagedDeviceCertificateState withCertificateLastIssuanceStateChangedDateTime(OffsetDateTime certificateLastIssuanceStateChangedDateTime)
Returns an immutable copy ofthiswith just thecertificateLastIssuanceStateChangedDateTimefield 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.“Last certificate issuance state change”
- Parameters:
certificateLastIssuanceStateChangedDateTime- new value ofcertificateLastIssuanceStateChangedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateLastIssuanceStateChangedDateTimefield changed
-
getCertificateProfileDisplayName
public Optional<String> getCertificateProfileDisplayName()
“Certificate profile display name”- Returns:
- property certificateProfileDisplayName
-
withCertificateProfileDisplayName
public ManagedDeviceCertificateState withCertificateProfileDisplayName(String certificateProfileDisplayName)
Returns an immutable copy ofthiswith just thecertificateProfileDisplayNamefield 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 profile display name”
- Parameters:
certificateProfileDisplayName- new value ofcertificateProfileDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateProfileDisplayNamefield changed
-
getCertificateRevokeStatus
public Optional<CertificateRevocationStatus> getCertificateRevokeStatus()
“Revoke status”- Returns:
- property certificateRevokeStatus
-
withCertificateRevokeStatus
public ManagedDeviceCertificateState withCertificateRevokeStatus(CertificateRevocationStatus certificateRevokeStatus)
Returns an immutable copy ofthiswith just thecertificateRevokeStatusfield 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.“Revoke status”
- Parameters:
certificateRevokeStatus- new value ofcertificateRevokeStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateRevokeStatusfield changed
-
getCertificateSerialNumber
public Optional<String> getCertificateSerialNumber()
“Serial number”- Returns:
- property certificateSerialNumber
-
withCertificateSerialNumber
public ManagedDeviceCertificateState withCertificateSerialNumber(String certificateSerialNumber)
Returns an immutable copy ofthiswith just thecertificateSerialNumberfield 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.“Serial number”
- Parameters:
certificateSerialNumber- new value ofcertificateSerialNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateSerialNumberfield changed
-
getCertificateSubjectAlternativeNameFormat
public Optional<SubjectAlternativeNameType> getCertificateSubjectAlternativeNameFormat()
“Subject alternative name format”- Returns:
- property certificateSubjectAlternativeNameFormat
-
withCertificateSubjectAlternativeNameFormat
public ManagedDeviceCertificateState withCertificateSubjectAlternativeNameFormat(SubjectAlternativeNameType certificateSubjectAlternativeNameFormat)
Returns an immutable copy ofthiswith just thecertificateSubjectAlternativeNameFormatfield 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.“Subject alternative name format”
- Parameters:
certificateSubjectAlternativeNameFormat- new value ofcertificateSubjectAlternativeNameFormatfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateSubjectAlternativeNameFormatfield changed
-
getCertificateSubjectAlternativeNameFormatString
public Optional<String> getCertificateSubjectAlternativeNameFormatString()
“Subject alternative name format string for custom formats”- Returns:
- property certificateSubjectAlternativeNameFormatString
-
withCertificateSubjectAlternativeNameFormatString
public ManagedDeviceCertificateState withCertificateSubjectAlternativeNameFormatString(String certificateSubjectAlternativeNameFormatString)
Returns an immutable copy ofthiswith just thecertificateSubjectAlternativeNameFormatStringfield 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.“Subject alternative name format string for custom formats”
- Parameters:
certificateSubjectAlternativeNameFormatString- new value ofcertificateSubjectAlternativeNameFormatStringfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateSubjectAlternativeNameFormatStringfield changed
-
getCertificateSubjectNameFormat
public Optional<SubjectNameFormat> getCertificateSubjectNameFormat()
“Subject name format”- Returns:
- property certificateSubjectNameFormat
-
withCertificateSubjectNameFormat
public ManagedDeviceCertificateState withCertificateSubjectNameFormat(SubjectNameFormat certificateSubjectNameFormat)
Returns an immutable copy ofthiswith just thecertificateSubjectNameFormatfield 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.“Subject name format”
- Parameters:
certificateSubjectNameFormat- new value ofcertificateSubjectNameFormatfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateSubjectNameFormatfield changed
-
getCertificateSubjectNameFormatString
public Optional<String> getCertificateSubjectNameFormatString()
“Subject name format string for custom subject name formats”- Returns:
- property certificateSubjectNameFormatString
-
withCertificateSubjectNameFormatString
public ManagedDeviceCertificateState withCertificateSubjectNameFormatString(String certificateSubjectNameFormatString)
Returns an immutable copy ofthiswith just thecertificateSubjectNameFormatStringfield 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.“Subject name format string for custom subject name formats”
- Parameters:
certificateSubjectNameFormatString- new value ofcertificateSubjectNameFormatStringfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateSubjectNameFormatStringfield changed
-
getCertificateThumbprint
public Optional<String> getCertificateThumbprint()
“Thumbprint”- Returns:
- property certificateThumbprint
-
withCertificateThumbprint
public ManagedDeviceCertificateState withCertificateThumbprint(String certificateThumbprint)
Returns an immutable copy ofthiswith just thecertificateThumbprintfield 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.“Thumbprint”
- Parameters:
certificateThumbprint- new value ofcertificateThumbprintfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateThumbprintfield changed
-
getCertificateValidityPeriod
public Optional<Integer> getCertificateValidityPeriod()
“Validity period”- Returns:
- property certificateValidityPeriod
-
withCertificateValidityPeriod
public ManagedDeviceCertificateState withCertificateValidityPeriod(Integer certificateValidityPeriod)
Returns an immutable copy ofthiswith just thecertificateValidityPeriodfield 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.“Validity period”
- Parameters:
certificateValidityPeriod- new value ofcertificateValidityPeriodfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateValidityPeriodfield changed
-
getCertificateValidityPeriodUnits
public Optional<CertificateValidityPeriodScale> getCertificateValidityPeriodUnits()
“Validity period units”- Returns:
- property certificateValidityPeriodUnits
-
withCertificateValidityPeriodUnits
public ManagedDeviceCertificateState withCertificateValidityPeriodUnits(CertificateValidityPeriodScale certificateValidityPeriodUnits)
Returns an immutable copy ofthiswith just thecertificateValidityPeriodUnitsfield 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.“Validity period units”
- Parameters:
certificateValidityPeriodUnits- new value ofcertificateValidityPeriodUnitsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateValidityPeriodUnitsfield changed
-
getDeviceDisplayName
public Optional<String> getDeviceDisplayName()
“Device display name”- Returns:
- property deviceDisplayName
-
withDeviceDisplayName
public ManagedDeviceCertificateState withDeviceDisplayName(String deviceDisplayName)
Returns an immutable copy ofthiswith just thedeviceDisplayNamefield 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.“Device display name”
- Parameters:
deviceDisplayName- new value ofdeviceDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceDisplayNamefield changed
-
getDevicePlatform
public Optional<DevicePlatformType> getDevicePlatform()
“Device platform”- Returns:
- property devicePlatform
-
withDevicePlatform
public ManagedDeviceCertificateState withDevicePlatform(DevicePlatformType devicePlatform)
Returns an immutable copy ofthiswith just thedevicePlatformfield 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.“Device platform”
- Parameters:
devicePlatform- new value ofdevicePlatformfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedevicePlatformfield changed
-
getLastCertificateStateChangeDateTime
public Optional<OffsetDateTime> getLastCertificateStateChangeDateTime()
“Last certificate issuance state change”- Returns:
- property lastCertificateStateChangeDateTime
-
withLastCertificateStateChangeDateTime
public ManagedDeviceCertificateState withLastCertificateStateChangeDateTime(OffsetDateTime lastCertificateStateChangeDateTime)
Returns an immutable copy ofthiswith just thelastCertificateStateChangeDateTimefield 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.“Last certificate issuance state change”
- Parameters:
lastCertificateStateChangeDateTime- new value oflastCertificateStateChangeDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastCertificateStateChangeDateTimefield changed
-
getUserDisplayName
public Optional<String> getUserDisplayName()
“User display name”- Returns:
- property userDisplayName
-
withUserDisplayName
public ManagedDeviceCertificateState withUserDisplayName(String userDisplayName)
Returns an immutable copy ofthiswith just theuserDisplayNamefield 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.“User display name”
- Parameters:
userDisplayName- new value ofuserDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserDisplayNamefield changed
-
withUnmappedField
public ManagedDeviceCertificateState withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ManagedDeviceCertificateState patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagedDeviceCertificateState put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-