Interface APNSChannelResponse.Builder

    • Method Detail

      • applicationId

        APNSChannelResponse.Builder applicationId​(String applicationId)

        The unique identifier for the application that the APNs channel applies to.

        Parameters:
        applicationId - The unique identifier for the application that the APNs channel applies to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        APNSChannelResponse.Builder creationDate​(String creationDate)

        The date and time when the APNs channel was enabled.

        Parameters:
        creationDate - The date and time when the APNs channel was enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultAuthenticationMethod

        APNSChannelResponse.Builder defaultAuthenticationMethod​(String defaultAuthenticationMethod)

        The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.

        Parameters:
        defaultAuthenticationMethod - The default authentication method that Amazon Pinpoint uses to authenticate with APNs for this channel, key or certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabled

        APNSChannelResponse.Builder enabled​(Boolean enabled)

        Specifies whether the APNs channel is enabled for the application.

        Parameters:
        enabled - Specifies whether the APNs channel is enabled for the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hasCredential

        APNSChannelResponse.Builder hasCredential​(Boolean hasCredential)

        (Not used) This property is retained only for backward compatibility.

        Parameters:
        hasCredential - (Not used) This property is retained only for backward compatibility.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hasTokenKey

        APNSChannelResponse.Builder hasTokenKey​(Boolean hasTokenKey)

        Specifies whether the APNs 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.

        Parameters:
        hasTokenKey - Specifies whether the APNs 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        APNSChannelResponse.Builder id​(String id)

        (Deprecated) An identifier for the APNs channel. This property is retained only for backward compatibility.

        Parameters:
        id - (Deprecated) An identifier for the APNs channel. This property is retained only for backward compatibility.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isArchived

        APNSChannelResponse.Builder isArchived​(Boolean isArchived)

        Specifies whether the APNs channel is archived.

        Parameters:
        isArchived - Specifies whether the APNs channel is archived.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedBy

        APNSChannelResponse.Builder lastModifiedBy​(String lastModifiedBy)

        The user who last modified the APNs channel.

        Parameters:
        lastModifiedBy - The user who last modified the APNs channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedDate

        APNSChannelResponse.Builder lastModifiedDate​(String lastModifiedDate)

        The date and time when the APNs channel was last modified.

        Parameters:
        lastModifiedDate - The date and time when the APNs channel was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • platform

        APNSChannelResponse.Builder platform​(String platform)

        The type of messaging or notification platform for the channel. For the APNs channel, this value is APNS.

        Parameters:
        platform -

        The type of messaging or notification platform for the channel. For the APNs channel, this value is APNS.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        APNSChannelResponse.Builder version​(Integer version)

        The current version of the APNs channel.

        Parameters:
        version - The current version of the APNs channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.