Package odata.msgraph.client.complex
Class WindowsInformationProtectionDataRecoveryCertificate
- java.lang.Object
-
- odata.msgraph.client.complex.WindowsInformationProtectionDataRecoveryCertificate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsInformationProtectionDataRecoveryCertificate extends Object implements com.github.davidmoten.odata.client.ODataType
“Windows Information Protection DataRecoveryCertificate”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsInformationProtectionDataRecoveryCertificate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected byte[]certificateprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringdescriptionprotected OffsetDateTimeexpirationDateTimeprotected StringodataTypeprotected StringsubjectNameprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsInformationProtectionDataRecoveryCertificate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsInformationProtectionDataRecoveryCertificate.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsInformationProtectionDataRecoveryCertificatewithCertificate(byte[] certificate)Returns an immutable copy ofthiswith just thecertificatefield changed.WindowsInformationProtectionDataRecoveryCertificatewithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.WindowsInformationProtectionDataRecoveryCertificatewithExpirationDateTime(OffsetDateTime expirationDateTime)Returns an immutable copy ofthiswith just theexpirationDateTimefield changed.WindowsInformationProtectionDataRecoveryCertificatewithSubjectName(String subjectName)Returns an immutable copy ofthiswith just thesubjectNamefield changed.WindowsInformationProtectionDataRecoveryCertificatewithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
certificate
protected byte[] certificate
-
description
protected String description
-
expirationDateTime
protected OffsetDateTime expirationDateTime
-
subjectName
protected String subjectName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getCertificate
public Optional<byte[]> getCertificate()
“Data recovery Certificate”- Returns:
- property certificate
-
withCertificate
public WindowsInformationProtectionDataRecoveryCertificate withCertificate(byte[] certificate)
Returns an immutable copy ofthiswith just thecertificatefield 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.“Data recovery Certificate”
- Parameters:
certificate- new value ofcertificatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificatefield changed
-
getDescription
public Optional<String> getDescription()
“Data recovery Certificate description”- Returns:
- property description
-
withDescription
public WindowsInformationProtectionDataRecoveryCertificate withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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.“Data recovery Certificate description”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getExpirationDateTime
public Optional<OffsetDateTime> getExpirationDateTime()
“Data recovery Certificate expiration datetime”- Returns:
- property expirationDateTime
-
withExpirationDateTime
public WindowsInformationProtectionDataRecoveryCertificate withExpirationDateTime(OffsetDateTime expirationDateTime)
Returns an immutable copy ofthiswith just theexpirationDateTimefield 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.“Data recovery Certificate expiration datetime”
- Parameters:
expirationDateTime- new value ofexpirationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexpirationDateTimefield changed
-
getSubjectName
public Optional<String> getSubjectName()
“Data recovery Certificate subject name”- Returns:
- property subjectName
-
withSubjectName
public WindowsInformationProtectionDataRecoveryCertificate withSubjectName(String subjectName)
Returns an immutable copy ofthiswith just thesubjectNamefield 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.“Data recovery Certificate subject name”
- Parameters:
subjectName- new value ofsubjectNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubjectNamefield changed
-
withUnmappedField
public WindowsInformationProtectionDataRecoveryCertificate withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static WindowsInformationProtectionDataRecoveryCertificate.Builder builder()
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
-
-