@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class APNSChannelResponse extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
APNSChannelResponse() |
Modifier and Type | Method and Description |
---|---|
APNSChannelResponse |
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 |
getDefaultAuthenticationMethod()
The default authentication method used for APNs.
|
Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
Boolean |
getHasCredential()
If the channel is registered with a credential for authentication.
|
Boolean |
getHasTokenKey()
If the channel is registered with a token key 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.
|
Boolean |
isHasTokenKey()
If the channel is registered with a token key 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 |
setDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method used for APNs.
|
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 |
setHasTokenKey(Boolean hasTokenKey)
If the channel is registered with a token key 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.
|
APNSChannelResponse |
withApplicationId(String applicationId)
The ID of the application to which the channel applies.
|
APNSChannelResponse |
withCreationDate(String creationDate)
When was this segment created
|
APNSChannelResponse |
withDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method used for APNs.
|
APNSChannelResponse |
withEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
APNSChannelResponse |
withHasCredential(Boolean hasCredential)
If the channel is registered with a credential for authentication.
|
APNSChannelResponse |
withHasTokenKey(Boolean hasTokenKey)
If the channel is registered with a token key for authentication.
|
APNSChannelResponse |
withId(String id)
Channel ID.
|
APNSChannelResponse |
withIsArchived(Boolean isArchived)
Is this channel archived
|
APNSChannelResponse |
withLastModifiedBy(String lastModifiedBy)
Who last updated this entry
|
APNSChannelResponse |
withLastModifiedDate(String lastModifiedDate)
Last date this was updated
|
APNSChannelResponse |
withPlatform(String platform)
The platform type.
|
APNSChannelResponse |
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 APNSChannelResponse 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 APNSChannelResponse withCreationDate(String creationDate)
creationDate
- When was this segment createdpublic void setDefaultAuthenticationMethod(String defaultAuthenticationMethod)
defaultAuthenticationMethod
- The default authentication method used for APNs.public String getDefaultAuthenticationMethod()
public APNSChannelResponse withDefaultAuthenticationMethod(String defaultAuthenticationMethod)
defaultAuthenticationMethod
- The default authentication method used for APNs.public void setEnabled(Boolean enabled)
enabled
- If the channel is enabled for sending messages.public Boolean getEnabled()
public APNSChannelResponse 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 APNSChannelResponse withHasCredential(Boolean hasCredential)
hasCredential
- If the channel is registered with a credential for authentication.public Boolean isHasCredential()
public void setHasTokenKey(Boolean hasTokenKey)
hasTokenKey
- If the channel is registered with a token key for authentication.public Boolean getHasTokenKey()
public APNSChannelResponse withHasTokenKey(Boolean hasTokenKey)
hasTokenKey
- If the channel is registered with a token key for authentication.public Boolean isHasTokenKey()
public void setId(String id)
id
- Channel ID. Not used. Present only for backwards compatibility.public String getId()
public APNSChannelResponse 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 APNSChannelResponse withIsArchived(Boolean isArchived)
isArchived
- Is this channel archivedpublic Boolean isArchived()
public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- Who last updated this entrypublic String getLastModifiedBy()
public APNSChannelResponse withLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- Who last updated this entrypublic void setLastModifiedDate(String lastModifiedDate)
lastModifiedDate
- Last date this was updatedpublic String getLastModifiedDate()
public APNSChannelResponse withLastModifiedDate(String lastModifiedDate)
lastModifiedDate
- Last date this was updatedpublic void setPlatform(String platform)
platform
- The platform type. Will be APNS.public String getPlatform()
public APNSChannelResponse withPlatform(String platform)
platform
- The platform type. Will be APNS.public void setVersion(Integer version)
version
- Version of channelpublic Integer getVersion()
public APNSChannelResponse withVersion(Integer version)
version
- Version of channelpublic String toString()
toString
in class Object
Object.toString()
public APNSChannelResponse 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.