@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class APNSChannelRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the status and settings of the APNs (Apple Push Notification service) channel for an application.
Constructor and Description |
---|
APNSChannelRequest() |
Modifier and Type | Method and Description |
---|---|
APNSChannelRequest |
clone() |
boolean |
equals(Object obj) |
String |
getBundleId()
The bundle identifier that's assigned to your iOS app.
|
String |
getCertificate()
The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by
using an APNs certificate.
|
String |
getDefaultAuthenticationMethod()
The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or
certificate.
|
Boolean |
getEnabled()
Specifies whether to enable the APNs channel for the application.
|
String |
getPrivateKey()
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
|
String |
getTeamId()
The identifier that's assigned to your Apple developer account team.
|
String |
getTokenKey()
The authentication key to use for APNs tokens.
|
String |
getTokenKeyId()
The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs
by using APNs tokens.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether to enable the APNs channel for the application.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBundleId(String bundleId)
The bundle identifier that's assigned to your iOS app.
|
void |
setCertificate(String certificate)
The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by
using an APNs certificate.
|
void |
setDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or
certificate.
|
void |
setEnabled(Boolean enabled)
Specifies whether to enable the APNs channel for the application.
|
void |
setPrivateKey(String privateKey)
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
|
void |
setTeamId(String teamId)
The identifier that's assigned to your Apple developer account team.
|
void |
setTokenKey(String tokenKey)
The authentication key to use for APNs tokens.
|
void |
setTokenKeyId(String tokenKeyId)
The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs
by using APNs tokens.
|
String |
toString()
Returns a string representation of this object.
|
APNSChannelRequest |
withBundleId(String bundleId)
The bundle identifier that's assigned to your iOS app.
|
APNSChannelRequest |
withCertificate(String certificate)
The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by
using an APNs certificate.
|
APNSChannelRequest |
withDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or
certificate.
|
APNSChannelRequest |
withEnabled(Boolean enabled)
Specifies whether to enable the APNs channel for the application.
|
APNSChannelRequest |
withPrivateKey(String privateKey)
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
|
APNSChannelRequest |
withTeamId(String teamId)
The identifier that's assigned to your Apple developer account team.
|
APNSChannelRequest |
withTokenKey(String tokenKey)
The authentication key to use for APNs tokens.
|
APNSChannelRequest |
withTokenKeyId(String tokenKeyId)
The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs
by using APNs tokens.
|
public void setBundleId(String bundleId)
The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
bundleId
- The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.public String getBundleId()
The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
public APNSChannelRequest withBundleId(String bundleId)
The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
bundleId
- The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.public void setCertificate(String certificate)
The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.
certificate
- The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with
APNs by using an APNs certificate.public String getCertificate()
The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.
public APNSChannelRequest withCertificate(String certificate)
The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.
certificate
- The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with
APNs by using an APNs certificate.public void setDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or certificate.
defaultAuthenticationMethod
- The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key
or certificate.public String getDefaultAuthenticationMethod()
The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or certificate.
public APNSChannelRequest withDefaultAuthenticationMethod(String defaultAuthenticationMethod)
The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or certificate.
defaultAuthenticationMethod
- The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key
or certificate.public void setEnabled(Boolean enabled)
Specifies whether to enable the APNs channel for the application.
enabled
- Specifies whether to enable the APNs channel for the application.public Boolean getEnabled()
Specifies whether to enable the APNs channel for the application.
public APNSChannelRequest withEnabled(Boolean enabled)
Specifies whether to enable the APNs channel for the application.
enabled
- Specifies whether to enable the APNs channel for the application.public Boolean isEnabled()
Specifies whether to enable the APNs channel for the application.
public void setPrivateKey(String privateKey)
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
privateKey
- The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with
APNs.public String getPrivateKey()
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
public APNSChannelRequest withPrivateKey(String privateKey)
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
privateKey
- The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with
APNs.public void setTeamId(String teamId)
The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.
teamId
- The identifier that's assigned to your Apple developer account team. This identifier is used for APNs
tokens.public String getTeamId()
The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.
public APNSChannelRequest withTeamId(String teamId)
The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.
teamId
- The identifier that's assigned to your Apple developer account team. This identifier is used for APNs
tokens.public void setTokenKey(String tokenKey)
The authentication key to use for APNs tokens.
tokenKey
- The authentication key to use for APNs tokens.public String getTokenKey()
The authentication key to use for APNs tokens.
public APNSChannelRequest withTokenKey(String tokenKey)
The authentication key to use for APNs tokens.
tokenKey
- The authentication key to use for APNs tokens.public void setTokenKeyId(String tokenKeyId)
The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.
tokenKeyId
- The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate
with APNs by using APNs tokens.public String getTokenKeyId()
The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.
public APNSChannelRequest withTokenKeyId(String tokenKeyId)
The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.
tokenKeyId
- The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate
with APNs by using APNs tokens.public String toString()
toString
in class Object
Object.toString()
public APNSChannelRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.