public final class CseIdentity
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Gmail API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CseIdentity() |
Modifier and Type | Method and Description |
---|---|
CseIdentity |
clone() |
String |
getEmailAddress()
The email address for the sending identity.
|
String |
getPrimaryKeyPairId()
If a key pair is associated, the ID of the key pair, CseKeyPair.
|
SignAndEncryptKeyPairs |
getSignAndEncryptKeyPairs()
The configuration of a CSE identity that uses different key pairs for signing and encryption.
|
CseIdentity |
set(String fieldName,
Object value) |
CseIdentity |
setEmailAddress(String emailAddress)
The email address for the sending identity.
|
CseIdentity |
setPrimaryKeyPairId(String primaryKeyPairId)
If a key pair is associated, the ID of the key pair, CseKeyPair.
|
CseIdentity |
setSignAndEncryptKeyPairs(SignAndEncryptKeyPairs signAndEncryptKeyPairs)
The configuration of a CSE identity that uses different key pairs for signing and encryption.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getEmailAddress()
null
for nonepublic CseIdentity setEmailAddress(String emailAddress)
emailAddress
- emailAddress or null
for nonepublic String getPrimaryKeyPairId()
null
for nonepublic CseIdentity setPrimaryKeyPairId(String primaryKeyPairId)
primaryKeyPairId
- primaryKeyPairId or null
for nonepublic SignAndEncryptKeyPairs getSignAndEncryptKeyPairs()
null
for nonepublic CseIdentity setSignAndEncryptKeyPairs(SignAndEncryptKeyPairs signAndEncryptKeyPairs)
signAndEncryptKeyPairs
- signAndEncryptKeyPairs or null
for nonepublic CseIdentity set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public CseIdentity clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.