public class BaiduChannelRequest
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
BaiduChannelRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApiKey()
Platform credential API key from Baidu.
|
java.lang.Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
java.lang.String |
getSecretKey()
Platform credential Secret key from Baidu.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
void |
setApiKey(java.lang.String apiKey)
Platform credential API key from Baidu.
|
void |
setEnabled(java.lang.Boolean enabled)
If the channel is enabled for sending messages.
|
void |
setSecretKey(java.lang.String secretKey)
Platform credential Secret key from Baidu.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BaiduChannelRequest |
withApiKey(java.lang.String apiKey)
Platform credential API key from Baidu.
|
BaiduChannelRequest |
withEnabled(java.lang.Boolean enabled)
If the channel is enabled for sending messages.
|
BaiduChannelRequest |
withSecretKey(java.lang.String secretKey)
Platform credential Secret key from Baidu.
|
public java.lang.String getApiKey()
public void setApiKey(java.lang.String apiKey)
apiKey
- Platform credential API key from Baidu.public BaiduChannelRequest withApiKey(java.lang.String apiKey)
Returns a reference to this object so that method calls can be chained together.
apiKey
- Platform credential API key from Baidu.public java.lang.Boolean isEnabled()
public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean enabled)
enabled
- If the channel is enabled for sending messages.public BaiduChannelRequest withEnabled(java.lang.Boolean enabled)
Returns a reference to this object so that method calls can be chained together.
enabled
- If the channel is enabled for sending messages.public java.lang.String getSecretKey()
public void setSecretKey(java.lang.String secretKey)
secretKey
- Platform credential Secret key from Baidu.public BaiduChannelRequest withSecretKey(java.lang.String secretKey)
Returns a reference to this object so that method calls can be chained together.
secretKey
- Platform credential Secret key from Baidu.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.