@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class APNSSandboxChannelResponse extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
APNSSandboxChannelResponse() |
Modifier and Type | Method and Description |
---|---|
APNSSandboxChannelResponse |
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()
Indicates whether the channel is configured with APNs credentials.
|
Boolean |
getHasTokenKey()
Indicates whether the channel is configured with a key for APNs token 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()
Indicates whether the channel is configured with APNs credentials.
|
Boolean |
isHasTokenKey()
Indicates whether the channel is configured with a key for APNs token authentication.
|
void |
marshall(ProtocolMarshaller 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)
Indicates whether the channel is configured with APNs credentials.
|
void |
setHasTokenKey(Boolean hasTokenKey)
Indicates whether the channel is configured with a key for APNs token 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.
|
APNSSandboxChannelResponse |
withApplicationId(String applicationId)
The ID of the application to which the channel applies.
|
APNSSandboxChannelResponse |
withCreationDate(String creationDate)
When was this segment created
|
APNSSandboxChannelResponse |
withDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method used for APNs.
|
APNSSandboxChannelResponse |
withEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
APNSSandboxChannelResponse |
withHasCredential(Boolean hasCredential)
Indicates whether the channel is configured with APNs credentials.
|
APNSSandboxChannelResponse |
withHasTokenKey(Boolean hasTokenKey)
Indicates whether the channel is configured with a key for APNs token authentication.
|
APNSSandboxChannelResponse |
withId(String id)
Channel ID.
|
APNSSandboxChannelResponse |
withIsArchived(Boolean isArchived)
Is this channel archived
|
APNSSandboxChannelResponse |
withLastModifiedBy(String lastModifiedBy)
Who last updated this entry
|
APNSSandboxChannelResponse |
withLastModifiedDate(String lastModifiedDate)
Last date this was updated
|
APNSSandboxChannelResponse |
withPlatform(String platform)
The platform type.
|
APNSSandboxChannelResponse |
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 APNSSandboxChannelResponse 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 APNSSandboxChannelResponse 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 APNSSandboxChannelResponse 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 APNSSandboxChannelResponse withEnabled(Boolean enabled)
enabled
- If the channel is enabled for sending messages.public Boolean isEnabled()
public void setHasCredential(Boolean hasCredential)
hasCredential
- Indicates whether the channel is configured with APNs credentials. Amazon Pinpoint uses your credentials
to authenticate push notifications with APNs. To use APNs token authentication, set the BundleId, TeamId,
TokenKey, and TokenKeyId attributes. To use certificate authentication, set the Certificate and PrivateKey
attributes.public Boolean getHasCredential()
public APNSSandboxChannelResponse withHasCredential(Boolean hasCredential)
hasCredential
- Indicates whether the channel is configured with APNs credentials. Amazon Pinpoint uses your credentials
to authenticate push notifications with APNs. To use APNs token authentication, set the BundleId, TeamId,
TokenKey, and TokenKeyId attributes. To use certificate authentication, set the Certificate and PrivateKey
attributes.public Boolean isHasCredential()
public void setHasTokenKey(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 Boolean getHasTokenKey()
public APNSSandboxChannelResponse withHasTokenKey(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 Boolean isHasTokenKey()
public void setId(String id)
id
- Channel ID. Not used, only for backwards compatibility.public String getId()
public APNSSandboxChannelResponse withId(String id)
id
- Channel ID. Not used, only for backwards compatibility.public void setIsArchived(Boolean isArchived)
isArchived
- Is this channel archivedpublic Boolean getIsArchived()
public APNSSandboxChannelResponse withIsArchived(Boolean isArchived)
isArchived
- Is this channel archivedpublic Boolean isArchived()
public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- Who last updated this entrypublic String getLastModifiedBy()
public APNSSandboxChannelResponse withLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- Who last updated this entrypublic void setLastModifiedDate(String lastModifiedDate)
lastModifiedDate
- Last date this was updatedpublic String getLastModifiedDate()
public APNSSandboxChannelResponse withLastModifiedDate(String lastModifiedDate)
lastModifiedDate
- Last date this was updatedpublic void setPlatform(String platform)
platform
- The platform type. Will be APNS_SANDBOX.public String getPlatform()
public APNSSandboxChannelResponse withPlatform(String platform)
platform
- The platform type. Will be APNS_SANDBOX.public void setVersion(Integer version)
version
- Version of channelpublic Integer getVersion()
public APNSSandboxChannelResponse withVersion(Integer version)
version
- Version of channelpublic String toString()
toString
in class Object
Object.toString()
public APNSSandboxChannelResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.