public Session withCreatedOn(java.util.Date createdOn) {
        setCreatedOn(createdOn);
        return this;
    }
<p>
The time and date when the session was created.
</p>

@param createdOn
       The time and date when the session was created.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/Session.java