public AssessmentFrameworkShareRequest withExpirationTime(java.util.Date expirationTime) {
        setExpirationTime(expirationTime);
        return this;
    }
<p>
The time when the share request expires.
</p>

@param expirationTime
       The time when the share request expires.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-auditmanager/src/main/java/com/amazonaws/services/auditmanager/model/AssessmentFrameworkShareRequest.java