Constructor and Description |
---|
GoogleMailStreamConfiguration() |
Modifier and Type | Method and Description |
---|---|
GoogleMailStreamConfiguration |
copy() |
String |
getAccessToken() |
String |
getApplicationName() |
String |
getClientId() |
String |
getClientSecret() |
String |
getIndex() |
String |
getLabels() |
long |
getMaxResults() |
String |
getQuery() |
String |
getRefreshToken() |
boolean |
isMarkAsRead() |
void |
setAccessToken(String accessToken)
OAuth 2 access token.
|
void |
setApplicationName(String applicationName)
Google mail application name.
|
void |
setClientId(String clientId)
Client ID of the mail application
|
void |
setClientSecret(String clientSecret)
Client secret of the mail application
|
void |
setIndex(String index)
Specifies an index for the endpoint
|
void |
setLabels(String labels)
Comma separated list of labels to take into account
|
void |
setMarkAsRead(boolean markAsRead)
Mark the message as read once it has been consumed
|
void |
setMaxResults(long maxResults)
Max results to be returned
|
void |
setQuery(String query)
The query to execute on gmail box
|
void |
setRefreshToken(String refreshToken)
OAuth 2 refresh token.
|
public String getClientId()
public void setClientId(String clientId)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public String getAccessToken()
public void setAccessToken(String accessToken)
public String getRefreshToken()
public void setRefreshToken(String refreshToken)
public String getApplicationName()
public void setApplicationName(String applicationName)
public String getIndex()
public void setIndex(String index)
public String getQuery()
public void setQuery(String query)
public long getMaxResults()
public void setMaxResults(long maxResults)
public String getLabels()
public void setLabels(String labels)
public boolean isMarkAsRead()
public void setMarkAsRead(boolean markAsRead)
public GoogleMailStreamConfiguration copy()
Apache Camel