@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GCMChannelResponse extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
GCMChannelResponse() |
Modifier and Type | Method and Description |
---|---|
GCMChannelResponse |
clone() |
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()
If the channel is registered with a credential for authentication.
|
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 |
isArchived()
Is this channel archived
|
Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
Boolean |
isHasCredential()
If the channel is registered with a credential for authentication.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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)
If the channel is registered with a credential for authentication.
|
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)
If the channel is registered with a credential for authentication.
|
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 void setApplicationId(String applicationId)
applicationId
- The ID of the application to which the channel applies.public String getApplicationId()
public GCMChannelResponse withApplicationId(String applicationId)
applicationId
- The ID of the application to which the channel applies.public void setCreationDate(String creationDate)
creationDate
- When was this segment createdpublic String getCreationDate()
public GCMChannelResponse withCreationDate(String creationDate)
creationDate
- When was this segment createdpublic void setCredential(String credential)
credential
- The GCM API key from Google.public String getCredential()
public GCMChannelResponse withCredential(String credential)
credential
- The GCM API key from Google.public void setEnabled(Boolean enabled)
enabled
- If the channel is enabled for sending messages.public Boolean getEnabled()
public GCMChannelResponse withEnabled(Boolean enabled)
enabled
- If the channel is enabled for sending messages.public Boolean isEnabled()
public void setHasCredential(Boolean hasCredential)
hasCredential
- If the channel is registered with a credential for authentication.public Boolean getHasCredential()
public GCMChannelResponse withHasCredential(Boolean hasCredential)
hasCredential
- If the channel is registered with a credential for authentication.public Boolean isHasCredential()
public void setId(String id)
id
- Channel ID. Not used. Present only for backwards compatibility.public String getId()
public GCMChannelResponse withId(String id)
id
- Channel ID. Not used. Present only for backwards compatibility.public void setIsArchived(Boolean isArchived)
isArchived
- Is this channel archivedpublic Boolean getIsArchived()
public GCMChannelResponse withIsArchived(Boolean isArchived)
isArchived
- Is this channel archivedpublic Boolean isArchived()
public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- Who last updated this entrypublic String getLastModifiedBy()
public GCMChannelResponse withLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- Who last updated this entrypublic void setLastModifiedDate(String lastModifiedDate)
lastModifiedDate
- Last date this was updatedpublic String getLastModifiedDate()
public GCMChannelResponse withLastModifiedDate(String lastModifiedDate)
lastModifiedDate
- Last date this was updatedpublic void setPlatform(String platform)
platform
- The platform type. Will be GCMpublic String getPlatform()
public GCMChannelResponse withPlatform(String platform)
platform
- The platform type. Will be GCMpublic void setVersion(Integer version)
version
- Version of channelpublic Integer getVersion()
public GCMChannelResponse withVersion(Integer version)
version
- Version of channelpublic String toString()
toString
in class Object
Object.toString()
public GCMChannelResponse 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.