public GetSessionActionResult withDefinition(SessionActionDefinition definition) {
        setDefinition(definition);
        return this;
    }
<p>
The session action definition.
</p>

@param definition
       The session action definition.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/GetSessionActionResult.java