public GetSubjectResult withSubject(SubjectDetail subject) {
        setSubject(subject);
        return this;
    }
<p>
The state of the subject after a read or write operation.
</p>

@param subject
       The state of the subject after a read or write operation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/GetSubjectResult.java