Class APNSChannelRequest

    • Method Detail

      • bundleId

        public final String bundleId()

        The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.

        Returns:
        The bundle identifier that's assigned to your iOS app. This identifier is used for APNs tokens.
      • certificate

        public final 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.

        Returns:
        The APNs client certificate that you received from Apple, if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.
      • defaultAuthenticationMethod

        public final String defaultAuthenticationMethod()

        The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or certificate.

        Returns:
        The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs, key or certificate.
      • enabled

        public final Boolean enabled()

        Specifies whether to enable the APNs channel for the application.

        Returns:
        Specifies whether to enable the APNs channel for the application.
      • privateKey

        public final String privateKey()

        The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.

        Returns:
        The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
      • teamId

        public final String teamId()

        The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.

        Returns:
        The identifier that's assigned to your Apple developer account team. This identifier is used for APNs tokens.
      • tokenKey

        public final String tokenKey()

        The authentication key to use for APNs tokens.

        Returns:
        The authentication key to use for APNs tokens.
      • tokenKeyId

        public final 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.

        Returns:
        The key identifier that's assigned to your APNs signing key, if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)