public APNSChannelResponse withHasTokenKey(Boolean hasTokenKey) {
        setHasTokenKey(hasTokenKey);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/APNSChannelResponse.java