target.apidocs.com.google.api.services.gmail.model.SmtpMsa.html Maven / Gradle / Ivy
SmtpMsa (Gmail API v1-rev20240422-2.0.0)
com.google.api.services.gmail.model
Class SmtpMsa
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.gmail.model.SmtpMsa
-
public final class SmtpMsa
extends com.google.api.client.json.GenericJson
Configuration for communication with an SMTP service.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
SmtpMsa()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getHost
public String getHost()
The hostname of the SMTP service. Required.
- Returns:
- value or
null
for none
-
setHost
public SmtpMsa setHost(String host)
The hostname of the SMTP service. Required.
- Parameters:
host
- host or null
for none
-
getPassword
public String getPassword()
The password that will be used for authentication with the SMTP service. This is a write-only
field that can be specified in requests to create or update SendAs settings; it is never
populated in responses.
- Returns:
- value or
null
for none
-
setPassword
public SmtpMsa setPassword(String password)
The password that will be used for authentication with the SMTP service. This is a write-only
field that can be specified in requests to create or update SendAs settings; it is never
populated in responses.
- Parameters:
password
- password or null
for none
-
getPort
public Integer getPort()
The port of the SMTP service. Required.
- Returns:
- value or
null
for none
-
setPort
public SmtpMsa setPort(Integer port)
The port of the SMTP service. Required.
- Parameters:
port
- port or null
for none
-
getSecurityMode
public String getSecurityMode()
The protocol that will be used to secure communication with the SMTP service. Required.
- Returns:
- value or
null
for none
-
setSecurityMode
public SmtpMsa setSecurityMode(String securityMode)
The protocol that will be used to secure communication with the SMTP service. Required.
- Parameters:
securityMode
- securityMode or null
for none
-
getUsername
public String getUsername()
The username that will be used for authentication with the SMTP service. This is a write-only
field that can be specified in requests to create or update SendAs settings; it is never
populated in responses.
- Returns:
- value or
null
for none
-
setUsername
public SmtpMsa setUsername(String username)
The username that will be used for authentication with the SMTP service. This is a write-only
field that can be specified in requests to create or update SendAs settings; it is never
populated in responses.
- Parameters:
username
- username or null
for none
-
set
public SmtpMsa set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public SmtpMsa clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy