@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class APNSVoipChannelResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the status and settings of the APNs (Apple Push Notification service) VoIP channel for an application.
Constructor and Description |
---|
APNSVoipChannelResponse() |
Modifier and Type | Method and Description |
---|---|
APNSVoipChannelResponse |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique identifier for the application that the APNs VoIP channel applies to.
|
String |
getCreationDate()
The date and time when the APNs VoIP channel was enabled.
|
String |
getDefaultAuthenticationMethod()
The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or
certificate.
|
Boolean |
getEnabled()
Specifies whether the APNs VoIP channel is enabled for the application.
|
Boolean |
getHasCredential()
(Not used) This property is retained only for backward compatibility.
|
Boolean |
getHasTokenKey()
Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens.
|
String |
getId()
(Deprecated) An identifier for the APNs VoIP channel.
|
Boolean |
getIsArchived()
Specifies whether the APNs VoIP channel is archived.
|
String |
getLastModifiedBy()
The user who last modified the APNs VoIP channel.
|
String |
getLastModifiedDate()
The date and time when the APNs VoIP channel was last modified.
|
String |
getPlatform()
The type of messaging or notification platform for the channel.
|
Integer |
getVersion()
The current version of the APNs VoIP channel.
|
int |
hashCode() |
Boolean |
isArchived()
Specifies whether the APNs VoIP channel is archived.
|
Boolean |
isEnabled()
Specifies whether the APNs VoIP channel is enabled for the application.
|
Boolean |
isHasCredential()
(Not used) This property is retained only for backward compatibility.
|
Boolean |
isHasTokenKey()
Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The unique identifier for the application that the APNs VoIP channel applies to.
|
void |
setCreationDate(String creationDate)
The date and time when the APNs VoIP channel was enabled.
|
void |
setDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or
certificate.
|
void |
setEnabled(Boolean enabled)
Specifies whether the APNs VoIP channel is enabled for the application.
|
void |
setHasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
|
void |
setHasTokenKey(Boolean hasTokenKey)
Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens.
|
void |
setId(String id)
(Deprecated) An identifier for the APNs VoIP channel.
|
void |
setIsArchived(Boolean isArchived)
Specifies whether the APNs VoIP channel is archived.
|
void |
setLastModifiedBy(String lastModifiedBy)
The user who last modified the APNs VoIP channel.
|
void |
setLastModifiedDate(String lastModifiedDate)
The date and time when the APNs VoIP channel was last modified.
|
void |
setPlatform(String platform)
The type of messaging or notification platform for the channel.
|
void |
setVersion(Integer version)
The current version of the APNs VoIP channel.
|
String |
toString()
Returns a string representation of this object.
|
APNSVoipChannelResponse |
withApplicationId(String applicationId)
The unique identifier for the application that the APNs VoIP channel applies to.
|
APNSVoipChannelResponse |
withCreationDate(String creationDate)
The date and time when the APNs VoIP channel was enabled.
|
APNSVoipChannelResponse |
withDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or
certificate.
|
APNSVoipChannelResponse |
withEnabled(Boolean enabled)
Specifies whether the APNs VoIP channel is enabled for the application.
|
APNSVoipChannelResponse |
withHasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
|
APNSVoipChannelResponse |
withHasTokenKey(Boolean hasTokenKey)
Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens.
|
APNSVoipChannelResponse |
withId(String id)
(Deprecated) An identifier for the APNs VoIP channel.
|
APNSVoipChannelResponse |
withIsArchived(Boolean isArchived)
Specifies whether the APNs VoIP channel is archived.
|
APNSVoipChannelResponse |
withLastModifiedBy(String lastModifiedBy)
The user who last modified the APNs VoIP channel.
|
APNSVoipChannelResponse |
withLastModifiedDate(String lastModifiedDate)
The date and time when the APNs VoIP channel was last modified.
|
APNSVoipChannelResponse |
withPlatform(String platform)
The type of messaging or notification platform for the channel.
|
APNSVoipChannelResponse |
withVersion(Integer version)
The current version of the APNs VoIP channel.
|
public void setApplicationId(String applicationId)
The unique identifier for the application that the APNs VoIP channel applies to.
applicationId
- The unique identifier for the application that the APNs VoIP channel applies to.public String getApplicationId()
The unique identifier for the application that the APNs VoIP channel applies to.
public APNSVoipChannelResponse withApplicationId(String applicationId)
The unique identifier for the application that the APNs VoIP channel applies to.
applicationId
- The unique identifier for the application that the APNs VoIP channel applies to.public void setCreationDate(String creationDate)
The date and time when the APNs VoIP channel was enabled.
creationDate
- The date and time when the APNs VoIP channel was enabled.public String getCreationDate()
The date and time when the APNs VoIP channel was enabled.
public APNSVoipChannelResponse withCreationDate(String creationDate)
The date and time when the APNs VoIP channel was enabled.
creationDate
- The date and time when the APNs VoIP channel was enabled.public void setDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.
defaultAuthenticationMethod
- The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel,
key or certificate.public String getDefaultAuthenticationMethod()
The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.
public APNSVoipChannelResponse withDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.
defaultAuthenticationMethod
- The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel,
key or certificate.public void setEnabled(Boolean enabled)
Specifies whether the APNs VoIP channel is enabled for the application.
enabled
- Specifies whether the APNs VoIP channel is enabled for the application.public Boolean getEnabled()
Specifies whether the APNs VoIP channel is enabled for the application.
public APNSVoipChannelResponse withEnabled(Boolean enabled)
Specifies whether the APNs VoIP channel is enabled for the application.
enabled
- Specifies whether the APNs VoIP channel is enabled for the application.public Boolean isEnabled()
Specifies whether the APNs VoIP channel is enabled for the application.
public void setHasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
hasCredential
- (Not used) This property is retained only for backward compatibility.public Boolean getHasCredential()
(Not used) This property is retained only for backward compatibility.
public APNSVoipChannelResponse withHasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
hasCredential
- (Not used) This property is retained only for backward compatibility.public Boolean isHasCredential()
(Not used) This property is retained only for backward compatibility.
public void setHasTokenKey(Boolean hasTokenKey)
Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
hasTokenKey
- Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens. To
provide an authentication key for APNs tokens, set the TokenKey property of the channel.public Boolean getHasTokenKey()
Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
public APNSVoipChannelResponse withHasTokenKey(Boolean hasTokenKey)
Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
hasTokenKey
- Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens. To
provide an authentication key for APNs tokens, set the TokenKey property of the channel.public Boolean isHasTokenKey()
Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.
public void setId(String id)
(Deprecated) An identifier for the APNs VoIP channel. This property is retained only for backward compatibility.
id
- (Deprecated) An identifier for the APNs VoIP channel. This property is retained only for backward
compatibility.public String getId()
(Deprecated) An identifier for the APNs VoIP channel. This property is retained only for backward compatibility.
public APNSVoipChannelResponse withId(String id)
(Deprecated) An identifier for the APNs VoIP channel. This property is retained only for backward compatibility.
id
- (Deprecated) An identifier for the APNs VoIP channel. This property is retained only for backward
compatibility.public void setIsArchived(Boolean isArchived)
Specifies whether the APNs VoIP channel is archived.
isArchived
- Specifies whether the APNs VoIP channel is archived.public Boolean getIsArchived()
Specifies whether the APNs VoIP channel is archived.
public APNSVoipChannelResponse withIsArchived(Boolean isArchived)
Specifies whether the APNs VoIP channel is archived.
isArchived
- Specifies whether the APNs VoIP channel is archived.public Boolean isArchived()
Specifies whether the APNs VoIP channel is archived.
public void setLastModifiedBy(String lastModifiedBy)
The user who last modified the APNs VoIP channel.
lastModifiedBy
- The user who last modified the APNs VoIP channel.public String getLastModifiedBy()
The user who last modified the APNs VoIP channel.
public APNSVoipChannelResponse withLastModifiedBy(String lastModifiedBy)
The user who last modified the APNs VoIP channel.
lastModifiedBy
- The user who last modified the APNs VoIP channel.public void setLastModifiedDate(String lastModifiedDate)
The date and time when the APNs VoIP channel was last modified.
lastModifiedDate
- The date and time when the APNs VoIP channel was last modified.public String getLastModifiedDate()
The date and time when the APNs VoIP channel was last modified.
public APNSVoipChannelResponse withLastModifiedDate(String lastModifiedDate)
The date and time when the APNs VoIP channel was last modified.
lastModifiedDate
- The date and time when the APNs VoIP channel was last modified.public void setPlatform(String platform)
The type of messaging or notification platform for the channel. For the APNs VoIP channel, this value is APNS_VOIP.
platform
- The type of messaging or notification platform for the channel. For the APNs VoIP channel, this value is
APNS_VOIP.public String getPlatform()
The type of messaging or notification platform for the channel. For the APNs VoIP channel, this value is APNS_VOIP.
public APNSVoipChannelResponse withPlatform(String platform)
The type of messaging or notification platform for the channel. For the APNs VoIP channel, this value is APNS_VOIP.
platform
- The type of messaging or notification platform for the channel. For the APNs VoIP channel, this value is
APNS_VOIP.public void setVersion(Integer version)
The current version of the APNs VoIP channel.
version
- The current version of the APNs VoIP channel.public Integer getVersion()
The current version of the APNs VoIP channel.
public APNSVoipChannelResponse withVersion(Integer version)
The current version of the APNs VoIP channel.
version
- The current version of the APNs VoIP channel.public String toString()
toString
in class Object
Object.toString()
public APNSVoipChannelResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.