@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ADMChannelRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the status and settings of the ADM (Amazon Device Messaging) channel for an application.
Constructor and Description |
---|
ADMChannelRequest() |
Modifier and Type | Method and Description |
---|---|
ADMChannelRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientId()
The Client ID that you received from Amazon to send messages by using ADM.
|
String |
getClientSecret()
The Client Secret that you received from Amazon to send messages by using ADM.
|
Boolean |
getEnabled()
Specifies whether to enable the ADM channel for the application.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether to enable the ADM channel for the application.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientId(String clientId)
The Client ID that you received from Amazon to send messages by using ADM.
|
void |
setClientSecret(String clientSecret)
The Client Secret that you received from Amazon to send messages by using ADM.
|
void |
setEnabled(Boolean enabled)
Specifies whether to enable the ADM channel for the application.
|
String |
toString()
Returns a string representation of this object.
|
ADMChannelRequest |
withClientId(String clientId)
The Client ID that you received from Amazon to send messages by using ADM.
|
ADMChannelRequest |
withClientSecret(String clientSecret)
The Client Secret that you received from Amazon to send messages by using ADM.
|
ADMChannelRequest |
withEnabled(Boolean enabled)
Specifies whether to enable the ADM channel for the application.
|
public void setClientId(String clientId)
The Client ID that you received from Amazon to send messages by using ADM.
clientId
- The Client ID that you received from Amazon to send messages by using ADM.public String getClientId()
The Client ID that you received from Amazon to send messages by using ADM.
public ADMChannelRequest withClientId(String clientId)
The Client ID that you received from Amazon to send messages by using ADM.
clientId
- The Client ID that you received from Amazon to send messages by using ADM.public void setClientSecret(String clientSecret)
The Client Secret that you received from Amazon to send messages by using ADM.
clientSecret
- The Client Secret that you received from Amazon to send messages by using ADM.public String getClientSecret()
The Client Secret that you received from Amazon to send messages by using ADM.
public ADMChannelRequest withClientSecret(String clientSecret)
The Client Secret that you received from Amazon to send messages by using ADM.
clientSecret
- The Client Secret that you received from Amazon to send messages by using ADM.public void setEnabled(Boolean enabled)
Specifies whether to enable the ADM channel for the application.
enabled
- Specifies whether to enable the ADM channel for the application.public Boolean getEnabled()
Specifies whether to enable the ADM channel for the application.
public ADMChannelRequest withEnabled(Boolean enabled)
Specifies whether to enable the ADM channel for the application.
enabled
- Specifies whether to enable the ADM channel for the application.public Boolean isEnabled()
Specifies whether to enable the ADM channel for the application.
public String toString()
toString
in class Object
Object.toString()
public ADMChannelRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.