public class ManagedDeviceCertificateState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ManagedDeviceCertificateState.Builder |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ManagedDeviceCertificateState() |
| Modifier and Type | Method and Description |
|---|---|
static ManagedDeviceCertificateState.Builder |
builderManagedDeviceCertificateState()
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.ChangedFields |
getChangedFields() |
Optional<String> |
getDeviceDisplayName()
“Device display name”
|
Optional<DevicePlatformType> |
getDevicePlatform()
“Device platform”
|
Optional<OffsetDateTime> |
getLastCertificateStateChangeDateTime()
“Last certificate issuance state change”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserDisplayName()
“User display name”
|
String |
odataTypeName() |
ManagedDeviceCertificateState |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ManagedDeviceCertificateState |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ManagedDeviceCertificateState |
withCertificateEnhancedKeyUsage(String certificateEnhancedKeyUsage)
Returns an immutable copy of
this with just the certificateEnhancedKeyUsage field changed. |
ManagedDeviceCertificateState |
withCertificateErrorCode(Integer certificateErrorCode)
Returns an immutable copy of
this with just the certificateErrorCode field changed. |
ManagedDeviceCertificateState |
withCertificateExpirationDateTime(OffsetDateTime certificateExpirationDateTime)
Returns an immutable copy of
this with just the certificateExpirationDateTime field changed. |
ManagedDeviceCertificateState |
withCertificateIssuanceDateTime(OffsetDateTime certificateIssuanceDateTime)
Returns an immutable copy of
this with just the certificateIssuanceDateTime field changed. |
ManagedDeviceCertificateState |
withCertificateIssuanceState(CertificateIssuanceStates certificateIssuanceState)
Returns an immutable copy of
this with just the certificateIssuanceState field changed. |
ManagedDeviceCertificateState |
withCertificateIssuer(String certificateIssuer)
Returns an immutable copy of
this with just the certificateIssuer
field changed. |
ManagedDeviceCertificateState |
withCertificateKeyLength(Integer certificateKeyLength)
Returns an immutable copy of
this with just the certificateKeyLength field changed. |
ManagedDeviceCertificateState |
withCertificateKeyStorageProvider(KeyStorageProviderOption certificateKeyStorageProvider)
Returns an immutable copy of
this with just the certificateKeyStorageProvider field changed. |
ManagedDeviceCertificateState |
withCertificateKeyUsage(KeyUsages certificateKeyUsage)
Returns an immutable copy of
this with just the certificateKeyUsage field changed. |
ManagedDeviceCertificateState |
withCertificateLastIssuanceStateChangedDateTime(OffsetDateTime certificateLastIssuanceStateChangedDateTime)
Returns an immutable copy of
this with just the certificateLastIssuanceStateChangedDateTime field changed. |
ManagedDeviceCertificateState |
withCertificateProfileDisplayName(String certificateProfileDisplayName)
Returns an immutable copy of
this with just the certificateProfileDisplayName field changed. |
ManagedDeviceCertificateState |
withCertificateRevokeStatus(CertificateRevocationStatus certificateRevokeStatus)
Returns an immutable copy of
this with just the certificateRevokeStatus field changed. |
ManagedDeviceCertificateState |
withCertificateSerialNumber(String certificateSerialNumber)
Returns an immutable copy of
this with just the certificateSerialNumber field changed. |
ManagedDeviceCertificateState |
withCertificateSubjectAlternativeNameFormat(SubjectAlternativeNameType certificateSubjectAlternativeNameFormat)
Returns an immutable copy of
this with just the certificateSubjectAlternativeNameFormat field changed. |
ManagedDeviceCertificateState |
withCertificateSubjectAlternativeNameFormatString(String certificateSubjectAlternativeNameFormatString)
Returns an immutable copy of
this with just the certificateSubjectAlternativeNameFormatString field changed. |
ManagedDeviceCertificateState |
withCertificateSubjectNameFormat(SubjectNameFormat certificateSubjectNameFormat)
Returns an immutable copy of
this with just the certificateSubjectNameFormat field changed. |
ManagedDeviceCertificateState |
withCertificateSubjectNameFormatString(String certificateSubjectNameFormatString)
Returns an immutable copy of
this with just the certificateSubjectNameFormatString field changed. |
ManagedDeviceCertificateState |
withCertificateThumbprint(String certificateThumbprint)
Returns an immutable copy of
this with just the certificateThumbprint field changed. |
ManagedDeviceCertificateState |
withCertificateValidityPeriod(Integer certificateValidityPeriod)
Returns an immutable copy of
this with just the certificateValidityPeriod field changed. |
ManagedDeviceCertificateState |
withCertificateValidityPeriodUnits(CertificateValidityPeriodScale certificateValidityPeriodUnits)
Returns an immutable copy of
this with just the certificateValidityPeriodUnits field changed. |
ManagedDeviceCertificateState |
withDeviceDisplayName(String deviceDisplayName)
Returns an immutable copy of
this with just the deviceDisplayName
field changed. |
ManagedDeviceCertificateState |
withDevicePlatform(DevicePlatformType devicePlatform)
Returns an immutable copy of
this with just the devicePlatform
field changed. |
ManagedDeviceCertificateState |
withLastCertificateStateChangeDateTime(OffsetDateTime lastCertificateStateChangeDateTime)
Returns an immutable copy of
this with just the lastCertificateStateChangeDateTime field changed. |
ManagedDeviceCertificateState |
withUserDisplayName(String userDisplayName)
Returns an immutable copy of
this with just the userDisplayName
field changed. |
protected DevicePlatformType devicePlatform
protected KeyUsages certificateKeyUsage
protected CertificateValidityPeriodScale certificateValidityPeriodUnits
protected CertificateIssuanceStates certificateIssuanceState
protected KeyStorageProviderOption certificateKeyStorageProvider
protected SubjectNameFormat certificateSubjectNameFormat
protected SubjectAlternativeNameType certificateSubjectAlternativeNameFormat
protected CertificateRevocationStatus certificateRevokeStatus
protected String certificateProfileDisplayName
protected String deviceDisplayName
protected String userDisplayName
protected OffsetDateTime certificateExpirationDateTime
protected OffsetDateTime certificateLastIssuanceStateChangedDateTime
protected OffsetDateTime lastCertificateStateChangeDateTime
protected String certificateIssuer
protected String certificateThumbprint
protected String certificateSerialNumber
protected Integer certificateKeyLength
protected String certificateEnhancedKeyUsage
protected Integer certificateValidityPeriod
protected String certificateSubjectNameFormatString
protected String certificateSubjectAlternativeNameFormatString
protected OffsetDateTime certificateIssuanceDateTime
protected Integer certificateErrorCode
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ManagedDeviceCertificateState.Builder builderManagedDeviceCertificateState()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<DevicePlatformType> getDevicePlatform()
public ManagedDeviceCertificateState withDevicePlatform(DevicePlatformType devicePlatform)
this with just the devicePlatform
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Device platform”
devicePlatform - new value of devicePlatform field (as defined in service metadata)this with just the devicePlatform field changedpublic Optional<KeyUsages> getCertificateKeyUsage()
public ManagedDeviceCertificateState withCertificateKeyUsage(KeyUsages certificateKeyUsage)
this with just the certificateKeyUsage field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Key usage”
certificateKeyUsage - new value of certificateKeyUsage field (as defined in service metadata)this with just the certificateKeyUsage field changedpublic Optional<CertificateValidityPeriodScale> getCertificateValidityPeriodUnits()
public ManagedDeviceCertificateState withCertificateValidityPeriodUnits(CertificateValidityPeriodScale certificateValidityPeriodUnits)
this with just the certificateValidityPeriodUnits field changed. Field description below. The
field name is also added to an internal map of changed fields in the returned
object so that when this.patch() is called (if available)on the returned
object only the changed fields are submitted.
“Validity period units”
certificateValidityPeriodUnits - new value of certificateValidityPeriodUnits field (as defined in service metadata)this with just the certificateValidityPeriodUnits field changedpublic Optional<CertificateIssuanceStates> getCertificateIssuanceState()
public ManagedDeviceCertificateState withCertificateIssuanceState(CertificateIssuanceStates certificateIssuanceState)
this with just the certificateIssuanceState field changed. Field description below. The field name
is also added to an internal map of changed fields in the returned object so
that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Issuance State”
certificateIssuanceState - new value of certificateIssuanceState field (as defined in service metadata)this with just the certificateIssuanceState field changedpublic Optional<KeyStorageProviderOption> getCertificateKeyStorageProvider()
public ManagedDeviceCertificateState withCertificateKeyStorageProvider(KeyStorageProviderOption certificateKeyStorageProvider)
this with just the certificateKeyStorageProvider field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Key Storage Provider”
certificateKeyStorageProvider - new value of certificateKeyStorageProvider field (as defined in service metadata)this with just the certificateKeyStorageProvider field changedpublic Optional<SubjectNameFormat> getCertificateSubjectNameFormat()
public ManagedDeviceCertificateState withCertificateSubjectNameFormat(SubjectNameFormat certificateSubjectNameFormat)
this with just the certificateSubjectNameFormat field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Subject name format”
certificateSubjectNameFormat - new value of certificateSubjectNameFormat field (as defined in service metadata)this with just the certificateSubjectNameFormat field changedpublic Optional<SubjectAlternativeNameType> getCertificateSubjectAlternativeNameFormat()
public ManagedDeviceCertificateState withCertificateSubjectAlternativeNameFormat(SubjectAlternativeNameType certificateSubjectAlternativeNameFormat)
this with just the certificateSubjectAlternativeNameFormat field changed. Field description below.
The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“Subject alternative name format”
certificateSubjectAlternativeNameFormat - new value of certificateSubjectAlternativeNameFormat field (as defined in service metadata)this with just the certificateSubjectAlternativeNameFormat field changedpublic Optional<CertificateRevocationStatus> getCertificateRevokeStatus()
public ManagedDeviceCertificateState withCertificateRevokeStatus(CertificateRevocationStatus certificateRevokeStatus)
this with just the certificateRevokeStatus field changed. Field description below. The field name
is also added to an internal map of changed fields in the returned object so
that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Revoke status”
certificateRevokeStatus - new value of certificateRevokeStatus field (as defined in service metadata)this with just the certificateRevokeStatus field changedpublic Optional<String> getCertificateProfileDisplayName()
public ManagedDeviceCertificateState withCertificateProfileDisplayName(String certificateProfileDisplayName)
this with just the certificateProfileDisplayName field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Certificate profile display name”
certificateProfileDisplayName - new value of certificateProfileDisplayName field (as defined in service metadata)this with just the certificateProfileDisplayName field changedpublic Optional<String> getDeviceDisplayName()
public ManagedDeviceCertificateState withDeviceDisplayName(String deviceDisplayName)
this with just the deviceDisplayName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Device display name”
deviceDisplayName - new value of deviceDisplayName field (as defined in service metadata)this with just the deviceDisplayName field changedpublic Optional<String> getUserDisplayName()
public ManagedDeviceCertificateState withUserDisplayName(String userDisplayName)
this with just the userDisplayName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“User display name”
userDisplayName - new value of userDisplayName field (as defined in service metadata)this with just the userDisplayName field changedpublic Optional<OffsetDateTime> getCertificateExpirationDateTime()
public ManagedDeviceCertificateState withCertificateExpirationDateTime(OffsetDateTime certificateExpirationDateTime)
this with just the certificateExpirationDateTime field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Certificate expiry date”
certificateExpirationDateTime - new value of certificateExpirationDateTime field (as defined in service metadata)this with just the certificateExpirationDateTime field changedpublic Optional<OffsetDateTime> getCertificateLastIssuanceStateChangedDateTime()
public ManagedDeviceCertificateState withCertificateLastIssuanceStateChangedDateTime(OffsetDateTime certificateLastIssuanceStateChangedDateTime)
this with just the certificateLastIssuanceStateChangedDateTime field changed. Field description
below. The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“Last certificate issuance state change”
certificateLastIssuanceStateChangedDateTime - new value of certificateLastIssuanceStateChangedDateTime field (as defined in service metadata)this with just the certificateLastIssuanceStateChangedDateTime field changedpublic Optional<OffsetDateTime> getLastCertificateStateChangeDateTime()
public ManagedDeviceCertificateState withLastCertificateStateChangeDateTime(OffsetDateTime lastCertificateStateChangeDateTime)
this with just the lastCertificateStateChangeDateTime field changed. Field description below. The
field name is also added to an internal map of changed fields in the returned
object so that when this.patch() is called (if available)on the returned
object only the changed fields are submitted.
“Last certificate issuance state change”
lastCertificateStateChangeDateTime - new value of lastCertificateStateChangeDateTime field (as defined in service metadata)this with just the lastCertificateStateChangeDateTime field changedpublic Optional<String> getCertificateIssuer()
public ManagedDeviceCertificateState withCertificateIssuer(String certificateIssuer)
this with just the certificateIssuer
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Issuer”
certificateIssuer - new value of certificateIssuer field (as defined in service metadata)this with just the certificateIssuer field changedpublic Optional<String> getCertificateThumbprint()
public ManagedDeviceCertificateState withCertificateThumbprint(String certificateThumbprint)
this with just the certificateThumbprint field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Thumbprint”
certificateThumbprint - new value of certificateThumbprint field (as defined in service metadata)this with just the certificateThumbprint field changedpublic Optional<String> getCertificateSerialNumber()
public ManagedDeviceCertificateState withCertificateSerialNumber(String certificateSerialNumber)
this with just the certificateSerialNumber field changed. Field description below. The field name
is also added to an internal map of changed fields in the returned object so
that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Serial number”
certificateSerialNumber - new value of certificateSerialNumber field (as defined in service metadata)this with just the certificateSerialNumber field changedpublic Optional<Integer> getCertificateKeyLength()
public ManagedDeviceCertificateState withCertificateKeyLength(Integer certificateKeyLength)
this with just the certificateKeyLength field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Key length”
certificateKeyLength - new value of certificateKeyLength field (as defined in service metadata)this with just the certificateKeyLength field changedpublic Optional<String> getCertificateEnhancedKeyUsage()
public ManagedDeviceCertificateState withCertificateEnhancedKeyUsage(String certificateEnhancedKeyUsage)
this with just the certificateEnhancedKeyUsage field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Extended key usage”
certificateEnhancedKeyUsage - new value of certificateEnhancedKeyUsage field (as defined in service metadata)this with just the certificateEnhancedKeyUsage field changedpublic Optional<Integer> getCertificateValidityPeriod()
public ManagedDeviceCertificateState withCertificateValidityPeriod(Integer certificateValidityPeriod)
this with just the certificateValidityPeriod field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Validity period”
certificateValidityPeriod - new value of certificateValidityPeriod field (as defined in service metadata)this with just the certificateValidityPeriod field changedpublic Optional<String> getCertificateSubjectNameFormatString()
public ManagedDeviceCertificateState withCertificateSubjectNameFormatString(String certificateSubjectNameFormatString)
this with just the certificateSubjectNameFormatString field changed. Field description below. The
field name is also added to an internal map of changed fields in the returned
object so that when this.patch() is called (if available)on the returned
object only the changed fields are submitted.
“Subject name format string for custom subject name formats”
certificateSubjectNameFormatString - new value of certificateSubjectNameFormatString field (as defined in service metadata)this with just the certificateSubjectNameFormatString field changedpublic Optional<String> getCertificateSubjectAlternativeNameFormatString()
public ManagedDeviceCertificateState withCertificateSubjectAlternativeNameFormatString(String certificateSubjectAlternativeNameFormatString)
this with just the certificateSubjectAlternativeNameFormatString field changed. Field description
below. The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“Subject alternative name format string for custom formats”
certificateSubjectAlternativeNameFormatString - new value of certificateSubjectAlternativeNameFormatString field (as defined in service metadata)this with just the certificateSubjectAlternativeNameFormatString field changedpublic Optional<OffsetDateTime> getCertificateIssuanceDateTime()
public ManagedDeviceCertificateState withCertificateIssuanceDateTime(OffsetDateTime certificateIssuanceDateTime)
this with just the certificateIssuanceDateTime field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Issuance date”
certificateIssuanceDateTime - new value of certificateIssuanceDateTime field (as defined in service metadata)this with just the certificateIssuanceDateTime field changedpublic Optional<Integer> getCertificateErrorCode()
public ManagedDeviceCertificateState withCertificateErrorCode(Integer certificateErrorCode)
this with just the certificateErrorCode field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Error code”
certificateErrorCode - new value of certificateErrorCode field (as defined in service metadata)this with just the certificateErrorCode field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ManagedDeviceCertificateState patch()
this with changed fields reset.public ManagedDeviceCertificateState put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.