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