public void setHasTokenKey(Boolean hasTokenKey) {
        this.hasTokenKey = hasTokenKey;
    }
<p>
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.
</p>

@param 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.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/APNSChannelResponse.java