public DeleteChannelMessageRequest withSubChannelId(String subChannelId) {
        setSubChannelId(subChannelId);
        return this;
    }
<p>
The ID of the SubChannel in the request.
</p>
<note>
<p>
Only required when deleting messages in a SubChannel that the user belongs to.
</p>
</note>

@param subChannelId
       The ID of the SubChannel in the request.</p> <note>
       <p>
       Only required when deleting messages in a SubChannel that the user belongs to.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chimesdkmessaging/src/main/java/com/amazonaws/services/chimesdkmessaging/model/DeleteChannelMessageRequest.java