public final class SmtpMsa
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 |
---|
SmtpMsa() |
Modifier and Type | Method and Description |
---|---|
SmtpMsa |
clone() |
String |
getHost()
The hostname of the SMTP service.
|
String |
getPassword()
The password that will be used for authentication with the SMTP service.
|
Integer |
getPort()
The port of the SMTP service.
|
String |
getSecurityMode()
The protocol that will be used to secure communication with the SMTP service.
|
String |
getUsername()
The username that will be used for authentication with the SMTP service.
|
SmtpMsa |
set(String fieldName,
Object value) |
SmtpMsa |
setHost(String host)
The hostname of the SMTP service.
|
SmtpMsa |
setPassword(String password)
The password that will be used for authentication with the SMTP service.
|
SmtpMsa |
setPort(Integer port)
The port of the SMTP service.
|
SmtpMsa |
setSecurityMode(String securityMode)
The protocol that will be used to secure communication with the SMTP service.
|
SmtpMsa |
setUsername(String username)
The username that will be used for authentication with the SMTP service.
|
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 getHost()
null
for nonepublic SmtpMsa setHost(String host)
host
- host or null
for nonepublic String getPassword()
null
for nonepublic SmtpMsa setPassword(String password)
password
- password or null
for nonepublic Integer getPort()
null
for nonepublic SmtpMsa setPort(Integer port)
port
- port or null
for nonepublic String getSecurityMode()
null
for nonepublic SmtpMsa setSecurityMode(String securityMode)
securityMode
- securityMode or null
for nonepublic String getUsername()
null
for nonepublic SmtpMsa setUsername(String username)
username
- username or null
for nonepublic SmtpMsa set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public SmtpMsa clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.