@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GCMChannelRequest extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
GCMChannelRequest() |
Modifier and Type | Method and Description |
---|---|
GCMChannelRequest |
clone() |
boolean |
equals(Object obj) |
String |
getApiKey()
Platform credential API key from Google.
|
Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
int |
hashCode() |
Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApiKey(String apiKey)
Platform credential API key from Google.
|
void |
setEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GCMChannelRequest |
withApiKey(String apiKey)
Platform credential API key from Google.
|
GCMChannelRequest |
withEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
public void setApiKey(String apiKey)
apiKey
- Platform credential API key from Google.public String getApiKey()
public GCMChannelRequest withApiKey(String apiKey)
apiKey
- Platform credential API key from Google.public void setEnabled(Boolean enabled)
enabled
- If the channel is enabled for sending messages.public Boolean getEnabled()
public GCMChannelRequest withEnabled(Boolean enabled)
enabled
- If the channel is enabled for sending messages.public Boolean isEnabled()
public String toString()
toString
in class Object
Object.toString()
public GCMChannelRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.