public GCMMessage withRestrictedPackageName(String restrictedPackageName) {
        setRestrictedPackageName(restrictedPackageName);
        return this;
    }
<p>
The package name of the application where registration tokens must match in order for the recipient to receive
the message.
</p>

@param restrictedPackageName
       The package name of the application where registration tokens must match in order for the recipient to
       receive the message.
@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/GCMMessage.java