public class APNSVoipChannelResponse
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
APNSVoipChannelResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationId()
Application id
|
java.lang.String |
getCreationDate()
When was this segment created
|
java.lang.String |
getDefaultAuthenticationMethod()
The default authentication method used for APNs.
|
java.lang.Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
java.lang.Boolean |
getHasCredential()
Not used.
|
java.lang.Boolean |
getHasTokenKey()
If the channel is registered with a token key for authentication.
|
java.lang.String |
getId()
Channel ID.
|
java.lang.Boolean |
getIsArchived()
Is this channel archived
|
java.lang.String |
getLastModifiedBy()
Who made the last change
|
java.lang.String |
getLastModifiedDate()
Last date this was updated
|
java.lang.String |
getPlatform()
The platform type.
|
java.lang.Integer |
getVersion()
Version of channel
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
java.lang.Boolean |
isHasCredential()
Not used.
|
java.lang.Boolean |
isHasTokenKey()
If the channel is registered with a token key for authentication.
|
java.lang.Boolean |
isIsArchived()
Is this channel archived
|
void |
setApplicationId(java.lang.String applicationId)
Application id
|
void |
setCreationDate(java.lang.String creationDate)
When was this segment created
|
void |
setDefaultAuthenticationMethod(java.lang.String defaultAuthenticationMethod)
The default authentication method used for APNs.
|
void |
setEnabled(java.lang.Boolean enabled)
If the channel is enabled for sending messages.
|
void |
setHasCredential(java.lang.Boolean hasCredential)
Not used.
|
void |
setHasTokenKey(java.lang.Boolean hasTokenKey)
If the channel is registered with a token key for authentication.
|
void |
setId(java.lang.String id)
Channel ID.
|
void |
setIsArchived(java.lang.Boolean isArchived)
Is this channel archived
|
void |
setLastModifiedBy(java.lang.String lastModifiedBy)
Who made the last change
|
void |
setLastModifiedDate(java.lang.String lastModifiedDate)
Last date this was updated
|
void |
setPlatform(java.lang.String platform)
The platform type.
|
void |
setVersion(java.lang.Integer version)
Version of channel
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
APNSVoipChannelResponse |
withApplicationId(java.lang.String applicationId)
Application id
|
APNSVoipChannelResponse |
withCreationDate(java.lang.String creationDate)
When was this segment created
|
APNSVoipChannelResponse |
withDefaultAuthenticationMethod(java.lang.String defaultAuthenticationMethod)
The default authentication method used for APNs.
|
APNSVoipChannelResponse |
withEnabled(java.lang.Boolean enabled)
If the channel is enabled for sending messages.
|
APNSVoipChannelResponse |
withHasCredential(java.lang.Boolean hasCredential)
Not used.
|
APNSVoipChannelResponse |
withHasTokenKey(java.lang.Boolean hasTokenKey)
If the channel is registered with a token key for authentication.
|
APNSVoipChannelResponse |
withId(java.lang.String id)
Channel ID.
|
APNSVoipChannelResponse |
withIsArchived(java.lang.Boolean isArchived)
Is this channel archived
|
APNSVoipChannelResponse |
withLastModifiedBy(java.lang.String lastModifiedBy)
Who made the last change
|
APNSVoipChannelResponse |
withLastModifiedDate(java.lang.String lastModifiedDate)
Last date this was updated
|
APNSVoipChannelResponse |
withPlatform(java.lang.String platform)
The platform type.
|
APNSVoipChannelResponse |
withVersion(java.lang.Integer version)
Version of channel
|
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String applicationId)
applicationId
- Application idpublic APNSVoipChannelResponse withApplicationId(java.lang.String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId
- Application idpublic java.lang.String getCreationDate()
public void setCreationDate(java.lang.String creationDate)
creationDate
- When was this segment createdpublic APNSVoipChannelResponse withCreationDate(java.lang.String creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate
- When was this segment createdpublic java.lang.String getDefaultAuthenticationMethod()
public void setDefaultAuthenticationMethod(java.lang.String defaultAuthenticationMethod)
defaultAuthenticationMethod
- The default authentication method used
for APNs.public APNSVoipChannelResponse withDefaultAuthenticationMethod(java.lang.String defaultAuthenticationMethod)
Returns a reference to this object so that method calls can be chained together.
defaultAuthenticationMethod
- The default authentication method used
for APNs.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 APNSVoipChannelResponse 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.Boolean isHasCredential()
public java.lang.Boolean getHasCredential()
public void setHasCredential(java.lang.Boolean hasCredential)
hasCredential
- Not used. Retained for backwards compatibility.public APNSVoipChannelResponse withHasCredential(java.lang.Boolean hasCredential)
Returns a reference to this object so that method calls can be chained together.
hasCredential
- Not used. Retained for backwards compatibility.public java.lang.Boolean isHasTokenKey()
public java.lang.Boolean getHasTokenKey()
public void setHasTokenKey(java.lang.Boolean hasTokenKey)
hasTokenKey
- If the channel is registered with a token key for
authentication.public APNSVoipChannelResponse withHasTokenKey(java.lang.Boolean hasTokenKey)
Returns a reference to this object so that method calls can be chained together.
hasTokenKey
- If the channel is registered with a token key for
authentication.public java.lang.String getId()
public void setId(java.lang.String id)
id
- Channel ID. Not used, only for backwards compatibility.public APNSVoipChannelResponse withId(java.lang.String id)
Returns a reference to this object so that method calls can be chained together.
id
- Channel ID. Not used, only for backwards compatibility.public java.lang.Boolean isIsArchived()
public java.lang.Boolean getIsArchived()
public void setIsArchived(java.lang.Boolean isArchived)
isArchived
- Is this channel archivedpublic APNSVoipChannelResponse withIsArchived(java.lang.Boolean isArchived)
Returns a reference to this object so that method calls can be chained together.
isArchived
- Is this channel archivedpublic java.lang.String getLastModifiedBy()
public void setLastModifiedBy(java.lang.String lastModifiedBy)
lastModifiedBy
- Who made the last changepublic APNSVoipChannelResponse withLastModifiedBy(java.lang.String lastModifiedBy)
Returns a reference to this object so that method calls can be chained together.
lastModifiedBy
- Who made the last changepublic java.lang.String getLastModifiedDate()
public void setLastModifiedDate(java.lang.String lastModifiedDate)
lastModifiedDate
- Last date this was updatedpublic APNSVoipChannelResponse withLastModifiedDate(java.lang.String lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- Last date this was updatedpublic java.lang.String getPlatform()
public void setPlatform(java.lang.String platform)
platform
- The platform type. Will be APNS.public APNSVoipChannelResponse withPlatform(java.lang.String platform)
Returns a reference to this object so that method calls can be chained together.
platform
- The platform type. Will be APNS.public java.lang.Integer getVersion()
public void setVersion(java.lang.Integer version)
version
- Version of channelpublic APNSVoipChannelResponse withVersion(java.lang.Integer version)
Returns a reference to this object so that method calls can be chained together.
version
- Version of channelpublic 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.