@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BaiduChannelRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application.
Constructor and Description |
---|
BaiduChannelRequest() |
Modifier and Type | Method and Description |
---|---|
BaiduChannelRequest |
clone() |
boolean |
equals(Object obj) |
String |
getApiKey()
The API key that you received from the Baidu Cloud Push service to communicate with the service.
|
Boolean |
getEnabled()
Specifies whether to enable the Baidu channel for the application.
|
String |
getSecretKey()
The secret key that you received from the Baidu Cloud Push service to communicate with the service.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether to enable the Baidu channel for the application.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApiKey(String apiKey)
The API key that you received from the Baidu Cloud Push service to communicate with the service.
|
void |
setEnabled(Boolean enabled)
Specifies whether to enable the Baidu channel for the application.
|
void |
setSecretKey(String secretKey)
The secret key that you received from the Baidu Cloud Push service to communicate with the service.
|
String |
toString()
Returns a string representation of this object.
|
BaiduChannelRequest |
withApiKey(String apiKey)
The API key that you received from the Baidu Cloud Push service to communicate with the service.
|
BaiduChannelRequest |
withEnabled(Boolean enabled)
Specifies whether to enable the Baidu channel for the application.
|
BaiduChannelRequest |
withSecretKey(String secretKey)
The secret key that you received from the Baidu Cloud Push service to communicate with the service.
|
public void setApiKey(String apiKey)
The API key that you received from the Baidu Cloud Push service to communicate with the service.
apiKey
- The API key that you received from the Baidu Cloud Push service to communicate with the service.public String getApiKey()
The API key that you received from the Baidu Cloud Push service to communicate with the service.
public BaiduChannelRequest withApiKey(String apiKey)
The API key that you received from the Baidu Cloud Push service to communicate with the service.
apiKey
- The API key that you received from the Baidu Cloud Push service to communicate with the service.public void setEnabled(Boolean enabled)
Specifies whether to enable the Baidu channel for the application.
enabled
- Specifies whether to enable the Baidu channel for the application.public Boolean getEnabled()
Specifies whether to enable the Baidu channel for the application.
public BaiduChannelRequest withEnabled(Boolean enabled)
Specifies whether to enable the Baidu channel for the application.
enabled
- Specifies whether to enable the Baidu channel for the application.public Boolean isEnabled()
Specifies whether to enable the Baidu channel for the application.
public void setSecretKey(String secretKey)
The secret key that you received from the Baidu Cloud Push service to communicate with the service.
secretKey
- The secret key that you received from the Baidu Cloud Push service to communicate with the service.public String getSecretKey()
The secret key that you received from the Baidu Cloud Push service to communicate with the service.
public BaiduChannelRequest withSecretKey(String secretKey)
The secret key that you received from the Baidu Cloud Push service to communicate with the service.
secretKey
- The secret key that you received from the Baidu Cloud Push service to communicate with the service.public String toString()
toString
in class Object
Object.toString()
public BaiduChannelRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.