public PublishBatchRequestEntry withSubject(String subject) {
        setSubject(subject);
        return this;
    }
<p>
The subject of the batch message.
</p>

@param subject
       The subject of the batch message.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/model/PublishBatchRequestEntry.java