public class WindowsInformationProtectionDataRecoveryCertificate extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsInformationProtectionDataRecoveryCertificate.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
certificate |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
description |
protected OffsetDateTime |
expirationDateTime |
protected String |
odataType |
protected String |
subjectName |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
WindowsInformationProtectionDataRecoveryCertificate() |
| Modifier and Type | Method and Description |
|---|---|
static WindowsInformationProtectionDataRecoveryCertificate.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<byte[]> |
getCertificate()
“Data recovery Certificate”
|
Optional<String> |
getDescription()
“Data recovery Certificate description”
|
Optional<OffsetDateTime> |
getExpirationDateTime()
“Data recovery Certificate expiration datetime”
|
Optional<String> |
getSubjectName()
“Data recovery Certificate subject name”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
WindowsInformationProtectionDataRecoveryCertificate |
withCertificate(byte[] certificate)
Returns an immutable copy of
this with just the certificate
field changed. |
WindowsInformationProtectionDataRecoveryCertificate |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
WindowsInformationProtectionDataRecoveryCertificate |
withExpirationDateTime(OffsetDateTime expirationDateTime)
Returns an immutable copy of
this with just the expirationDateTime field changed. |
WindowsInformationProtectionDataRecoveryCertificate |
withSubjectName(String subjectName)
Returns an immutable copy of
this with just the subjectName
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String subjectName
protected String description
protected OffsetDateTime expirationDateTime
protected byte[] certificate
protected WindowsInformationProtectionDataRecoveryCertificate()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getSubjectName()
public WindowsInformationProtectionDataRecoveryCertificate withSubjectName(String subjectName)
this with just the subjectName
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.
“Data recovery Certificate subject name”
subjectName - new value of subjectName field (as defined in service metadata)this with just the subjectName field changedpublic Optional<String> getDescription()
public WindowsInformationProtectionDataRecoveryCertificate withDescription(String description)
this with just the description
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.
“Data recovery Certificate description”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<OffsetDateTime> getExpirationDateTime()
public WindowsInformationProtectionDataRecoveryCertificate withExpirationDateTime(OffsetDateTime expirationDateTime)
this with just the expirationDateTime 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.
“Data recovery Certificate expiration datetime”
expirationDateTime - new value of expirationDateTime field (as defined in service metadata)this with just the expirationDateTime field changedpublic Optional<byte[]> getCertificate()
public WindowsInformationProtectionDataRecoveryCertificate withCertificate(byte[] certificate)
this with just the certificate
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.
“Data recovery Certificate”
certificate - new value of certificate field (as defined in service metadata)this with just the certificate field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static WindowsInformationProtectionDataRecoveryCertificate.Builder builder()
Copyright © 2018–2020. All rights reserved.