public Certificate withSubject(String subject) {
        setSubject(subject);
        return this;
    }
<p>
The entity the certificate belongs to.
</p>

@param subject
       The entity the certificate belongs to.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspacesweb/src/main/java/com/amazonaws/services/workspacesweb/model/Certificate.java