public class APNSChannelResponse
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
APNSChannelResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationId()
The ID of the application that the channel applies to.
|
java.lang.String |
getCreationDate()
The date and time when this channel was 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()
Indicates whether the channel is configured with a key for APNs token
authentication.
|
java.lang.String |
getId()
(Deprecated) An identifier for the channel.
|
java.lang.Boolean |
getIsArchived()
Indicates whether or not the channel is archived.
|
java.lang.String |
getLastModifiedBy()
The user who last updated this channel.
|
java.lang.String |
getLastModifiedDate()
The date and time when this channel was last modified.
|
java.lang.String |
getPlatform()
The platform type.
|
java.lang.Integer |
getVersion()
The channel version.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
java.lang.Boolean |
isHasCredential()
Not used.
|
java.lang.Boolean |
isHasTokenKey()
Indicates whether the channel is configured with a key for APNs token
authentication.
|
java.lang.Boolean |
isIsArchived()
Indicates whether or not the channel is archived.
|
void |
setApplicationId(java.lang.String applicationId)
The ID of the application that the channel applies to.
|
void |
setCreationDate(java.lang.String creationDate)
The date and time when this channel was 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)
Indicates whether the channel is configured with a key for APNs token
authentication.
|
void |
setId(java.lang.String id)
(Deprecated) An identifier for the channel.
|
void |
setIsArchived(java.lang.Boolean isArchived)
Indicates whether or not the channel is archived.
|
void |
setLastModifiedBy(java.lang.String lastModifiedBy)
The user who last updated this channel.
|
void |
setLastModifiedDate(java.lang.String lastModifiedDate)
The date and time when this channel was last modified.
|
void |
setPlatform(java.lang.String platform)
The platform type.
|
void |
setVersion(java.lang.Integer version)
The channel version.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
APNSChannelResponse |
withApplicationId(java.lang.String applicationId)
The ID of the application that the channel applies to.
|
APNSChannelResponse |
withCreationDate(java.lang.String creationDate)
The date and time when this channel was created.
|
APNSChannelResponse |
withDefaultAuthenticationMethod(java.lang.String defaultAuthenticationMethod)
The default authentication method used for APNs.
|
APNSChannelResponse |
withEnabled(java.lang.Boolean enabled)
If the channel is enabled for sending messages.
|
APNSChannelResponse |
withHasCredential(java.lang.Boolean hasCredential)
Not used.
|
APNSChannelResponse |
withHasTokenKey(java.lang.Boolean hasTokenKey)
Indicates whether the channel is configured with a key for APNs token
authentication.
|
APNSChannelResponse |
withId(java.lang.String id)
(Deprecated) An identifier for the channel.
|
APNSChannelResponse |
withIsArchived(java.lang.Boolean isArchived)
Indicates whether or not the channel is archived.
|
APNSChannelResponse |
withLastModifiedBy(java.lang.String lastModifiedBy)
The user who last updated this channel.
|
APNSChannelResponse |
withLastModifiedDate(java.lang.String lastModifiedDate)
The date and time when this channel was last modified.
|
APNSChannelResponse |
withPlatform(java.lang.String platform)
The platform type.
|
APNSChannelResponse |
withVersion(java.lang.Integer version)
The channel version.
|
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String applicationId)
applicationId
- The ID of the application that the channel applies
to.public APNSChannelResponse withApplicationId(java.lang.String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId
- The ID of the application that the channel applies
to.public java.lang.String getCreationDate()
public void setCreationDate(java.lang.String creationDate)
creationDate
- The date and time when this channel was created.public APNSChannelResponse withCreationDate(java.lang.String creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate
- The date and time when this channel was created.public java.lang.String getDefaultAuthenticationMethod()
public void setDefaultAuthenticationMethod(java.lang.String defaultAuthenticationMethod)
defaultAuthenticationMethod
- The default authentication method used
for APNs.public APNSChannelResponse 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 APNSChannelResponse 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 APNSChannelResponse 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
- Indicates whether the channel is configured with a key
for APNs token authentication. Provide a token key by setting
the TokenKey attribute.public APNSChannelResponse withHasTokenKey(java.lang.Boolean hasTokenKey)
Returns a reference to this object so that method calls can be chained together.
hasTokenKey
- Indicates whether the channel is configured with a key
for APNs token authentication. Provide a token key by setting
the TokenKey attribute.public java.lang.String getId()
public void setId(java.lang.String id)
id
- (Deprecated) An identifier for the channel. Retained for
backwards compatibility.public APNSChannelResponse withId(java.lang.String id)
Returns a reference to this object so that method calls can be chained together.
id
- (Deprecated) An identifier for the channel. Retained for
backwards compatibility.public java.lang.Boolean isIsArchived()
public java.lang.Boolean getIsArchived()
public void setIsArchived(java.lang.Boolean isArchived)
isArchived
- Indicates whether or not the channel is archived.public APNSChannelResponse withIsArchived(java.lang.Boolean isArchived)
Returns a reference to this object so that method calls can be chained together.
isArchived
- Indicates whether or not the channel is archived.public java.lang.String getLastModifiedBy()
public void setLastModifiedBy(java.lang.String lastModifiedBy)
lastModifiedBy
- The user who last updated this channel.public APNSChannelResponse withLastModifiedBy(java.lang.String lastModifiedBy)
Returns a reference to this object so that method calls can be chained together.
lastModifiedBy
- The user who last updated this channel.public java.lang.String getLastModifiedDate()
public void setLastModifiedDate(java.lang.String lastModifiedDate)
lastModifiedDate
- The date and time when this channel was last
modified.public APNSChannelResponse withLastModifiedDate(java.lang.String lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- The date and time when this channel was last
modified.public java.lang.String getPlatform()
public void setPlatform(java.lang.String platform)
platform
- The platform type. For this channel, the value is always
"ADM."public APNSChannelResponse withPlatform(java.lang.String platform)
Returns a reference to this object so that method calls can be chained together.
platform
- The platform type. For this channel, the value is always
"ADM."public java.lang.Integer getVersion()
public void setVersion(java.lang.Integer version)
version
- The channel version.public APNSChannelResponse withVersion(java.lang.Integer version)
Returns a reference to this object so that method calls can be chained together.
version
- The channel version.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.