public class GCMChannelRequest
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GCMChannelRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApiKey()
Platform credential API key from Google.
|
java.lang.Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
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 Google.
|
void |
setEnabled(java.lang.Boolean enabled)
If the channel is enabled for sending messages.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GCMChannelRequest |
withApiKey(java.lang.String apiKey)
Platform credential API key from Google.
|
GCMChannelRequest |
withEnabled(java.lang.Boolean enabled)
If the channel is enabled for sending messages.
|
public java.lang.String getApiKey()
public void setApiKey(java.lang.String apiKey)
apiKey
- Platform credential API key from Google.public GCMChannelRequest 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 Google.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 GCMChannelRequest 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 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.