public class GCMChannelResponse extends Object implements Serializable
| Constructor and Description |
|---|
GCMChannelResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application to which the channel applies.
|
String |
getCreationDate()
When was this segment created
|
String |
getCredential()
The GCM API key from Google.
|
Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
Boolean |
getHasCredential()
Indicates whether the channel is configured with FCM or GCM credentials.
|
String |
getId()
Channel ID.
|
Boolean |
getIsArchived()
Is this channel archived
|
String |
getLastModifiedBy()
Who last updated this entry
|
String |
getLastModifiedDate()
Last date this was updated
|
String |
getPlatform()
The platform type.
|
Integer |
getVersion()
Version of channel
|
int |
hashCode() |
Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
Boolean |
isHasCredential()
Indicates whether the channel is configured with FCM or GCM credentials.
|
Boolean |
isIsArchived()
Is this channel archived
|
void |
setApplicationId(String applicationId)
The ID of the application to which the channel applies.
|
void |
setCreationDate(String creationDate)
When was this segment created
|
void |
setCredential(String credential)
The GCM API key from Google.
|
void |
setEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
void |
setHasCredential(Boolean hasCredential)
Indicates whether the channel is configured with FCM or GCM credentials.
|
void |
setId(String id)
Channel ID.
|
void |
setIsArchived(Boolean isArchived)
Is this channel archived
|
void |
setLastModifiedBy(String lastModifiedBy)
Who last updated this entry
|
void |
setLastModifiedDate(String lastModifiedDate)
Last date this was updated
|
void |
setPlatform(String platform)
The platform type.
|
void |
setVersion(Integer version)
Version of channel
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GCMChannelResponse |
withApplicationId(String applicationId)
The ID of the application to which the channel applies.
|
GCMChannelResponse |
withCreationDate(String creationDate)
When was this segment created
|
GCMChannelResponse |
withCredential(String credential)
The GCM API key from Google.
|
GCMChannelResponse |
withEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
GCMChannelResponse |
withHasCredential(Boolean hasCredential)
Indicates whether the channel is configured with FCM or GCM credentials.
|
GCMChannelResponse |
withId(String id)
Channel ID.
|
GCMChannelResponse |
withIsArchived(Boolean isArchived)
Is this channel archived
|
GCMChannelResponse |
withLastModifiedBy(String lastModifiedBy)
Who last updated this entry
|
GCMChannelResponse |
withLastModifiedDate(String lastModifiedDate)
Last date this was updated
|
GCMChannelResponse |
withPlatform(String platform)
The platform type.
|
GCMChannelResponse |
withVersion(Integer version)
Version of channel
|
public String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - The ID of the application to which the channel
applies.public GCMChannelResponse withApplicationId(String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId - The ID of the application to which the channel
applies.public String getCreationDate()
public void setCreationDate(String creationDate)
creationDate - When was this segment createdpublic GCMChannelResponse withCreationDate(String creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate - When was this segment createdpublic String getCredential()
public void setCredential(String credential)
credential - The GCM API key from Google.public GCMChannelResponse withCredential(String credential)
Returns a reference to this object so that method calls can be chained together.
credential - The GCM API key from Google.public Boolean isEnabled()
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
enabled - If the channel is enabled for sending messages.public GCMChannelResponse withEnabled(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 Boolean isHasCredential()
public Boolean getHasCredential()
public void setHasCredential(Boolean hasCredential)
hasCredential - Indicates whether the channel is configured with FCM
or GCM credentials. Amazon Pinpoint uses your credentials to
authenticate push notifications with FCM or GCM. Provide your
credentials by setting the ApiKey attribute.public GCMChannelResponse withHasCredential(Boolean hasCredential)
Returns a reference to this object so that method calls can be chained together.
hasCredential - Indicates whether the channel is configured with FCM
or GCM credentials. Amazon Pinpoint uses your credentials to
authenticate push notifications with FCM or GCM. Provide your
credentials by setting the ApiKey attribute.public String getId()
public void setId(String id)
id - Channel ID. Not used. Present only for backwards compatibility.public GCMChannelResponse withId(String id)
Returns a reference to this object so that method calls can be chained together.
id - Channel ID. Not used. Present only for backwards compatibility.public Boolean isIsArchived()
public Boolean getIsArchived()
public void setIsArchived(Boolean isArchived)
isArchived - Is this channel archivedpublic GCMChannelResponse withIsArchived(Boolean isArchived)
Returns a reference to this object so that method calls can be chained together.
isArchived - Is this channel archivedpublic String getLastModifiedBy()
public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy - Who last updated this entrypublic GCMChannelResponse withLastModifiedBy(String lastModifiedBy)
Returns a reference to this object so that method calls can be chained together.
lastModifiedBy - Who last updated this entrypublic String getLastModifiedDate()
public void setLastModifiedDate(String lastModifiedDate)
lastModifiedDate - Last date this was updatedpublic GCMChannelResponse withLastModifiedDate(String lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - Last date this was updatedpublic String getPlatform()
public void setPlatform(String platform)
platform - The platform type. Will be GCMpublic GCMChannelResponse withPlatform(String platform)
Returns a reference to this object so that method calls can be chained together.
platform - The platform type. Will be GCMpublic Integer getVersion()
public void setVersion(Integer version)
version - Version of channelpublic GCMChannelResponse withVersion(Integer version)
Returns a reference to this object so that method calls can be chained together.
version - Version of channelpublic String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.