public JourneySMSMessage withEntityId(String entityId) {
        setEntityId(entityId);
        return this;
    }
<p>
The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.
</p>

@param entityId
       The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your
       country.
@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/JourneySMSMessage.java