Package odata.msgraph.client.beta.entity
Class UserPFXCertificate
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.UserPFXCertificate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UserPFXCertificate extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity that encapsulates all information required for a user's PFX certificates.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserPFXCertificate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected byte[]encryptedPfxBlobprotected StringencryptedPfxPasswordprotected OffsetDateTimeexpirationDateTimeprotected UserPfxIntendedPurposeintendedPurposeprotected StringkeyNameprotected OffsetDateTimelastModifiedDateTimeprotected UserPfxPaddingSchemepaddingSchemeprotected StringproviderNameprotected OffsetDateTimestartDateTimeprotected Stringthumbprintprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserPFXCertificate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserPFXCertificate.BuilderbuilderUserPFXCertificate()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“Date/time when this PFX certificate was imported.”Optional<byte[]>getEncryptedPfxBlob()“Encrypted PFX blob.”Optional<String>getEncryptedPfxPassword()“Encrypted PFX password.”Optional<OffsetDateTime>getExpirationDateTime()“Certificate's validity expiration date/time.”Optional<UserPfxIntendedPurpose>getIntendedPurpose()“Certificate's intended purpose from the point-of-view of deployment.”Optional<String>getKeyName()“Name of the key (within the provider) used to encrypt the blob.”Optional<OffsetDateTime>getLastModifiedDateTime()“Date/time when this PFX certificate was last modified.”Optional<UserPfxPaddingScheme>getPaddingScheme()“Padding scheme used by the provider during encryption/decryption.”Optional<String>getProviderName()“Crypto provider used to encrypt this blob.”Optional<OffsetDateTime>getStartDateTime()“Certificate's validity start date/time.”Optional<String>getThumbprint()“SHA-1 thumbprint of the PFX certificate.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserPrincipalName()“User Principal Name of the PFX certificate.”StringodataTypeName()UserPFXCertificatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UserPFXCertificateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UserPFXCertificatewithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.UserPFXCertificatewithEncryptedPfxBlob(byte[] encryptedPfxBlob)Returns an immutable copy ofthiswith just theencryptedPfxBlobfield changed.UserPFXCertificatewithEncryptedPfxPassword(String encryptedPfxPassword)Returns an immutable copy ofthiswith just theencryptedPfxPasswordfield changed.UserPFXCertificatewithExpirationDateTime(OffsetDateTime expirationDateTime)Returns an immutable copy ofthiswith just theexpirationDateTimefield changed.UserPFXCertificatewithIntendedPurpose(UserPfxIntendedPurpose intendedPurpose)Returns an immutable copy ofthiswith just theintendedPurposefield changed.UserPFXCertificatewithKeyName(String keyName)Returns an immutable copy ofthiswith just thekeyNamefield changed.UserPFXCertificatewithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.UserPFXCertificatewithPaddingScheme(UserPfxPaddingScheme paddingScheme)Returns an immutable copy ofthiswith just thepaddingSchemefield changed.UserPFXCertificatewithProviderName(String providerName)Returns an immutable copy ofthiswith just theproviderNamefield changed.UserPFXCertificatewithStartDateTime(OffsetDateTime startDateTime)Returns an immutable copy ofthiswith just thestartDateTimefield changed.UserPFXCertificatewithThumbprint(String thumbprint)Returns an immutable copy ofthiswith just thethumbprintfield changed.UserPFXCertificatewithUnmappedField(String name, String value)UserPFXCertificatewithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
encryptedPfxBlob
protected byte[] encryptedPfxBlob
-
encryptedPfxPassword
protected String encryptedPfxPassword
-
expirationDateTime
protected OffsetDateTime expirationDateTime
-
intendedPurpose
protected UserPfxIntendedPurpose intendedPurpose
-
keyName
protected String keyName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
paddingScheme
protected UserPfxPaddingScheme paddingScheme
-
providerName
protected String providerName
-
startDateTime
protected OffsetDateTime startDateTime
-
thumbprint
protected String thumbprint
-
userPrincipalName
protected String userPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUserPFXCertificate
public static UserPFXCertificate.Builder builderUserPFXCertificate()
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
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“Date/time when this PFX certificate was imported.”- Returns:
- property createdDateTime
-
withCreatedDateTime
public UserPFXCertificate withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy ofthiswith just thecreatedDateTimefield 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.“Date/time when this PFX certificate was imported.”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getEncryptedPfxBlob
public Optional<byte[]> getEncryptedPfxBlob()
“Encrypted PFX blob.”- Returns:
- property encryptedPfxBlob
-
withEncryptedPfxBlob
public UserPFXCertificate withEncryptedPfxBlob(byte[] encryptedPfxBlob)
Returns an immutable copy ofthiswith just theencryptedPfxBlobfield 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.“Encrypted PFX blob.”
- Parameters:
encryptedPfxBlob- new value ofencryptedPfxBlobfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theencryptedPfxBlobfield changed
-
getEncryptedPfxPassword
public Optional<String> getEncryptedPfxPassword()
“Encrypted PFX password.”- Returns:
- property encryptedPfxPassword
-
withEncryptedPfxPassword
public UserPFXCertificate withEncryptedPfxPassword(String encryptedPfxPassword)
Returns an immutable copy ofthiswith just theencryptedPfxPasswordfield 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.“Encrypted PFX password.”
- Parameters:
encryptedPfxPassword- new value ofencryptedPfxPasswordfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theencryptedPfxPasswordfield changed
-
getExpirationDateTime
public Optional<OffsetDateTime> getExpirationDateTime()
“Certificate's validity expiration date/time.”- Returns:
- property expirationDateTime
-
withExpirationDateTime
public UserPFXCertificate 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.“Certificate's validity expiration date/time.”
- Parameters:
expirationDateTime- new value ofexpirationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexpirationDateTimefield changed
-
getIntendedPurpose
public Optional<UserPfxIntendedPurpose> getIntendedPurpose()
“Certificate's intended purpose from the point-of-view of deployment.”- Returns:
- property intendedPurpose
-
withIntendedPurpose
public UserPFXCertificate withIntendedPurpose(UserPfxIntendedPurpose intendedPurpose)
Returns an immutable copy ofthiswith just theintendedPurposefield 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's intended purpose from the point-of-view of deployment.”
- Parameters:
intendedPurpose- new value ofintendedPurposefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theintendedPurposefield changed
-
getKeyName
public Optional<String> getKeyName()
“Name of the key (within the provider) used to encrypt the blob.”- Returns:
- property keyName
-
withKeyName
public UserPFXCertificate withKeyName(String keyName)
Returns an immutable copy ofthiswith just thekeyNamefield 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.“Name of the key (within the provider) used to encrypt the blob.”
- Parameters:
keyName- new value ofkeyNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekeyNamefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“Date/time when this PFX certificate was last modified.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public UserPFXCertificate withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield 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.“Date/time when this PFX certificate was last modified.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getPaddingScheme
public Optional<UserPfxPaddingScheme> getPaddingScheme()
“Padding scheme used by the provider during encryption/decryption.”- Returns:
- property paddingScheme
-
withPaddingScheme
public UserPFXCertificate withPaddingScheme(UserPfxPaddingScheme paddingScheme)
Returns an immutable copy ofthiswith just thepaddingSchemefield 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.“Padding scheme used by the provider during encryption/decryption.”
- Parameters:
paddingScheme- new value ofpaddingSchemefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepaddingSchemefield changed
-
getProviderName
public Optional<String> getProviderName()
“Crypto provider used to encrypt this blob.”- Returns:
- property providerName
-
withProviderName
public UserPFXCertificate withProviderName(String providerName)
Returns an immutable copy ofthiswith just theproviderNamefield 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.“Crypto provider used to encrypt this blob.”
- Parameters:
providerName- new value ofproviderNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproviderNamefield changed
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
“Certificate's validity start date/time.”- Returns:
- property startDateTime
-
withStartDateTime
public UserPFXCertificate withStartDateTime(OffsetDateTime startDateTime)
Returns an immutable copy ofthiswith just thestartDateTimefield 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's validity start date/time.”
- Parameters:
startDateTime- new value ofstartDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestartDateTimefield changed
-
getThumbprint
public Optional<String> getThumbprint()
“SHA-1 thumbprint of the PFX certificate.”- Returns:
- property thumbprint
-
withThumbprint
public UserPFXCertificate withThumbprint(String thumbprint)
Returns an immutable copy ofthiswith just thethumbprintfield 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.“SHA-1 thumbprint of the PFX certificate.”
- Parameters:
thumbprint- new value ofthumbprintfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thethumbprintfield changed
-
getUserPrincipalName
public Optional<String> getUserPrincipalName()
“User Principal Name of the PFX certificate.”- Returns:
- property userPrincipalName
-
withUserPrincipalName
public UserPFXCertificate withUserPrincipalName(String userPrincipalName)
Returns an immutable copy ofthiswith just theuserPrincipalNamefield 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 Principal Name of the PFX certificate.”
- Parameters:
userPrincipalName- new value ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
withUnmappedField
public UserPFXCertificate 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 UserPFXCertificate patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UserPFXCertificate put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-